rust/library/alloc
Matthias Krüger 94d07befe7
Rollup merge of #127189 - GrigorenkoPV:linkedlist-cursor-list, r=Nilstrieb
LinkedList's Cursor: method to get a ref to the cursor's list

We're already providing `.back()` & `.front()`, for which we hold onto a reference to the parent list, so why not share it? Useful for when you got `LinkedList` -> `CursorMut` -> `Cursor` and cannot take another ref to the list, even though you should be able to. This seems to be completely safe & sound.

The name is, of course, bikesheddable.
2024-07-07 14:21:59 +02:00
..
benches disable benches in Miri 2024-04-07 09:58:10 +02:00
src Rollup merge of #127189 - GrigorenkoPV:linkedlist-cursor-list, r=Nilstrieb 2024-07-07 14:21:59 +02:00
tests Generalize {Rc,Arc}::make_mut() to unsized types. 2024-06-22 08:08:00 -07:00
Cargo.toml Cleanup bootstrap check-cfg 2024-06-27 11:30:03 +02:00