Skip to content

Commit

Permalink
Updated changelog, bumped version
Browse files Browse the repository at this point in the history
  • Loading branch information
zesterer committed Mar 13, 2023
1 parent ccb242a commit 65f4829
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Fixed

# [0.9.6] - 2023-03-13

### Fixed

- Relaxed accidentally restricted `Send`/`Sync` bounds for `RwLock` guards

# [0.9.5] - 2023-02-07

### Added
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "spin"
version = "0.9.5"
version = "0.9.6"
authors = [
"Mathijs van de Nes <git@mathijs.vd-nes.nl>",
"John Ericson <git@JohnEricson.me>",
Expand Down
5 changes: 2 additions & 3 deletions src/once.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

//! Synchronization primitives for one-time evaluation.
use crate::{
Expand Down Expand Up @@ -454,7 +453,7 @@ impl<T, R> Once<T, R> {
_ => None,
}
}

/// Returns a mutable reference to the inner value
///
/// # Safety
Expand Down Expand Up @@ -496,7 +495,7 @@ impl<T, R> Once<T, R> {
Status::Complete,
"Attempted to access an unintialized Once. If this was to run without debug checks, this would be undefined behavior. This is a serious bug and you must fix it.",
);
self.force_into_inner()
self.force_into_inner()
}

/// Checks whether the value has been initialized.
Expand Down

0 comments on commit 65f4829

Please sign in to comment.