chore: Clean up some formatting in exercises

This commit is contained in:
Russell Cousineau
2019-06-11 07:14:43 -07:00
parent b8d59d699b
commit eb13c2b6af
11 changed files with 19 additions and 19 deletions
+6 -2
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");