Advertisement
Guest User

Untitled

a guest
Aug 24th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.11 KB | None | 0 0
  1. fn main() {
  2. println!("Hello, world!");
  3.  
  4. func("Hello");
  5. }
  6.  
  7. fn func(value: &String) -> &String {
  8. value
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement