Created
April 14, 2022 23:08
-
-
Save jcar787/7856589c59d17e9123ba0624d4c9e3e3 to your computer and use it in GitHub Desktop.
Simple example with String in rust
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fn main() { | |
let my_name = String::from("Jeff"); | |
println!("My name is {}", my_name); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment