Skip to content

Remove invalid test (impossible to implement without violating safety… #216

Remove invalid test (impossible to implement without violating safety…

Remove invalid test (impossible to implement without violating safety… #216

GitHub Actions / clippy succeeded Apr 11, 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.78.0-nightly (b11fbfbf3 2024-02-03)
  • cargo 1.78.0-nightly (7bb7b5395 2024-01-20)
  • clippy 0.1.77 (b11fbfb 2024-02-03)

Annotations

Check warning on line 24 in src/util.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

function `as_bytes` is never used

warning: function `as_bytes` is never used
  --> src/util.rs:24:22
   |
24 | pub(crate) unsafe fn as_bytes<T: ?Sized>(p: &T) -> &[u8] {
   |                      ^^^^^^^^
   |
   = note: `#[warn(dead_code)]` on by default