Guest User

Untitled

a guest
May 13th, 2018
311
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. struct UserPass<'a> {
  2. password: &'a str
  3. }
  4.  
  5. const SOMEUSER: UserPass<'static> = UserPass{
  6. password: "moop"
  7. };
  8.  
  9. fn main() {
  10. println!("{}", SOMEUSER.password);
  11. }
Add Comment
Please, Sign In to add comment