fix comment for is_none

pull/77/head
Rod Elias 4 years ago committed by GitHub
parent 04c0fff195
commit c7b8b8ac62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -4018,7 +4018,7 @@ fn main() {
book_hashmap.insert(1, "L'Allemagne Moderne");
if book_hashmap.get(&1).is_none() { // is_none() returns a bool: true if it's Some, false if it's None
if book_hashmap.get(&1).is_none() { // is_none() returns a bool: true if it's None, false if it's Some
book_hashmap.insert(1, "Le Petit Prince");
}

Loading…
Cancel
Save