mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-29 20:46:07 +03:00
core: minor Option doc correction
This commit is contained in:
@@ -512,11 +512,11 @@
|
||||
#[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),
|
||||
|
||||
Reference in New Issue
Block a user