Skip to content

Commit fc43d98

Browse files
authored
Rollup merge of rust-lang#91886 - euclio:option-doc, r=dtolnay
core: minor `Option` doc correction
2 parents 8564939 + 4e38807 commit fc43d98

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)