mirror of
https://github.com/rust-lang/rustlings.git
synced 2025-12-17 23:47:24 +02:00
Merge branch 'master' into refactor-hints
This commit is contained in:
@@ -16,6 +16,8 @@
|
||||
// There are at least two ways to implement this that are both correct-- but
|
||||
// one is a lot shorter! Execute `rustlings hint errors2` for hints to both ways.
|
||||
|
||||
// I AM NOT DONE
|
||||
|
||||
use std::num::ParseIntError;
|
||||
|
||||
pub fn total_cost(item_quantity: &str) -> Result<i32, ParseIntError> {
|
||||
|
||||
Reference in New Issue
Block a user