Skip to content

Commit

Permalink
Correct counting to four in cell module docs
Browse files Browse the repository at this point in the history
  • Loading branch information
TomFryersMidsummer authored Jan 20, 2025
1 parent 9a1d156 commit 8ba0d2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/core/src/cell.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
//! (mutable via `&T`), in contrast with typical Rust types that exhibit 'inherited mutability'
//! (mutable only via `&mut T`).
//!
//! Cell types come in three flavors: `Cell<T>`, `RefCell<T>`, and `OnceCell<T>`. Each provides
//! a different way of providing safe interior mutability.
//! Cell types come in four flavors: `Cell<T>`, `RefCell<T>`, `OnceCell<T>`, and `LazyCell<T>`.
//! Each provides a different way of providing safe interior mutability.
//!
//! ## `Cell<T>`
//!
Expand Down

0 comments on commit 8ba0d2d

Please sign in to comment.