File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
crates/bevy_reflect/src/serde Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11use crate :: { PartialReflect , TypeRegistration , TypeRegistry } ;
22
3- /// Allows overriding the default deserialization behaviour of
3+ /// Allows overriding the default deserialization behavior of
44/// [`ReflectDeserializer`] and [`TypedReflectDeserializer`] for specific
55/// [`TypeRegistration`]s.
66///
77/// When deserializing a reflected value, you may want to override the default
8- /// behaviour and use your own logic for deserialization. This logic may also
8+ /// behavior and use your own logic for deserialization. This logic may also
99/// be context-dependent, and only apply for a single use of your
1010/// [`ReflectDeserializer`]. To achieve this, you can create a processor and
1111/// pass it in to your deserializer.
Original file line number Diff line number Diff line change @@ -11,11 +11,11 @@ use crate::{
1111} ;
1212use serde:: { ser:: SerializeMap , Serialize , Serializer } ;
1313
14- /// Allows overriding the default serialization behaviour of
14+ /// Allows overriding the default serialization behavior of
1515/// [`ReflectSerializer`] and [`TypedReflectSerializer`] for specific values.
1616///
1717/// When serializing a reflected value, you may want to override the default
18- /// behaviour and use your own logic for serialization. This logic may also be
18+ /// behavior and use your own logic for serialization. This logic may also be
1919/// context-dependent, and only apply for a single use of your
2020/// [`ReflectSerializer`]. To achieve this, you can create a processor and pass
2121/// it into your serializer.
You can’t perform that action at this time.
0 commit comments