File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 2929 PyObjectDeserializer { vm } . deserialize ( deserializer)
3030}
3131
32- // We need to have a VM available to serialise a PyObject based on its subclass, so we implement
33- // PyObject serialisation via a proxy object which holds a reference to a VM
32+ // We need to have a VM available to serialize a PyObject based on its subclass, so we implement
33+ // PyObject serialization via a proxy object which holds a reference to a VM
3434pub struct PyObjectSerializer < ' s > {
3535 pyobject : & ' s PyObject ,
3636 vm : & ' s VirtualMachine ,
@@ -131,7 +131,7 @@ impl<'de> Visitor<'de> for PyObjectDeserializer<'de> {
131131 type Value = PyObjectRef ;
132132
133133 fn expecting ( & self , formatter : & mut std:: fmt:: Formatter ) -> std:: fmt:: Result {
134- formatter. write_str ( "a type that can deserialise in Python" )
134+ formatter. write_str ( "a type that can deserialize in Python" )
135135 }
136136
137137 fn visit_bool < E > ( self , value : bool ) -> Result < Self :: Value , E >
You can’t perform that action at this time.
0 commit comments