We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a56ccb6 commit 65dc019Copy full SHA for 65dc019
solutions/13_error_handling/errors2.rs
@@ -16,7 +16,7 @@
16
17
use std::num::ParseIntError;
18
19
-#[allow(unused_variables)]
+#[allow(unused_variables, clippy::question_mark)]
20
fn total_cost(item_quantity: &str) -> Result<i32, ParseIntError> {
21
let processing_fee = 1;
22
let cost_per_item = 5;
0 commit comments