Skip to content

Commit

Permalink
Rollup merge of #91886 - euclio:option-doc, r=dtolnay
Browse files Browse the repository at this point in the history
core: minor `Option` doc correction
  • Loading branch information
matthiaskrgr authored Dec 14, 2021
2 parents d33e4da + 4e38807 commit 5d07e19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions library/core/src/option.rs
Original file line number Diff line number Diff line change
Expand Up @@ -512,11 +512,11 @@ use crate::{
#[rustc_diagnostic_item = "Option"]
#[stable(feature = "rust1", since = "1.0.0")]
pub enum Option<T> {
/// No value
/// No value.
#[lang = "None"]
#[stable(feature = "rust1", since = "1.0.0")]
None,
/// Some value `T`
/// Some value of type `T`.
#[lang = "Some"]
#[stable(feature = "rust1", since = "1.0.0")]
Some(#[stable(feature = "rust1", since = "1.0.0")] T),
Expand Down

0 comments on commit 5d07e19

Please sign in to comment.