Skip to content

Commit

Permalink
style: make cargo fmt (v1.61.0) happy
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Patro authored and Robert Patro committed May 30, 2022
1 parent 73c2733 commit 221830b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions libradicl/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -227,10 +227,9 @@ impl CorrectedCbChunk {
remaining_records: num_remain,
corrected_bc: corrected_bc_in,
nrec: 0u32,
data: Cursor::new(Vec::<u8>::with_capacity((num_remain * 24) as usize))
//umis: Vec::<u64>::with_capacity(num_remain as usize),
//ref_offsets: Vec::<u32>::with_capacity(num_remain as usize),
//ref_ids: Vec::<u32>::with_capacity(3 * num_remain as usize),
data: Cursor::new(Vec::<u8>::with_capacity((num_remain * 24) as usize)), //umis: Vec::<u64>::with_capacity(num_remain as usize),
//ref_offsets: Vec::<u32>::with_capacity(num_remain as usize),
//ref_ids: Vec::<u32>::with_capacity(3 * num_remain as usize),
};
let dummy = 0u32;
cc.data.write_all(&dummy.to_le_bytes()).unwrap();
Expand Down

0 comments on commit 221830b

Please sign in to comment.