diff options
| author | leonardo.yvens <leoyvens@gmail.com> | 2017-12-04 08:07:01 -0200 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2018-01-13 18:48:01 +0300 |
| commit | 9ccd3ac178c05169e04fb33530f7923f77d680af (patch) | |
| tree | 46790654bc385292bbd2eb49ffb9928bb4f19091 | |
| parent | 3bb2ff05ebee84a9949e08705361f8e935a08c90 (diff) | |
| download | rust-9ccd3ac178c05169e04fb33530f7923f77d680af.tar.gz rust-9ccd3ac178c05169e04fb33530f7923f77d680af.zip | |
Fix rustdoc
| -rw-r--r-- | src/librustdoc/clean/mod.rs | 1 | ||||
| -rw-r--r-- | src/librustdoc/doctree.rs | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/src/librustdoc/clean/mod.rs b/src/librustdoc/clean/mod.rs index 5f94bb4a56f..271bc967bc9 100644 --- a/src/librustdoc/clean/mod.rs +++ b/src/librustdoc/clean/mod.rs @@ -480,7 +480,6 @@ impl Clean<Item> for doctree::Module { items.extend(self.traits.iter().map(|x| x.clean(cx))); items.extend(self.impls.iter().flat_map(|x| x.clean(cx))); items.extend(self.macros.iter().map(|x| x.clean(cx))); - items.extend(self.def_traits.iter().map(|x| x.clean(cx))); // determine if we should display the inner contents or // the outer `mod` item for the source code. diff --git a/src/librustdoc/doctree.rs b/src/librustdoc/doctree.rs index b5c173b15d6..776ec7f409c 100644 --- a/src/librustdoc/doctree.rs +++ b/src/librustdoc/doctree.rs @@ -72,7 +72,6 @@ impl Module { constants : Vec::new(), traits : Vec::new(), impls : Vec::new(), - def_traits : Vec::new(), foreigns : Vec::new(), macros : Vec::new(), is_crate : false, |
