Created
August 31, 2015 15:04
-
-
Save danared/4599b9c41cc487c7d31d to your computer and use it in GitHub Desktop.
This file contains hidden or 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
let cursor = match coll.find(doc! { age: { $gte: 18 } } , None) { | |
Ok(cursor) => cursor, | |
Err(error) => println!("The following error occured: {}", error) | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment