From 30af70c8a1babfdd3bb4c3c7428593a48bb0f50b Mon Sep 17 00:00:00 2001 From: Addison Crump Date: Wed, 2 Nov 2022 19:02:20 +0100 Subject: [PATCH] part 2 --- boa_ast/src/function/parameters.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/boa_ast/src/function/parameters.rs b/boa_ast/src/function/parameters.rs index d9cf83a4d79..1d8648ae6a3 100644 --- a/boa_ast/src/function/parameters.rs +++ b/boa_ast/src/function/parameters.rs @@ -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; @@ -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 { + fn arbitrary(u: &mut arbitrary::Unstructured<'a>) -> arbitrary::Result { let params: Vec = u.arbitrary()?; Ok(Self::from(params)) }