1
0
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:
marisa
2019-11-11 17:21:06 +01:00
committed by GitHub
61 changed files with 315 additions and 12 deletions

View File

@@ -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> {