From 28f6eedba59d3a5dd43fe6fbde3d19d54d0e2f9d Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Wed, 2 Jan 2019 20:12:38 +0300 Subject: simplify runnables --- crates/ra_hir/src/module.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/ra_hir') diff --git a/crates/ra_hir/src/module.rs b/crates/ra_hir/src/module.rs index 26171d27c..a53b69d20 100644 --- a/crates/ra_hir/src/module.rs +++ b/crates/ra_hir/src/module.rs @@ -80,7 +80,7 @@ impl Module { Some(Crate::new(crate_id)) } - /// Returns the all modulkes on the way to the root. + /// Returns the all modules on the way to the root. pub fn path_to_root(&self) -> Vec { generate(Some(self.clone()), move |it| it.parent()).collect::>() } -- cgit v1.2.3