Advertisement
cwchen

[Rust] Hello World in function.

Aug 23rd, 2017
360
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Rust 0.10 KB | None | 0 0
  1. fn hello() {
  2.     println!("Hello, World");
  3. }
  4.  
  5. fn main() {
  6.     hello();
  7.     hello();
  8.     hello();
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement