Created
March 26, 2016 16:51
-
-
Save mhintz/c40749d774f2e88ad5c9 to your computer and use it in GitHub Desktop.
unexpected undefined type name errors example
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
use doesnt_exist::*; | |
pub fn example_case(something: Option<u32>) { | |
match something { | |
Some(x) => { println!("found a number {}", x); }, | |
None => { println!("found nothing"); } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment