mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
unindent -> dedent
This commit is contained in:
parent
231fddab54
commit
5c04d8544c
3 changed files with 3 additions and 3 deletions
|
@ -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()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue