diff --git a/crates/ra_hir_def/src/path.rs b/crates/ra_hir_def/src/path.rs index 246032c13f..904080341a 100644 --- a/crates/ra_hir_def/src/path.rs +++ b/crates/ra_hir_def/src/path.rs @@ -95,7 +95,7 @@ pub struct Path { /// Note that paths like `::foo` are desugard to `Trait::::foo`. type_anchor: Option>, mod_path: ModPath, - /// Invariant: the same len as self.path.segments + /// Invariant: the same len as `self.mod_path.segments` generic_args: Vec>>, }