mirror of
https://github.com/danbulant/oxc
synced 2026-05-19 12:19:15 +00:00
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:
parent
25f0771185
commit
ee16668168
1 changed files with 2 additions and 1 deletions
|
|
@ -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> {
|
||||
|
|
|
|||
Loading…
Reference in a new issue