many small rustifications

This commit is contained in:
Henry Schimke
2023-01-10 14:33:47 -06:00
parent 752d8c87b9
commit 9f7a41f81c
23 changed files with 218 additions and 187 deletions

View File

@@ -529,7 +529,7 @@ pub fn getNumDataBytesAndNumECBytesForBlockID(
+ ((num_data_bytes_in_group2 + numEcBytesInGroup2) * num_rs_blocks_in_group2)
{
return Err(Exceptions::WriterException(Some(
"Total bytes mismatch".to_owned(),
"total bytes mismatch".to_owned(),
)));
// throw new WriterException("Total bytes mismatch");