Skip to content

Commit

Permalink
Merge #192
Browse files Browse the repository at this point in the history
192: fix lazy_static example bug r=matklad a=overheat



Co-authored-by: Aaron Tsui <aaron.tsui@outlook.com>
  • Loading branch information
bors[bot] and overheat committed Aug 22, 2022
2 parents 865ab57 + 2600185 commit 932c3ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/lazy_static.rs
Expand Up @@ -32,5 +32,5 @@ fn main() {

// The same works for function-style:
assert_eq!(hashmap().get(&0), Some(&"foo"));
assert_eq!(hashmap().get(&0), Some(&"bar"));
assert_eq!(hashmap().get(&1), Some(&"bar"));
}

0 comments on commit 932c3ec

Please sign in to comment.