Created
May 31, 2014 02:26
-
-
Save gilles-leblanc/a3c78abcc64404a1ed86 to your computer and use it in GitHub Desktop.
Rust: expressions 3
This file contains hidden or 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 returns_hello() -> String { | |
String::from_str("hello") | |
} | |
println!("{}", returns_hello()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment