Skip to content

Commit

Permalink
f mut_global
Browse files Browse the repository at this point in the history
  • Loading branch information
devrandom committed Apr 27, 2024
1 parent ef8f13d commit affc49e
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 affc49e

Please sign in to comment.