Skip to content

Commit 4e38807

Browse files
committed
core: minor Option doc correction
1 parent 8f117a7 commit 4e38807

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/core/src/option.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -512,11 +512,11 @@ use crate::{
512512
#[rustc_diagnostic_item = "Option"]
513513
#[stable(feature = "rust1", since = "1.0.0")]
514514
pub enum Option<T> {
515-
/// No value
515+
/// No value.
516516
#[lang = "None"]
517517
#[stable(feature = "rust1", since = "1.0.0")]
518518
None,
519-
/// Some value `T`
519+
/// Some value of type `T`.
520520
#[lang = "Some"]
521521
#[stable(feature = "rust1", since = "1.0.0")]
522522
Some(#[stable(feature = "rust1", since = "1.0.0")] T),

0 commit comments

Comments
 (0)