rust/library/core
Mara Bos 3308b43ba1
Rollup merge of #80444 - glittershark:bound-as-ref, r=dtolnay
Add as_ref and as_mut methods for Bound

Add as_ref and as_mut method for std::ops::range::Bound, patterned off
of the methods of the same name on Option.

I'm not quite sure what the process is for introducing new feature gates (this is my first contribution) so I've left these ungated, but happy to do whatever is necessary to gate them.
2021-01-14 18:00:02 +00:00
..
benches
src Rollup merge of #80444 - glittershark:bound-as-ref, r=dtolnay 2021-01-14 18:00:02 +00:00
tests Adds tests to ensure some base op traits exist. 2021-01-13 23:14:00 -05:00
Cargo.toml