Skip to content

Commit

Permalink
part 2
Browse files Browse the repository at this point in the history
  • Loading branch information
addisoncrump committed Nov 6, 2022
1 parent 3611a3c commit 30af70c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions boa_ast/src/function/parameters.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ use crate::{
try_break,
visitor::{VisitWith, Visitor, VisitorMut},
};
use arbitrary::Unstructured;
use bitflags::bitflags;
use boa_interner::{Interner, Sym, ToInternedString};
use core::ops::ControlFlow;
Expand Down Expand Up @@ -169,7 +168,7 @@ impl VisitWith for FormalParameterList {

#[cfg(feature = "fuzzer-not-safe-for-production")]
impl<'a> arbitrary::Arbitrary<'a> for FormalParameterList {
fn arbitrary(u: &mut Unstructured<'a>) -> arbitrary::Result<Self> {
fn arbitrary(u: &mut arbitrary::Unstructured<'a>) -> arbitrary::Result<Self> {
let params: Vec<FormalParameter> = u.arbitrary()?;
Ok(Self::from(params))
}
Expand Down

0 comments on commit 30af70c

Please sign in to comment.