SHARE
TWEET

Untitled

a guest Oct 22nd, 2019 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #![allow(unused)]
  2. fn main() {
  3.     get_string()
  4. }
  5.  
  6. fn get_string() -> &str {
  7.     let string = String::from("Hello");
  8.     &string
  9. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top