From fe2f708d8926433423e32a1fd573ce437385838d Mon Sep 17 00:00:00 2001 From: davhojt Date: Thu, 19 May 2022 11:05:19 +0300 Subject: [PATCH] docs(reverse_string): correct grammar --- subjects/reverse_string/README.md | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/subjects/reverse_string/README.md b/subjects/reverse_string/README.md index ca0ebeed..d49e9c9d 100644 --- a/subjects/reverse_string/README.md +++ b/subjects/reverse_string/README.md @@ -2,16 +2,8 @@ ### Instructions -Write a **function** `rev_str` that takes a `&str` as a parameter, and returns a `String` with its letters reversed. +Create a **function** named `rev_str` that takes a `&str` as a parameter, and returns a `String` with its letters reversed. -### Notions - -- [Strings](https://doc.rust-lang.org/rust-by-example/std/str.html) -- [Primitive Type str](https://doc.rust-lang.org/std/primitive.str.html) -- [Primtive Type char](https://doc.rust-lang.org/std/primitive.char.html) -- [Module std::string](https://doc.rust-lang.org/std/string/index.html) - -### Expected Functions ```rust pub fn rev_str(input: &str) -> String { @@ -45,3 +37,10 @@ uoY era dlo woH augá elpmaxe na si siht :xe $ ``` + +### Notions + +- [Strings](https://doc.rust-lang.org/rust-by-example/std/str.html) +- [Primitive Type str](https://doc.rust-lang.org/std/primitive.str.html) +- [Primtive Type char](https://doc.rust-lang.org/std/primitive.char.html) +- [Module std::string](https://doc.rust-lang.org/std/string/index.html) \ No newline at end of file