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 29
29
PyObjectDeserializer { vm } . deserialize ( deserializer)
30
30
}
31
31
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
34
34
pub struct PyObjectSerializer < ' s > {
35
35
pyobject : & ' s PyObject ,
36
36
vm : & ' s VirtualMachine ,
@@ -131,7 +131,7 @@ impl<'de> Visitor<'de> for PyObjectDeserializer<'de> {
131
131
type Value = PyObjectRef ;
132
132
133
133
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" )
135
135
}
136
136
137
137
fn visit_bool < E > ( self , value : bool ) -> Result < Self :: Value , E >
You can’t perform that action at this time.
0 commit comments