summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfmoko <mokou@posteo.de>2020-08-25 21:05:16 +0200
committerGitHub <noreply@github.com>2020-08-25 21:05:16 +0200
commit70da09eae2412ac10190895f2cf65bfbd0e81ebc (patch)
tree178bb4f220ef7d4877b7a197e34f4290a68ab40a
parent47f7672c0307732056e7426e81d351f0dd7e22e5 (diff)
parent101072ab9f8c80b40b8b88cb06cbe38aca2481c5 (diff)
Merge pull request #504 from Ant0wan/quiz2_markers
fix(exercises): adding question mark to quiz2
-rw-r--r--exercises/quiz2.rs20
1 files changed, 10 insertions, 10 deletions
diff --git a/exercises/quiz2.rs b/exercises/quiz2.rs
index 8caeaa9..de0dce9 100644
--- a/exercises/quiz2.rs
+++ b/exercises/quiz2.rs
@@ -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());
}