diff options
author | Edwin Cheng <[email protected]> | 2019-12-24 11:52:48 +0000 |
---|---|---|
committer | Edwin Cheng <[email protected]> | 2019-12-24 12:30:39 +0000 |
commit | d0537cda9eb55e7a596a0cf05e0c1423e8c430a8 (patch) | |
tree | 20e5cb8aaf4ce29b27951c9795ded6411a3a5529 /crates/ra_hir_def/src/path.rs | |
parent | 0edb5b4a501a66baa7db8ececf46135e6246f4de (diff) |
Formatting
Diffstat (limited to 'crates/ra_hir_def/src/path.rs')
-rw-r--r-- | crates/ra_hir_def/src/path.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/crates/ra_hir_def/src/path.rs b/crates/ra_hir_def/src/path.rs index bf401df35..107d2d799 100644 --- a/crates/ra_hir_def/src/path.rs +++ b/crates/ra_hir_def/src/path.rs | |||
@@ -131,7 +131,10 @@ impl Path { | |||
131 | } | 131 | } |
132 | 132 | ||
133 | /// Converts a known mod path to `Path`. | 133 | /// Converts a known mod path to `Path`. |
134 | pub(crate) fn from_known_path(path: ModPath, generic_args: Vec<Option<Arc<GenericArgs>>>) -> Path { | 134 | pub(crate) fn from_known_path( |
135 | path: ModPath, | ||
136 | generic_args: Vec<Option<Arc<GenericArgs>>>, | ||
137 | ) -> Path { | ||
135 | Path { type_anchor: None, mod_path: path, generic_args } | 138 | Path { type_anchor: None, mod_path: path, generic_args } |
136 | } | 139 | } |
137 | 140 | ||