Skip to content

Commit cb65b48

Browse files
committed
fix wording in option doc
Fix some awkward wording in the `core::option` documentation in the "Options and pointers" section.
1 parent 1804964 commit cb65b48

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/core/src/option.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@
5050
//! the optional owned box, [`Option`]`<`[`Box<T>`]`>`.
5151
//!
5252
//! The following example uses [`Option`] to create an optional box of
53-
//! [`i32`]. Notice that in order to use the inner [`i32`] value first, the
54-
//! `check_optional` function needs to use pattern matching to
53+
//! [`i32`]. Notice that in order to use the inner [`i32`] value, the
54+
//! `check_optional` function first needs to use pattern matching to
5555
//! determine whether the box has a value (i.e., it is [`Some(...)`][`Some`]) or
5656
//! not ([`None`]).
5757
//!

0 commit comments

Comments
 (0)