Skip to content

Rollup of 10 pull requests #71907

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

Merged
merged 27 commits into from
May 5, 2020
Merged
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
a1f81ff
rustdoc supports const re-exports
Mark-Simulacrum Apr 29, 2020
70fafed
Remove unsized enum test
Mark-Simulacrum Apr 30, 2020
bfed215
Remove ignored type alias test
Mark-Simulacrum Apr 30, 2020
34eb2c1
Report cannot move errors in promoted MIR
matthewjasper Apr 22, 2020
a992f95
Add examples for std::f32 constants.
steveklabnik May 3, 2020
0768fa4
add some whitespace
steveklabnik May 3, 2020
d38d429
correct -> intended
steveklabnik May 4, 2020
8bef0a3
f64 examples
steveklabnik May 4, 2020
55e37f9
Add examples to int macros
steveklabnik May 4, 2020
1593e2b
Add remove_current_as_list to LinkedList's CursorMut
main-- May 4, 2020
c5cdf7f
whoops
main-- May 4, 2020
6e77729
Correctly handle UEFI targets as Windows-like when emitting sections …
IsaacWoods May 4, 2020
4a8fa18
add a missing word
Dante-Broggi May 4, 2020
a9b6af9
double neg
lcnr May 4, 2020
d02128f
Update btree_map::VacantEntry::insert docs to actually call insert
carols10cents May 4, 2020
7386736
Suggest to add missing feature when using gated const features
mibac138 May 4, 2020
36f51f9
fix typo in function name
euclio May 4, 2020
4bde46e
Rollup merge of #71587 - matthewjasper:promoted-move-errors, r=nikoma…
Dylan-DPC May 4, 2020
04776b1
Rollup merge of #71711 - Mark-Simulacrum:deignore-tests, r=nikomatsakis
Dylan-DPC May 4, 2020
db7b381
Rollup merge of #71845 - steveklabnik:add-const-examples, r=dtolnay
Dylan-DPC May 4, 2020
faccb0f
Rollup merge of #71878 - main--:patch-2, r=Amanieu
Dylan-DPC May 4, 2020
c1b2fd2
Rollup merge of #71881 - IsaacWoods:master, r=petrochenkov
Dylan-DPC May 4, 2020
4b0b6e3
Rollup merge of #71883 - Dante-Broggi:patch-1, r=Dylan-DPC
Dylan-DPC May 4, 2020
a93cc06
Rollup merge of #71891 - lcnr:not-iter-any, r=Dylan-DPC
Dylan-DPC May 4, 2020
ac84daf
Rollup merge of #71892 - integer32llc:btreemap-entry-vacant-docs, r=j…
Dylan-DPC May 4, 2020
ad74ce9
Rollup merge of #71902 - mibac138:const-feature-diag, r=varkor
Dylan-DPC May 4, 2020
8b781b0
Rollup merge of #71904 - euclio:function-typo, r=jonas-schievink
Dylan-DPC May 4, 2020
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
Prev Previous commit
Next Next commit
whoops
  • Loading branch information
main-- authored May 4, 2020
commit c5cdf7fe920c8cb3b60f5a6e257f6cdfb51102d3
2 changes: 1 addition & 1 deletion src/liballoc/collections/linked_list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1505,7 +1505,7 @@ impl<'a, T> CursorMut<'a, T> {
/// is removed and `None` is returned.
#[unstable(feature = "linked_list_cursors", issue = "58533")]
pub fn remove_current_as_list(&mut self) -> Option<LinkedList<T>> {
let unlinked_node = self.current?;
let mut unlinked_node = self.current?;
unsafe {
self.current = unlinked_node.as_ref().next;
self.list.unlink_node(unlinked_node);
Expand Down