mirror of
https://github.com/Fechin/reference.git
synced 2026-11-20 21:23:11 +03:00
Merge pull request #521 from amindu00/patch-1
fixed small typo in rust.md
This commit is contained in:
1 file changed
+1
-1
@@ -277,7 +277,7 @@ println!("Share {cs} for developers");
|
||||
|
||||
```rust
|
||||
// Creating an empty string object
|
||||
let my_string = String::new;
|
||||
let my_string = String::new();
|
||||
|
||||
// Converting to a string object
|
||||
let S_string = a_string.to_string()
|
||||
|
||||
Reference in new issue
Block a user