Skip to content

Commit

Permalink
f mut_global
Browse files Browse the repository at this point in the history
  • Loading branch information
devrandom committed Sep 24, 2024
1 parent a1076fd commit ac17822
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lightning/src/util/mut_global.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ mod tests {
#[test]
fn test() {
let v = MutGlobal::<u8>::new(|| 0);
assert_eq!(G.get(), 0);
assert_eq!(v.get(), 0);
v.set(42);
assert_eq!(v.get(), 42);
v.set(43);
Expand Down

0 comments on commit ac17822

Please sign in to comment.