File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -958,7 +958,7 @@ fn univariant<
958958 #[ cfg( feature = "randomize" ) ]
959959 {
960960 use rand:: { seq:: SliceRandom , SeedableRng } ;
961- // `ReprOptions.layout_seed ` is a deterministic seed we can use to randomize field
961+ // `ReprOptions.field_shuffle_seed ` is a deterministic seed we can use to randomize field
962962 // ordering.
963963 let mut rng =
964964 rand_xoshiro:: Xoshiro128StarStar :: seed_from_u64 ( repr. field_shuffle_seed ) ;
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ bitflags! {
4141 // Internal only for now. If true, don't reorder fields.
4242 const IS_LINEAR = 1 << 3 ;
4343 // If true, the type's layout can be randomized using
44- // the seed stored in `ReprOptions.layout_seed `
44+ // the seed stored in `ReprOptions.field_shuffle_seed `
4545 const RANDOMIZE_LAYOUT = 1 << 4 ;
4646 // Any of these flags being set prevent field reordering optimisation.
4747 const IS_UNOPTIMISABLE = ReprFlags :: IS_C . bits( )
You can’t perform that action at this time.
0 commit comments