Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fn hello(name: &str) {
- println!("Hello, {}", name);
- }
- fn main() {
- hello("Michael");
- hello("Tom");
- hello("Alice");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement