]> git.lizzy.rs Git - rust.git/commit
Auto merge of #1322 - RalfJung:noref, r=RalfJung
authorbors <bors@rust-lang.org>
Sun, 12 Apr 2020 08:09:30 +0000 (08:09 +0000)
committerbors <bors@rust-lang.org>
Sun, 12 Apr 2020 08:09:30 +0000 (08:09 +0000)
commita1c9ad8e1b239727ec0b86440cdc7a662d7550e5
tree8fb30d37b64b5f824ab6e0f7c5ff8c96cb7be805
parentaad2c5af066362a69c3e1ee67f44266d3c9a79ed
parent97791a56da50a87a3d1c3e4290290d436f9931f7
Auto merge of #1322 - RalfJung:noref, r=RalfJung

avoid ref in matches

Inspired by https://internals.rust-lang.org/t/is-ref-more-powerful-than-match-ergonomics/12111