chore: Clean up some formatting in exercises

This commit is contained in:
Russell Cousineau
2019-06-06 19:52:42 -07:00
parent b8d59d699b
commit eb13c2b6af
11 changed files with 19 additions and 19 deletions

View File

@@ -7,8 +7,12 @@
// you think each value is. That is, add either `string_slice` or `string`
// before the parentheses on each line. If you're right, it will compile!
fn string_slice(arg: &str) { println!("{}", arg); }
fn string(arg: String) { println!("{}", arg); }
fn string_slice(arg: &str) {
println!("{}", arg);
}
fn string(arg: String) {
println!("{}", arg);
}
fn main() {
("blue");