Skip to content

add alloc feature change to readme and changelog #517

add alloc feature change to readme and changelog

add alloc feature change to readme and changelog #517

GitHub Actions / clippy succeeded Jul 7, 2024 in 0s

clippy

2 warnings

Details

Results

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

Versions

  • rustc 1.81.0-nightly (ed7e35f34 2024-07-06)
  • cargo 1.81.0-nightly (a515d4634 2024-07-02)
  • clippy 0.1.81 (ed7e35f 2024-07-06)

Annotations

Check warning on line 927 in src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

warning: 
   --> src/lib.rs:927:41
    |
927 |         (self.1)(unsafe { &mut *slot }).map_err(|e| {
    |                                         ^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_inspect
help: try
    |
927 ~         (self.1)(unsafe { &mut *slot }).inspect_err(|e| {
928 |             // SAFETY: `slot` was initialized above.
929 ~             unsafe { core::ptr::drop_in_place(slot) };
    |

Check warning on line 829 in src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

warning: 
   --> src/lib.rs:829:23
    |
829 |         (self.1)(val).map_err(|e| {
    |                       ^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_inspect
    = note: `#[warn(clippy::manual_inspect)]` on by default
help: try
    |
829 ~         (self.1)(val).inspect_err(|e| {
830 |             // SAFETY: `slot` was initialized above.
831 ~             unsafe { core::ptr::drop_in_place(slot) };
    |