Skip to content

Commit 9274c47

Browse files
TomFryersMidsummergitbot
authored and
gitbot
committed
Correct counting to four in cell module docs
1 parent 2f4d700 commit 9274c47

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/cell.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
//! (mutable via `&T`), in contrast with typical Rust types that exhibit 'inherited mutability'
2323
//! (mutable only via `&mut T`).
2424
//!
25-
//! Cell types come in three flavors: `Cell<T>`, `RefCell<T>`, and `OnceCell<T>`. Each provides
26-
//! a different way of providing safe interior mutability.
25+
//! Cell types come in four flavors: `Cell<T>`, `RefCell<T>`, `OnceCell<T>`, and `LazyCell<T>`.
26+
//! Each provides a different way of providing safe interior mutability.
2727
//!
2828
//! ## `Cell<T>`
2929
//!

0 commit comments

Comments
 (0)