refactor(semantic): rename function param (#4277)

Small style nit. It's nicer to have Rust Analyser's param name hint show `builder` rather than `_builder`.
This commit is contained in:
overlookmotel 2024-07-15 15:06:59 +00:00
parent 25f0771185
commit ee16668168

View file

@ -13,7 +13,8 @@ use oxc_span::SourceType;
use crate::{scope::ScopeFlags, symbol::SymbolFlags, SemanticBuilder};
pub trait Binder {
fn bind(&self, _builder: &mut SemanticBuilder) {}
#[allow(unused_variables)]
fn bind(&self, builder: &mut SemanticBuilder) {}
}
impl<'a> Binder for VariableDeclarator<'a> {