Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rollup of 8 pull requests #91897

Closed
wants to merge 18 commits into from
Closed
Changes from 2 commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
d0f8793
add BinaryHeap::try_reserve and BinaryHeap::try_reserve_exact
TennyZhuang Dec 4, 2021
2235af1
update feature gate
TennyZhuang Dec 11, 2021
2a5a668
Make `MaybeUninit::zeroed` `const`
lilasta Dec 13, 2021
7f2f9c6
Iterator::cycle() — document empty iterator special case
xkr47 Dec 13, 2021
715c562
[ReviewFix] Linguistics
xkr47 Dec 13, 2021
fae40c5
Suggest to specify a target triple when eh_personality lang item is m…
rukai Dec 12, 2021
a3d1edb
Stabilize `destructuring_assignment`
jhpratt Nov 3, 2021
f3ecd64
use try_normalize_erasing_regions in RevealAllVisitor
b-naber Dec 13, 2021
0c594f8
Remove in_band_lifetimes from borrowck
bugadani Dec 13, 2021
4e38807
core: minor `Option` doc correction
euclio Dec 14, 2021
672f836
Rollup merge of #90521 - jhpratt:stabilize-destructuring_assignment, …
matthiaskrgr Dec 14, 2021
0a98071
Rollup merge of #91529 - TennyZhuang:try_reserve_binary_heap, r=yaahc
matthiaskrgr Dec 14, 2021
8309cb2
Rollup merge of #91820 - rukai:help_with_personality_issues, r=davidtwco
matthiaskrgr Dec 14, 2021
bc3a4b0
Rollup merge of #91851 - woppopo:const_maybeuninit_zeroed, r=yaahc
matthiaskrgr Dec 14, 2021
3fc0a01
Rollup merge of #91859 - xkr47:patch-2, r=yaahc
matthiaskrgr Dec 14, 2021
1dc4b24
Rollup merge of #91875 - b-naber:mir-transform-norm-erase-reg, r=Aaro…
matthiaskrgr Dec 14, 2021
d33e4da
Rollup merge of #91879 - bugadani:in_band_borrowck, r=wesleywiser
matthiaskrgr Dec 14, 2021
5d07e19
Rollup merge of #91886 - euclio:option-doc, r=dtolnay
matthiaskrgr Dec 14, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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