From 678d85ca7e4d7e631a450b8c050fe7696da0cac3 Mon Sep 17 00:00:00 2001 From: Dawer <7803845+iDawer@users.noreply.github.com> Date: Thu, 29 Apr 2021 23:28:43 +0500 Subject: Implement struct ctor application --- crates/hir_def/src/path.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/hir_def') diff --git a/crates/hir_def/src/path.rs b/crates/hir_def/src/path.rs index 16440041d..4cdb5913d 100644 --- a/crates/hir_def/src/path.rs +++ b/crates/hir_def/src/path.rs @@ -166,7 +166,7 @@ impl Path { } /// Converts a known mod path to `Path`. - pub(crate) fn from_known_path( + pub fn from_known_path( path: ModPath, generic_args: Vec>>, ) -> Path { -- cgit v1.2.3 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 From e7c49666be180eba2720cce09d4d2116b1ef4d20 Mon Sep 17 00:00:00 2001 From: Dawer <7803845+iDawer@users.noreply.github.com> Date: Tue, 1 Jun 2021 01:44:51 +0500 Subject: Expand fixme comments --- crates/hir_def/src/path.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'crates/hir_def') diff --git a/crates/hir_def/src/path.rs b/crates/hir_def/src/path.rs index f98622faa..4cdb5913d 100644 --- a/crates/hir_def/src/path.rs +++ b/crates/hir_def/src/path.rs @@ -166,7 +166,10 @@ 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