aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-05-09 13:48:43 +0100
committerAleksey Kladov <[email protected]>2020-05-09 13:48:43 +0100
commit5c04d8544c647e1f9bbf3c5a2f1e86409d4080f5 (patch)
treefd0c84925abfcfcd853e62b81ea8ab5c9fca8818 /crates/ra_syntax
parent231fddab5420ffe5edf7b93609ea21155653254a (diff)
unindent -> dedent
Diffstat (limited to 'crates/ra_syntax')
-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}