mirror of
https://github.com/rust-lang/rustlings.git
synced 2025-04-01 05:45:20 +01:00
Fix new Clippy error in solution
This commit is contained in:
parent
a56ccb6f4f
commit
65dc019fa6
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue