Skip to content

Instantly share code, notes, and snippets.

@Slabity
Created December 5, 2018 17:51
Show Gist options
  • Select an option

  • Save Slabity/b1f5166bac952e14fec98e6f9b20ec8e to your computer and use it in GitHub Desktop.

Select an option

Save Slabity/b1f5166bac952e14fec98e6f9b20ec8e to your computer and use it in GitHub Desktop.
fn main() {
print_message("Hello world");
}
fn print_message(msg: &str) {
println!("{}", msg);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment