mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 13:25:09 +00:00
Fix typo
This commit is contained in:
parent
5f8b37563e
commit
9abcab1669
3 changed files with 3 additions and 3 deletions
|
@ -15,7 +15,7 @@ pub fn name_ref(text: &str) -> ast::NameRef {
|
|||
pub fn path_segment(name_ref: ast::NameRef) -> ast::PathSegment {
|
||||
ast_from_text(&format!("use {};", name_ref.syntax()))
|
||||
}
|
||||
pub fn path_unqalified(segment: ast::PathSegment) -> ast::Path {
|
||||
pub fn path_unqualified(segment: ast::PathSegment) -> ast::Path {
|
||||
path_from_text(&format!("use {}", segment.syntax()))
|
||||
}
|
||||
pub fn path_qualified(qual: ast::Path, segment: ast::PathSegment) -> ast::Path {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue