test: Fix a type mismatch in implementation of Arbitrary
This commit is contained in:
parent
19e5af8406
commit
40d2da84f7
1 changed files with 1 additions and 1 deletions
|
@ -387,7 +387,7 @@ impl<'a> arbitrary::Arbitrary<'a> for FileOptions<'a, ExtendedFileOptions> {
|
|||
options
|
||||
.add_extra_data(
|
||||
u16::arbitrary(u)?,
|
||||
&Vec::<u8>::arbitrary(u)?,
|
||||
Box::<[u8]>::arbitrary(u)?,
|
||||
bool::arbitrary(u)?,
|
||||
)
|
||||
.map_err(|_| arbitrary::Error::IncorrectFormat)?;
|
||||
|
|
Loading…
Add table
Reference in a new issue