fixed small typo in rust.md

I am new to rust and contributing to open source hope this helps
This commit is contained in:
Amindu Samarasinghe authored and GitHub committed 2024-05-04 08:52:36 +05:30
1 parent 8daf0c7962
commit 5936cd5b9d
1 file changed
+1 -1
+1 -1
View File
@@ -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()