File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ use core::fmt::{self, Debug};
8
8
use libafl_bolts:: {
9
9
Named ,
10
10
rands:: { Rand , StdRand } ,
11
- tuples:: NamedTuple ,
11
+ tuples:: { HasConstLen , NamedTuple } ,
12
12
} ;
13
13
use serde:: { Deserialize , Serialize } ;
14
14
@@ -502,7 +502,7 @@ impl<MT> StdMOptMutator<MT> {
502
502
) -> Result < Self , Error >
503
503
where
504
504
S : HasMetadata + HasRand ,
505
- MT : NamedTuple ,
505
+ MT : NamedTuple + HasConstLen ,
506
506
{
507
507
if !state. has_metadata :: < MOpt > ( ) {
508
508
let rand_seed = state. rand_mut ( ) . next ( ) ;
Original file line number Diff line number Diff line change @@ -386,7 +386,7 @@ where
386
386
387
387
#[ cfg( feature = "alloc" ) ]
388
388
/// A named tuple
389
- pub trait NamedTuple : HasConstLen {
389
+ pub trait NamedTuple {
390
390
/// Gets the name of this tuple
391
391
fn name ( & self , index : usize ) -> Option < & Cow < ' static , str > > ;
392
392
You can’t perform that action at this time.
0 commit comments