Skip to content

Commit 65dc019

Browse files
committed
Fix new Clippy error in solution
1 parent a56ccb6 commit 65dc019

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

solutions/13_error_handling/errors2.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
use std::num::ParseIntError;
1818

19-
#[allow(unused_variables)]
19+
#[allow(unused_variables, clippy::question_mark)]
2020
fn total_cost(item_quantity: &str) -> Result<i32, ParseIntError> {
2121
let processing_fee = 1;
2222
let cost_per_item = 5;

0 commit comments

Comments
 (0)