aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src/ast/edit.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_syntax/src/ast/edit.rs')
-rw-r--r--crates/ra_syntax/src/ast/edit.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/ast/edit.rs b/crates/ra_syntax/src/ast/edit.rs
index 94dfb1a13..24a1e1d91 100644
--- a/crates/ra_syntax/src/ast/edit.rs
+++ b/crates/ra_syntax/src/ast/edit.rs
@@ -555,7 +555,7 @@ pub trait AstNodeEdit: AstNode + Clone + Sized {
555 Self::cast(indent.increase_indent(self.syntax().clone())).unwrap() 555 Self::cast(indent.increase_indent(self.syntax().clone())).unwrap()
556 } 556 }
557 #[must_use] 557 #[must_use]
558 fn unindent(&self, indent: IndentLevel) -> Self { 558 fn dedent(&self, indent: IndentLevel) -> Self {
559 Self::cast(indent.decrease_indent(self.syntax().clone())).unwrap() 559 Self::cast(indent.decrease_indent(self.syntax().clone())).unwrap()
560 } 560 }
561} 561}