From dc1fbef9858cd65fbb8f7dc9c9dd6a036a2dc6c7 Mon Sep 17 00:00:00 2001 From: veetaha Date: Sun, 22 Mar 2020 19:38:55 +0200 Subject: ra_hir_def: fix typo --- crates/ra_hir_def/src/path.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/ra_hir_def') diff --git a/crates/ra_hir_def/src/path.rs b/crates/ra_hir_def/src/path.rs index 246032c13..904080341 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>>, } -- cgit v1.2.3