diff options
author | Aleksey Kladov <[email protected]> | 2020-02-29 12:50:47 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-02-29 12:51:23 +0000 |
commit | 9abcab16693ac5e162c4ed28c4373ed6bd507380 (patch) | |
tree | 8ad45f841ffa0648b29fb143c3de0b59bde400fb /crates/ra_syntax/src/ast | |
parent | 5f8b37563e6d82872a18afaf4d9ca25a4ebefac0 (diff) |
Fix typo
Diffstat (limited to 'crates/ra_syntax/src/ast')
-rw-r--r-- | crates/ra_syntax/src/ast/make.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/ast/make.rs b/crates/ra_syntax/src/ast/make.rs index 60cd9d260..3f11b747f 100644 --- a/crates/ra_syntax/src/ast/make.rs +++ b/crates/ra_syntax/src/ast/make.rs | |||
@@ -15,7 +15,7 @@ pub fn name_ref(text: &str) -> ast::NameRef { | |||
15 | pub fn path_segment(name_ref: ast::NameRef) -> ast::PathSegment { | 15 | pub fn path_segment(name_ref: ast::NameRef) -> ast::PathSegment { |
16 | ast_from_text(&format!("use {};", name_ref.syntax())) | 16 | ast_from_text(&format!("use {};", name_ref.syntax())) |
17 | } | 17 | } |
18 | pub fn path_unqalified(segment: ast::PathSegment) -> ast::Path { | 18 | pub fn path_unqualified(segment: ast::PathSegment) -> ast::Path { |
19 | path_from_text(&format!("use {}", segment.syntax())) | 19 | path_from_text(&format!("use {}", segment.syntax())) |
20 | } | 20 | } |
21 | pub fn path_qualified(qual: ast::Path, segment: ast::PathSegment) -> ast::Path { | 21 | pub fn path_qualified(qual: ast::Path, segment: ast::PathSegment) -> ast::Path { |