From 466345ca81c9f8a17347671ca27856eb963858f4 Mon Sep 17 00:00:00 2001 From: Dawer <7803845+iDawer@users.noreply.github.com> Date: Mon, 10 May 2021 16:55:00 +0500 Subject: Clean up, more docs. --- crates/hir_def/src/path.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'crates/hir_def') diff --git a/crates/hir_def/src/path.rs b/crates/hir_def/src/path.rs index 4cdb5913d..f98622faa 100644 --- a/crates/hir_def/src/path.rs +++ b/crates/hir_def/src/path.rs @@ -166,10 +166,7 @@ impl Path { } /// Converts a known mod path to `Path`. - pub fn from_known_path( - path: ModPath, - generic_args: Vec>>, - ) -> Path { + pub fn from_known_path(path: ModPath, generic_args: Vec>>) -> Path { Path { type_anchor: None, mod_path: Interned::new(path), generic_args } } -- cgit v1.2.3