Skip to content

Commit dc1fbef

Browse files
committed
ra_hir_def: fix typo
1 parent bfb6e3f commit dc1fbef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/ra_hir_def/src/path.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ pub struct Path {
9595
/// Note that paths like `<Type as Trait>::foo` are desugard to `Trait::<Self=Type>::foo`.
9696
type_anchor: Option<Box<TypeRef>>,
9797
mod_path: ModPath,
98-
/// Invariant: the same len as self.path.segments
98+
/// Invariant: the same len as `self.mod_path.segments`
9999
generic_args: Vec<Option<Arc<GenericArgs>>>,
100100
}
101101

0 commit comments

Comments
 (0)