]> git.lizzy.rs Git - rust.git/commit
Auto merge of #77685 - jackh726:binder-map, r=lcnr
authorbors <bors@rust-lang.org>
Sat, 17 Oct 2020 10:28:52 +0000 (10:28 +0000)
committerbors <bors@rust-lang.org>
Sat, 17 Oct 2020 10:28:52 +0000 (10:28 +0000)
commit6f0ea299cfcb94aad6dc0a4fd06ae01153daf8fa
tree352755212bf75978554c42881b56c37099120047
parent03687f8ffaf5ff03f6bedbe77752b9f930c7efeb
parentf6a53b4c691a5ba5ead6c0c0d072b301de1649f8
Auto merge of #77685 - jackh726:binder-map, r=lcnr

Use rebind instead of Binder::bind when possible

These are really only the easy places. I just searched for `Binder::bind` and replaced where it straightforward.

r? `@lcnr`
cc. `@nikomatsakis`
compiler/rustc_middle/src/ty/mod.rs
src/librustdoc/clean/mod.rs