mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-13 19:29:53 +03:00
12 lines
449 B
Diff
12 lines
449 B
Diff
diff --git a/solutions/13_error_handling/errors2.rs b/solutions/13_error_handling/errors2.rs
|
|
index 0597c8c..a71f9a6 100644
|
|
--- a/solutions/13_error_handling/errors2.rs
|
|
+++ b/solutions/13_error_handling/errors2.rs
|
|
@@ -17,6 +17,7 @@
|
|
use std::num::ParseIntError;
|
|
|
|
#[allow(unused_variables)]
|
|
+#[allow(clippy::question_mark)]
|
|
fn total_cost(item_quantity: &str) -> Result<i32, ParseIntError> {
|
|
let processing_fee = 1;
|
|
let cost_per_item = 5;
|