Skip to content

Commit 2874ec4

Browse files
committed
refactor(semantic): remove redundant default implementation for Binder::binder (#12447)
`Binder::bind` has a no-op default implementation that is meaningless, so remove it.
1 parent 9a9d78d commit 2874ec4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

crates/oxc_semantic/src/binder.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ use crate::SemanticBuilder;
1010
use crate::checker::is_function_part_of_if_statement;
1111

1212
pub trait Binder<'a> {
13-
#[expect(unused_variables)]
14-
fn bind(&self, builder: &mut SemanticBuilder<'a>) {}
13+
fn bind(&self, builder: &mut SemanticBuilder<'a>);
1514
}
1615

1716
impl<'a> Binder<'a> for VariableDeclarator<'a> {

0 commit comments

Comments
 (0)