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
Ant0wan authored and Jose Palazon committed Nov 8, 2020
1 parent 2bdb6a3 commit d1f82fd
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 d1f82fd

Please sign in to comment.