File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ impl<'de> de::Deserializer<'de> for &'_ mut Depythonizer<'_, '_> {
121121 self . deserialize_str ( visitor)
122122 }
123123 // Continue with cases which are slower to check because they go
124- // throuh `isinstance` machinery
124+ // through `isinstance` machinery
125125 else if obj. is_instance_of :: < PyBytes > ( ) || obj. is_instance_of :: < PyByteArray > ( ) {
126126 self . deserialize_bytes ( visitor)
127127 } else if obj. is_instance_of :: < PyFloat > ( ) {
@@ -826,7 +826,7 @@ mod test {
826826 #[ test]
827827 fn test_int_limits ( ) {
828828 Python :: with_gil ( |py| {
829- // serde_json::Value supports u64 and i64 as maxiumum sizes
829+ // serde_json::Value supports u64 and i64 as maximum sizes
830830 let _: serde_json:: Value = depythonize ( & u8:: MAX . into_pyobject ( py) . unwrap ( ) ) . unwrap ( ) ;
831831 let _: serde_json:: Value = depythonize ( & u8:: MIN . into_pyobject ( py) . unwrap ( ) ) . unwrap ( ) ;
832832 let _: serde_json:: Value = depythonize ( & i8:: MAX . into_pyobject ( py) . unwrap ( ) ) . unwrap ( ) ;
You can’t perform that action at this time.
0 commit comments