diff options
Diffstat (limited to 'solutions/13_error_handling/errors2.rs')
| -rw-r--r-- | solutions/13_error_handling/errors2.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/solutions/13_error_handling/errors2.rs b/solutions/13_error_handling/errors2.rs index 0597c8c..f0e144e 100644 --- a/solutions/13_error_handling/errors2.rs +++ b/solutions/13_error_handling/errors2.rs @@ -16,7 +16,7 @@ use std::num::ParseIntError; -#[allow(unused_variables)] +#[allow(unused_variables, clippy::question_mark)] fn total_cost(item_quantity: &str) -> Result<i32, ParseIntError> { let processing_fee = 1; let cost_per_item = 5; |
