rust/library/core
Christiaan Dirkx 8f27e3cb1b Make some methods of Pin unstable const
Make the following methods unstable const under the `const_pin` feature:
- `new`
- `new_unchecked`
- `into_inner`
- `into_inner_unchecked`
- `get_ref`
- `into_ref`

Also adds tests for these methods in a const context.

Tracking issue: #76654
2020-09-13 01:55:34 +02:00
..
benches flt2dec: properly handle uninitialized memory 2020-09-02 12:41:38 +02:00
src Make some methods of Pin unstable const 2020-09-13 01:55:34 +02:00
tests Make some methods of Pin unstable const 2020-09-13 01:55:34 +02:00
Cargo.toml