Skip to content

Commit 7050814

Browse files
cbzehnercoriolinus
authored andcommitted
reverse-string: Update function template to use a variable name instead of an underscore (#438)
* reverse-string: Update function template to use a variable name instead of an underscore * reverse-string: Update function template to use a variable name instead of an underscore
1 parent 3d40647 commit 7050814

File tree

1 file changed

+2
-2
lines changed
  • exercises/reverse-string/src

1 file changed

+2
-2
lines changed

exercises/reverse-string/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
pub fn reverse(_: &str) -> String {
2-
unimplemented!()
1+
pub fn reverse(input: &str) -> String {
2+
unimplemented!("Write a function to reverse {}", input);
33
}

0 commit comments

Comments
 (0)