]> git.lizzy.rs Git - rust.git/commit
Auto merge of #42394 - ollie27:rustdoc_deref_box, r=QuietMisdreavus
authorbors <bors@rust-lang.org>
Tue, 6 Jun 2017 06:18:17 +0000 (06:18 +0000)
committerbors <bors@rust-lang.org>
Tue, 6 Jun 2017 06:18:17 +0000 (06:18 +0000)
commit17f493fffc4e7b7a4110d2528e9f1272470dda10
tree3e1fbd022aa56f40edb4c9a76c2f858fb30152b0
parente8626951583e2cac46417ec433254a862735c0cc
parent88c791bf692a9a1d8f48f70384ae42be044f03bf
Auto merge of #42394 - ollie27:rustdoc_deref_box, r=QuietMisdreavus

rustdoc: Hide `self: Box<Self>` in list of deref methods

These methods can never be called through deref so there is no point including them. For example you can't call [`into_boxed_bytes`](https://doc.rust-lang.org/nightly/std/string/struct.String.html#method.into_boxed_bytes) or [`into_string`](https://doc.rust-lang.org/nightly/std/string/struct.String.html#method.into_string) on `String`.
src/librustdoc/clean/mod.rs