mirror of
https://github.com/mii443/tokenizers.git
synced 2025-08-23 00:35:35 +00:00
Clippy 1.54. (#773)
This commit is contained in:
@ -669,7 +669,7 @@ mod test {
|
||||
#[test]
|
||||
fn deserialize_sequence() {
|
||||
let string = r#"{"type": "NFKC"}"#;
|
||||
let normalizer: PyNormalizer = serde_json::from_str(&string).unwrap();
|
||||
let normalizer: PyNormalizer = serde_json::from_str(string).unwrap();
|
||||
match normalizer.normalizer {
|
||||
PyNormalizerTypeWrapper::Single(inner) => match *inner.as_ref().read().unwrap() {
|
||||
PyNormalizerWrapper::Wrapped(NormalizerWrapper::NFKC(_)) => {}
|
||||
|
Reference in New Issue
Block a user