mirror of
https://github.com/Fechin/reference.git
synced 2026-11-21 05:24:10 +03:00
fixed small typo in rust.md
I am new to rust and contributing to open source hope this helps
This commit is contained in:
1 parent
8daf0c7962
commit
5936cd5b9d
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