Skip to content

Use <[T]>::split_at_checked instead of two separate get calls

Sign in for the full log view
GitHub Actions / clippy failed Jul 26, 2024 in 0s

clippy

1 error

Details

Results

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

Versions

  • rustc 1.80.0 (051478957 2024-07-21)
  • cargo 1.80.0 (376290515 2024-07-16)
  • clippy 0.1.80 (0514789 2024-07-21)

Annotations

Check failure on line 130 in src/forward_traffic.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

current MSRV (Minimum Supported Rust Version) is `1.77.0` but this item is stable since `1.80.0`

error: current MSRV (Minimum Supported Rust Version) is `1.77.0` but this item is stable since `1.80.0`
   --> src/forward_traffic.rs:130:10
    |
130 |     tail.split_at_checked(datagram_len)
    |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#incompatible_msrv
note: the lint level is defined here
   --> src/lib.rs:82:9
    |
82  | #![deny(clippy::all)]
    |         ^^^^^^^^^^^
    = note: `#[deny(clippy::incompatible_msrv)]` implied by `#[deny(clippy::all)]`