Skip to content

Commit

Permalink
Fix typo in ArcSwapOption::const_empty documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyborus04 committed Sep 18, 2021
1 parent 63bda3a commit 8474db4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,7 @@ impl<T, S: Strategy<Option<Arc<T>>>> ArcSwapAny<Option<Arc<T>>, S> {
}

impl<T> ArcSwapOption<T> {
/// A const-fn equilavent of [empty].
/// A const-fn equivalent of [empty].
///
/// Just like [empty], this creates an `None`-holding `ArcSwapOption`. The [empty] is, however,
/// more general ‒ this is available only for the default strategy, while [empty] is for any
Expand Down

0 comments on commit 8474db4

Please sign in to comment.