Skip to content

Commit

Permalink
Remove the solution from the stub file of deprecated two-fer (#1267)
Browse files Browse the repository at this point in the history
* Blank out the stub file of deprecated two-fer

* Update exercises/practice/two-fer/src/lib.rs

Co-authored-by: Peter Goodspeed-Niklaus <[email protected]>

Co-authored-by: Peter Goodspeed-Niklaus <[email protected]>
  • Loading branch information
iHiD and coriolinus authored May 22, 2021
1 parent 519032f commit f6067eb
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions exercises/practice/two-fer/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
pub fn twofer(name: &str) -> String {
match name {
"" => "One for you, one for me.".to_string(),
_ => format!("One for {}, one for me.", name),
}
unimplemented!("how many for {}", name)
}

0 comments on commit f6067eb

Please sign in to comment.