aboutsummaryrefslogtreecommitdiff
path: root/crates/hir_def
diff options
context:
space:
mode:
authorDawer <[email protected]>2021-05-31 21:44:51 +0100
committerDawer <[email protected]>2021-05-31 21:44:51 +0100
commite7c49666be180eba2720cce09d4d2116b1ef4d20 (patch)
tree3d5a9bd6fa75c44c4964738b57df21bf4e64b29f /crates/hir_def
parent31b6a750f8e37d011060a17ffd816d721d087844 (diff)
Expand fixme comments
Diffstat (limited to 'crates/hir_def')
-rw-r--r--crates/hir_def/src/path.rs5
1 files changed, 4 insertions, 1 deletions
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 {
166 } 166 }
167 167
168 /// Converts a known mod path to `Path`. 168 /// Converts a known mod path to `Path`.
169 pub fn from_known_path(path: ModPath, generic_args: Vec<Option<Interned<GenericArgs>>>) -> Path { 169 pub fn from_known_path(
170 path: ModPath,
171 generic_args: Vec<Option<Interned<GenericArgs>>>,
172 ) -> Path {
170 Path { type_anchor: None, mod_path: Interned::new(path), generic_args } 173 Path { type_anchor: None, mod_path: Interned::new(path), generic_args }
171 } 174 }
172 175