From 5c04d8544c647e1f9bbf3c5a2f1e86409d4080f5 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sat, 9 May 2020 14:48:43 +0200 Subject: unindent -> dedent --- crates/ra_syntax/src/ast/edit.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crates/ra_syntax') 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 { Self::cast(indent.increase_indent(self.syntax().clone())).unwrap() } #[must_use] - fn unindent(&self, indent: IndentLevel) -> Self { + fn dedent(&self, indent: IndentLevel) -> Self { Self::cast(indent.decrease_indent(self.syntax().clone())).unwrap() } } -- cgit v1.2.3