GitHub Actions / clippy
succeeded
May 23, 2024 in 0s
clippy
3 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 3 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.78.0 (9b00956e5 2024-04-29)
- cargo 1.78.0 (54d8815d0 2024-03-26)
- clippy 0.1.78 (9b00956 2024-04-29)
Annotations
Check warning on line 640 in src/schema/document/default_document.rs
github-actions / clippy
unneeded `return` statement
warning: unneeded `return` statement
--> src/schema/document/default_document.rs:640:9
|
640 | return Some(value);
| ^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
help: remove `return`
|
640 - return Some(value);
640 + Some(value)
|
Check warning on line 606 in src/schema/document/default_document.rs
github-actions / clippy
unneeded `return` statement
warning: unneeded `return` statement
--> src/schema/document/default_document.rs:606:9
|
606 | return Some((key, value));
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
= note: `#[warn(clippy::needless_return)]` on by default
help: remove `return`
|
606 - return Some((key, value));
606 + Some((key, value))
|
Check warning on line 294 in src/indexer/mod.rs
github-actions / clippy
useless use of `format!`
warning: useless use of `format!`
--> src/indexer/mod.rs:294:14
|
294 | (format!("{field_name_out_internal}"), Type::Str),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `field_name_out_internal.to_string()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format
= note: `#[warn(clippy::useless_format)]` on by default
Loading