File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 1515 self . capacity( )
1616 ) ?;
1717 for frag in & self . fragments {
18- writeln ! ( f, " {:?}" , frag ) ?;
18+ writeln ! ( f, " {frag :?}" ) ?;
1919 }
2020 writeln ! ( f, "] }}" )
2121 }
Original file line number Diff line number Diff line change @@ -259,9 +259,7 @@ impl<T> SplitVec<T, Doubling> {
259259 pub fn with_doubling_growth_and_fragments_capacity ( fragments_capacity : usize ) -> Self {
260260 assert ! (
261261 fragments_capacity > 0 && fragments_capacity <= CAPACITIES_LEN ,
262- "fragments_capacity must be within 1..{}; however, {} is provided." ,
263- CAPACITIES_LEN ,
264- fragments_capacity
262+ "fragments_capacity must be within 1..{CAPACITIES_LEN}; however, {fragments_capacity} is provided."
265263 ) ;
266264 assert ! ( fragments_capacity > 0 ) ;
267265 let fragments =
You can’t perform that action at this time.
0 commit comments