cleanup more warnings and deprecated function use

This commit is contained in:
Henry Schimke
2022-12-30 17:00:35 -06:00
parent b383d7b0d4
commit 29a4040f2d
38 changed files with 158 additions and 133 deletions

View File

@@ -9,8 +9,6 @@ mod mode;
mod qr_code_decoder_meta_data;
mod version;
#[cfg(test)]
mod data_mask_testcase;
#[cfg(test)]
mod DecodedBitStreamParserTestCase;
#[cfg(test)]
@@ -21,6 +19,8 @@ mod FormatInformationTestCase;
mod ModeTestCase;
#[cfg(test)]
mod VersionTestCase;
#[cfg(test)]
mod data_mask_testcase;
pub use bit_matrix_parser::*;
pub use data_block::*;

View File

@@ -17,7 +17,6 @@
* @author satorux@google.com (Satoru Takabayashi) - creator
* @author dswitkin@google.com (Daniel Switkin) - ported from C++
*/
use std::collections::HashMap;
use encoding::EncodingRef;

View File

@@ -713,7 +713,7 @@ impl Edge {
// }
size
},
_encoders : encoders,
_encoders: encoders,
}
// this.mode = mode;
// this.fromPosition = fromPosition;

View File

@@ -11,13 +11,13 @@ pub use byte_matrix::*;
pub use minimal_encoder::*;
pub use qr_code::*;
#[cfg(test)]
mod bit_vector_testcase;
#[cfg(test)]
mod EncoderTestCase;
#[cfg(test)]
mod MaskUtilTestCase;
#[cfg(test)]
mod matrix_util_testcase;
#[cfg(test)]
mod QRCodeTestCase;
#[cfg(test)]
mod bit_vector_testcase;
#[cfg(test)]
mod matrix_util_testcase;