diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-05-09 13:49:18 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-05-09 13:49:18 +0100 |
commit | c5c07c2a0a1b4809c5aacef3c8e90034d00c3b03 (patch) | |
tree | fd0c84925abfcfcd853e62b81ea8ab5c9fca8818 /crates/ra_syntax/src/ast | |
parent | 5af66e54866b2b9942b2a5298a8874ce6a44a1d5 (diff) | |
parent | 5c04d8544c647e1f9bbf3c5a2f1e86409d4080f5 (diff) |
Merge #4388
4388: unindent -> dedent r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_syntax/src/ast')
-rw-r--r-- | crates/ra_syntax/src/ast/edit.rs | 2 |
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 | } |