diff options
| author | Yuki Okushi <huyuumi.dev@gmail.com> | 2020-01-28 10:48:04 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-01-28 10:48:04 +0900 |
| commit | 5c42ffe1504193fe526f23987b5430adf3895d47 (patch) | |
| tree | b6249ee3ece23f4e7d6ef04fd6ee231d5b45dada /src/test/codegen/src-hash-algorithm | |
| parent | 8a79d08fa57e1c257d647c9848e35defcb379c07 (diff) | |
| parent | 2c07a621ef80e059d788f9846c8bdfd2e44b5c58 (diff) | |
| download | rust-5c42ffe1504193fe526f23987b5430adf3895d47.tar.gz rust-5c42ffe1504193fe526f23987b5430adf3895d47.zip | |
Rollup merge of #68200 - KodrAus:stabilize/debug_map_key_value, r=alexcrichton
Stabilize the debug_map_key_value feature
RFC: https://github.com/rust-lang/rfcs/pull/2696
Tracking issue: #62482
Stabilizes the `debug_map_key_value` feature, which covers:
```rust
impl<'a, 'b> DebugMap<'a, 'b> {
pub fn key(&mut self, key: &dyn fmt::Debug) -> &mut DebugMap<'a, 'b> {}
pub fn value(&mut self, value: &dyn fmt::Debug) -> &mut DebugMap<'a, 'b> {}
}
```
These methods are small and self-contained, and are used as the basis for the existing `DebugMap::entry` method, so have been used in the wild for the last 6 months or so.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions
