diff options
| author | Eduard Burtescu <edy.burt@gmail.com> | 2015-01-13 06:02:56 +0200 |
|---|---|---|
| committer | Eduard Burtescu <edy.burt@gmail.com> | 2015-01-15 18:51:14 +0200 |
| commit | 2cdc86c180296ff2c929ec55fcf33a0f6b391b3a (patch) | |
| tree | 1d9e7cc7086adb4c17ba82171d3696ac633a8648 /src/librustdoc | |
| parent | 1c78ad937b4da9dd872b0a865025f3e2e885f90d (diff) | |
syntax: add fully qualified UFCS expressions.
Diffstat (limited to 'src/librustdoc')
| -rw-r--r-- | src/librustdoc/clean/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustdoc/clean/mod.rs b/src/librustdoc/clean/mod.rs index b65e1d1d664..8dc3adad3b2 100644 --- a/src/librustdoc/clean/mod.rs +++ b/src/librustdoc/clean/mod.rs @@ -1614,7 +1614,7 @@ impl<'tcx> Clean<Type> for ty::Ty<'tcx> { impl Clean<Type> for ast::QPath { fn clean(&self, cx: &DocContext) -> Type { Type::QPath { - name: self.item_name.clean(cx), + name: self.item_path.identifier.clean(cx), self_type: box self.self_type.clean(cx), trait_: box self.trait_ref.clean(cx) } |
