Merge pull request #26 from YtvwlD/gid #18
GitHub Actions / clippy
succeeded
Jan 28, 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.76.0-beta.9 (1633e2ae0 2024-01-27)
- cargo 1.76.0-beta.9 (c84b36747 2024-01-18)
- clippy 0.1.76 (1633e2a 2024-01-27)
Annotations
Check warning on line 492 in ibverbs/src/lib.rs
github-actions / clippy
this returns a `Result<_, ()>`
warning: this returns a `Result<_, ()>`
--> ibverbs/src/lib.rs:489:5
|
489 | / pub fn poll<'c>(
490 | | &self,
491 | | completions: &'c mut [ffi::ibv_wc],
492 | | ) -> Result<&'c mut [ffi::ibv_wc], ()> {
| |__________________________________________^
|
= help: use a custom `Error` type instead
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_unit_err
Check warning on line 441 in ibverbs/src/lib.rs
github-actions / clippy
this returns a `Result<_, ()>`
warning: this returns a `Result<_, ()>`
--> ibverbs/src/lib.rs:441:5
|
441 | pub fn alloc_pd(&self) -> Result<ProtectionDomain<'_>, ()> {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: use a custom `Error` type instead
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_unit_err
= note: `#[warn(clippy::result_unit_err)]` on by default
Loading