diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-08-05 18:05:07 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-08-05 18:05:07 +0100 |
commit | 5ebf92cd0ed4be97fe0ca5bffefbe292db1ec4cf (patch) | |
tree | 6afaf5db6cd8791633090b9345b6a248aa3eff45 /crates/ra_syntax/src | |
parent | 32246b91c217fff5b3b6ea062c9b9a8797a3fdf5 (diff) | |
parent | 6cb090345ece4a97c640159240594f3902e37032 (diff) |
Merge #5648
5648: Add expand glob import assist r=jonas-schievink a=unexge
closes https://github.com/rust-analyzer/rust-analyzer/issues/5557
Co-authored-by: unexge <[email protected]>
Diffstat (limited to 'crates/ra_syntax/src')
-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 673777015..3cb1d35ee 100644 --- a/crates/ra_syntax/src/ast/make.rs +++ b/crates/ra_syntax/src/ast/make.rs | |||
@@ -30,7 +30,7 @@ pub fn path_unqualified(segment: ast::PathSegment) -> ast::Path { | |||
30 | pub fn path_qualified(qual: ast::Path, segment: ast::PathSegment) -> ast::Path { | 30 | pub fn path_qualified(qual: ast::Path, segment: ast::PathSegment) -> ast::Path { |
31 | path_from_text(&format!("{}::{}", qual, segment)) | 31 | path_from_text(&format!("{}::{}", qual, segment)) |
32 | } | 32 | } |
33 | fn path_from_text(text: &str) -> ast::Path { | 33 | pub fn path_from_text(text: &str) -> ast::Path { |
34 | ast_from_text(text) | 34 | ast_from_text(text) |
35 | } | 35 | } |
36 | 36 | ||