diff options
author | Aleksey Kladov <[email protected]> | 2019-12-18 16:42:49 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-12-18 16:42:49 +0000 |
commit | d33fc26e05c573f536e02afbffc354fa4f4a35f3 (patch) | |
tree | b4d08c438076e3dbbc2b4d8ea64fb3f821a3377d /crates | |
parent | 04715cbe1caf92e55d393a352a12454ba958845e (diff) |
Touch up docs
Diffstat (limited to 'crates')
-rw-r--r-- | crates/ra_hir_def/src/path.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/ra_hir_def/src/path.rs b/crates/ra_hir_def/src/path.rs index 1e2da6b48..3fb0955d1 100644 --- a/crates/ra_hir_def/src/path.rs +++ b/crates/ra_hir_def/src/path.rs | |||
@@ -82,7 +82,8 @@ impl ModPath { | |||
82 | 82 | ||
83 | #[derive(Debug, Clone, PartialEq, Eq, Hash)] | 83 | #[derive(Debug, Clone, PartialEq, Eq, Hash)] |
84 | pub struct Path { | 84 | pub struct Path { |
85 | /// Type based path like `<T>::foo` | 85 | /// Type based path like `<T>::foo`. |
86 | /// Note that paths like `<Type as Trait>::foo` are desugard to `Trait::<Self=Type>::foo`. | ||
86 | type_anchor: Option<Box<TypeRef>>, | 87 | type_anchor: Option<Box<TypeRef>>, |
87 | mod_path: ModPath, | 88 | mod_path: ModPath, |
88 | /// Invariant: the same len as self.path.segments | 89 | /// Invariant: the same len as self.path.segments |