Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 2cd7b0c

Browse files
committed
Remove unused StmtList::push_front
1 parent 52f1ce1 commit 2cd7b0c

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

crates/syntax/src/ast/edit_in_place.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -676,12 +676,6 @@ fn get_or_insert_comma_after(syntax: &SyntaxNode) -> SyntaxToken {
676676
}
677677
}
678678

679-
impl ast::StmtList {
680-
pub fn push_front(&self, statement: ast::Stmt) {
681-
ted::insert(Position::after(self.l_curly_token().unwrap()), statement.syntax());
682-
}
683-
}
684-
685679
impl ast::VariantList {
686680
pub fn add_variant(&self, variant: ast::Variant) {
687681
let (indent, position) = match self.variants().last() {

0 commit comments

Comments
 (0)