Skip to content

heartbeat: kill the TCP connection when no heartbeat from server

Sign in for the full log view
GitHub Actions / clippy succeeded Apr 25, 2024 in 0s

clippy

1 warning

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 1
Note 0
Help 0

Versions

  • rustc 1.77.2 (25ef9e3d8 2024-04-09)
  • cargo 1.77.2 (e52e36006 2024-03-26)
  • clippy 0.1.77 (25ef9e3 2024-04-09)

Annotations

Check warning on line 206 in src/buffer.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

written amount is not handled

warning: written amount is not handled
   --> src/buffer.rs:206:13
    |
206 |             space.write(data)?
    |             ^^^^^^^^^^^^^^^^^^
    |
    = help: use `Write::write_all` instead, or handle partial writes
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_io_amount
    = note: `-W clippy::unused-io-amount` implied by `-W clippy::all`
    = help: to override `-W clippy::all` add `#[allow(clippy::unused_io_amount)]`