Files
rust/library
bors 123588a5bf Auto merge of #108671 - Coca162:option_reference_flattening, r=dtolnay
Implement flatten for `Option<&Option<T>>` and `Option<&mut Option<T>>`

Adds `.flatten_ref()` to get a immutable reference of a nested option and `.flatten_mut()` for mutable references.

ACP: https://github.com/rust-lang/libs-team/issues/186
Tracking Issue: rust-lang/rust#149221
2025-12-29 02:12:47 +00:00
..
2025-12-23 09:56:09 +00:00
2025-07-01 10:55:49 -07:00
2025-11-16 23:35:37 -05:00
2025-12-13 16:31:09 +09:00