Created
January 24, 2020 13:23
-
-
Save rust-play/0e697fa84ecb3d8f78589c4dc5cb7701 to your computer and use it in GitHub Desktop.
Code shared from the Rust Playground
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fn main() { | |
let bound = |s: Option<&'_ str>| -> &'_ str { | |
s.unwrap() | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment