Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
brodycj committed Sep 3, 2024
1 parent bc11a53 commit b41e317
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ pub mod unsync {
enum Void {}
match self.get_or_try_init(|| Ok::<T, Void>(f())) {
Ok(val) => val,
Err(void) => unreachable!(),
Err(_) => unreachable!(),
}
}

Expand Down Expand Up @@ -1119,7 +1119,7 @@ pub mod sync {
enum Void {}
match self.get_or_try_init(|| Ok::<T, Void>(f())) {
Ok(val) => val,
Err(void) => unreachable!(),
Err(_) => unreachable!(),
}
}

Expand Down

0 comments on commit b41e317

Please sign in to comment.