mirror of
https://github.com/mii443/tokenizers.git
synced 2025-08-23 00:35:35 +00:00
Adding clippy as a linter within the Python binding. (#388)
* Adding clippy as a linter within the Python binding. * Missing clippy (dropped commit ??)
This commit is contained in:
@ -188,7 +188,7 @@ mod test {
|
||||
let rs_processing_ser = serde_json::to_string(&rs_processing).unwrap();
|
||||
let rs_wrapper_ser = serde_json::to_string(&rs_wrapper).unwrap();
|
||||
|
||||
let py_processing = PyPostProcessor::new(Arc::new(rs_wrapper.clone()));
|
||||
let py_processing = PyPostProcessor::new(Arc::new(rs_wrapper));
|
||||
let py_ser = serde_json::to_string(&py_processing).unwrap();
|
||||
assert_eq!(py_ser, rs_processing_ser);
|
||||
assert_eq!(py_ser, rs_wrapper_ser);
|
||||
|
Reference in New Issue
Block a user