aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2019-12-18 16:04:20 +0000
committerAleksey Kladov <[email protected]>2019-12-18 16:04:20 +0000
commitd043689735edc12388e22f49b2319362f3b003fa (patch)
tree7add4c9a504d18a1c4fbd495eb0040f93e675203
parent7ea578086712d0a6a81dc2d77a15d868f496deb0 (diff)
Touch up docs
-rw-r--r--crates/ra_hir_def/src/path.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/crates/ra_hir_def/src/path.rs b/crates/ra_hir_def/src/path.rs
index 3b26e8337..c37364f57 100644
--- a/crates/ra_hir_def/src/path.rs
+++ b/crates/ra_hir_def/src/path.rs
@@ -100,13 +100,14 @@ pub enum GenericArg {
100#[derive(Debug, Clone, PartialEq, Eq, Hash)] 100#[derive(Debug, Clone, PartialEq, Eq, Hash)]
101pub enum PathKind { 101pub enum PathKind {
102 Plain, 102 Plain,
103 /// `self::` is `Super(0)`
103 Super(u8), 104 Super(u8),
104 Crate, 105 Crate,
105 // Absolute path 106 /// Absolute path (::foo)
106 Abs, 107 Abs,
107 // Type based path like `<T>::foo` 108 /// Type based path like `<T>::foo`
108 Type(Box<TypeRef>), 109 Type(Box<TypeRef>),
109 // `$crate` from macro expansion 110 /// `$crate` from macro expansion
110 DollarCrate(CrateId), 111 DollarCrate(CrateId),
111} 112}
112 113