Add expand glob import assist

This commit is contained in:
unexge 2020-08-02 22:56:54 +03:00
parent e96bfd812a
commit edd79a6b1c
4 changed files with 366 additions and 1 deletions

View file

@ -30,7 +30,7 @@ pub fn path_unqualified(segment: ast::PathSegment) -> ast::Path {
pub fn path_qualified(qual: ast::Path, segment: ast::PathSegment) -> ast::Path {
path_from_text(&format!("{}::{}", qual, segment))
}
fn path_from_text(text: &str) -> ast::Path {
pub fn path_from_text(text: &str) -> ast::Path {
ast_from_text(text)
}