Automatic deploy to GitHub Pages: 5ead90f13a

This commit is contained in:
GHA CI 2024-08-06 19:11:01 +00:00
parent 6e976a6665
commit bc2f29edb1
1 changed files with 15 additions and 0 deletions

View File

@ -10603,6 +10603,21 @@
"applicability": "Unresolved" "applicability": "Unresolved"
} }
}, },
{
"id": "unused_result_ok",
"id_span": {
"path": "src/unused_result_ok.rs",
"line": 30
},
"group": "restriction",
"level": "allow",
"docs": "\n### What it does\nChecks for calls to `Result::ok()` without using the returned `Option`.\n\n### Why is this bad?\nUsing `Result::ok()` may look like the result is checked like `unwrap` or `expect` would do\nbut it only silences the warning caused by `#[must_use]` on the `Result`.\n\n### Example\n ```rust\nsome_function().ok();\n```\nUse instead:\n ```rust\nlet _ = some_function();\n```",
"version": "1.70.0",
"applicability": {
"is_multi_part_suggestion": false,
"applicability": "MaybeIncorrect"
}
},
{ {
"id": "unused_rounding", "id": "unused_rounding",
"id_span": { "id_span": {