Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement transient get/set bytes32 hostios #92

Open
wants to merge 14 commits into
base: testnet-2
Choose a base branch
from

Address minor code review comments

910b386
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Open

Implement transient get/set bytes32 hostios #92

Address minor code review comments
910b386
Select commit
Loading
Failed to load commit list.
GitHub Actions / clippy succeeded Dec 14, 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.6 (4bd9c37dc 2023-12-13)
  • cargo 1.75.0-beta.6 (1d8b05cdd 2023-11-20)
  • clippy 0.1.75 (4bd9c37 2023-12-13)

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