1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2025-08-24 19:49:25 +02:00

Remove unneeded pub

This commit is contained in:
mo8it
2024-05-22 15:04:12 +02:00
parent d0b843d6c4
commit 3bb71c6b0c
18 changed files with 30 additions and 30 deletions

View File

@@ -16,7 +16,7 @@
use std::num::ParseIntError;
pub fn total_cost(item_quantity: &str) -> Result<i32, ParseIntError> {
fn total_cost(item_quantity: &str) -> Result<i32, ParseIntError> {
let processing_fee = 1;
let cost_per_item = 5;
let qty = item_quantity.parse::<i32>();