Skip to content

mini-alloc: a very simple bump allocator #113

mini-alloc: a very simple bump allocator

mini-alloc: a very simple bump allocator #113

GitHub Actions / clippy succeeded Dec 4, 2023 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.75.0-beta.5 (1a06ac5b5 2023-12-01)
  • cargo 1.75.0-beta.5 (1d8b05cdd 2023-11-20)
  • clippy 0.1.75 (1a06ac5 2023-12-01)

Annotations

Check warning on line 189 in stylus-sdk/src/storage/map.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

use of a fallible conversion when an infallible one could be used

warning: use of a fallible conversion when an infallible one could be used
   --> stylus-sdk/src/storage/map.rs:189:32
    |
189 |         let int: U160 = self.0.try_into().unwrap();
    |                                ^^^^^^^^^^^^^^^^^^^ help: use: `into()`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_fallible_conversions
    = note: `#[warn(clippy::unnecessary_fallible_conversions)]` on by default