Skip to content

Commit 2c5bf0d

Browse files
committed
switch to incorrect spelling
1 parent 98094e3 commit 2c5bf0d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

crates/bevy_reflect/src/serde/de/processor.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
use 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.

crates/bevy_reflect/src/serde/ser/serializer.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ use crate::{
1111
};
1212
use 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.

0 commit comments

Comments
 (0)