Skip to content

Allow Receive Fn to Return Error #328

Allow Receive Fn to Return Error

Allow Receive Fn to Return Error #328

GitHub Actions / clippy succeeded Dec 20, 2024 in 1s

clippy

1 warning

Details

Results

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

Versions

  • rustc 1.83.0 (90b35a623 2024-11-26)
  • cargo 1.83.0 (5ffbef321 2024-10-29)
  • clippy 0.1.83 (90b35a6 2024-11-26)

Annotations

Check warning on line 111 in stylus-sdk/src/abi/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this block may be rewritten with the `?` operator

warning: this block may be rewritten with the `?` operator
   --> stylus-sdk/src/abi/mod.rs:109:13
    |
109 | /             if let Err(e) = res {
110 | |                 return Err(e);
111 | |             }
    | |_____________^ help: replace it with: `res?;`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#question_mark
    = note: `#[warn(clippy::question_mark)]` on by default