auto merge of #9941 : alexcrichton/rust/rustdoc, r=huonw
Beforehand the id of a method was the id of the 'self' argument, but this is not the id which privacy was using (the id of the ast::method) struct, so by moving the ids over to the privacy-target ones the methods are now stripped correctly.
This commit is contained in:
commit
0b1fb461d6
@ -337,7 +337,7 @@ impl Clean<Item> for ast::method {
|
||||
name: Some(self.ident.clean()),
|
||||
attrs: self.attrs.clean(),
|
||||
source: self.span.clean(),
|
||||
id: self.self_id.clone(),
|
||||
id: self.id.clone(),
|
||||
visibility: self.vis.clean(),
|
||||
inner: MethodItem(Method {
|
||||
generics: self.generics.clean(),
|
||||
|
Loading…
Reference in New Issue
Block a user