summaryrefslogtreecommitdiff
path: root/exercises/09_strings/strings3.rs
diff options
context:
space:
mode:
Diffstat (limited to 'exercises/09_strings/strings3.rs')
-rw-r--r--exercises/09_strings/strings3.rs9
1 files changed, 4 insertions, 5 deletions
diff --git a/exercises/09_strings/strings3.rs b/exercises/09_strings/strings3.rs
index dedc081..f83a531 100644
--- a/exercises/09_strings/strings3.rs
+++ b/exercises/09_strings/strings3.rs
@@ -1,8 +1,3 @@
-// strings3.rs
-//
-// Execute `rustlings hint strings3` or use the `hint` watch subcommand for a
-// hint.
-
fn trim_me(input: &str) -> String {
// TODO: Remove whitespace from both ends of a string!
???
@@ -18,6 +13,10 @@ fn replace_me(input: &str) -> String {
???
}
+fn main() {
+ // You can optionally experiment here.
+}
+
#[cfg(test)]
mod tests {
use super::*;