Skip to content

Instantly share code, notes, and snippets.

@jcar787
Created April 14, 2022 23:08
Show Gist options
  • Save jcar787/7856589c59d17e9123ba0624d4c9e3e3 to your computer and use it in GitHub Desktop.
Save jcar787/7856589c59d17e9123ba0624d4c9e3e3 to your computer and use it in GitHub Desktop.
Simple example with String in rust
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