Advertisement
cwchen

[Rust] Hello World (with comments)

Aug 22nd, 2017
745
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Rust 0.21 KB | None | 0 0
  1. /* main function is program entry point.
  2.    Each binary should contain one and
  3.    only one main function. */
  4. fn main() {
  5.     // Print out the string Hello World in console.
  6.     println!("Hello, World");
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement