aboutsummaryrefslogtreecommitdiff
path: root/crates/assists
diff options
context:
space:
mode:
authorKirill Bulatov <[email protected]>2020-11-27 10:26:20 +0000
committerKirill Bulatov <[email protected]>2020-11-27 17:05:10 +0000
commit7b145bd99c855b2f4a15835a2298dde504b04d8f (patch)
treec7f26ed36d0288edc1ad9a394ba0853863c022b6 /crates/assists
parentf75f07019bd754e4fcc40c6144cc83911bbf21c8 (diff)
Rustdocs fixes
Diffstat (limited to 'crates/assists')
-rw-r--r--crates/assists/src/handlers/replace_qualified_name_with_use.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/assists/src/handlers/replace_qualified_name_with_use.rs b/crates/assists/src/handlers/replace_qualified_name_with_use.rs
index 9b8caacd9..5e5c41a6f 100644
--- a/crates/assists/src/handlers/replace_qualified_name_with_use.rs
+++ b/crates/assists/src/handlers/replace_qualified_name_with_use.rs
@@ -51,7 +51,7 @@ pub(crate) fn replace_qualified_name_with_use(
51 ) 51 )
52} 52}
53 53
54/// Adds replacements to `re` that shorten `path` in all descendants of `node`.g 54/// Adds replacements to `re` that shorten `path` in all descendants of `node`.
55fn shorten_paths(rewriter: &mut SyntaxRewriter<'static>, node: SyntaxNode, path: &ast::Path) { 55fn shorten_paths(rewriter: &mut SyntaxRewriter<'static>, node: SyntaxNode, path: &ast::Path) {
56 for child in node.children() { 56 for child in node.children() {
57 match_ast! { 57 match_ast! {