File tree Expand file tree Collapse file tree 2 files changed +11
-6
lines changed
Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -591,10 +591,11 @@ required-features = ["uudoc"]
591591[profile .release ]
592592lto = true
593593panic = " abort"
594+ codegen-units = 1
594595
595- [profile .release-fast ]
596+ [profile .release-fast ] # deprecated
596597inherits = " release"
597- codegen-units = 1
598+
598599
599600# A release-like profile that is as small as possible.
600601[profile .release-small ]
Original file line number Diff line number Diff line change @@ -445,12 +445,16 @@ impl Writable for usize {
445445 }
446446}
447447
448- fn shuf_exec (
449- input : & mut impl Shufable ,
448+ fn shuf_exec < S , W > (
449+ input : & mut S ,
450450 opts : & Options ,
451451 rng : & mut WrappedRng ,
452- output : & mut BufWriter < Box < dyn OsWrite > > ,
453- ) -> UResult < ( ) > {
452+ output : & mut BufWriter < W > ,
453+ ) -> UResult < ( ) >
454+ where
455+ S : Shufable ,
456+ W : OsWrite ,
457+ {
454458 let ctx = || translate ! ( "shuf-error-write-failed" ) ;
455459
456460 if opts. repeat {
You can’t perform that action at this time.
0 commit comments