Fix a slight typo

pull/76/head
Arnav Borborah 6 years ago committed by GitHub
parent 45ad4031e9
commit 4ab5a61eb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -13,7 +13,7 @@ non-literal strings.
```rust
fn say_hello(name: &str) -> String {
// We could construct the result string manually.
// let mut result = "Hello".to_owned();
// let mut result = "Hello ".to_owned();
// result.push_str(name);
// result.push('!');
// result

Loading…
Cancel
Save