Skip to content

Commit

Permalink
fix(exercises): adding question mark to quiz2
Browse files Browse the repository at this point in the history
Question marks added for consistency.

closes rust-lang#496
  • Loading branch information
yourname committed Aug 25, 2020
1 parent 4f0f50c commit d066fcd
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions exercises/quiz2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ fn string(arg: String) {
}

fn main() {
("blue");
("red".to_string());
(String::from("hi"));
("rust is fun!".to_owned());
("nice weather".into());
(format!("Interpolation {}", "Station"));
(&String::from("abc")[0..1]);
(" hello there ".trim());
("Happy Monday!".to_string().replace("Mon", "Tues"));
("mY sHiFt KeY iS sTiCkY".to_lowercase());
???("blue");
???("red".to_string());
???(String::from("hi"));
???("rust is fun!".to_owned());
???("nice weather".into());
???(format!("Interpolation {}", "Station"));
???(&String::from("abc")[0..1]);
???(" hello there ".trim());
???("Happy Monday!".to_string().replace("Mon", "Tues"));
???("mY sHiFt KeY iS sTiCkY".to_lowercase());
}

0 comments on commit d066fcd

Please sign in to comment.