diff --git a/crates/ruma-events/src/lib.rs b/crates/ruma-events/src/lib.rs index b247c213..71ce2d69 100644 --- a/crates/ruma-events/src/lib.rs +++ b/crates/ruma-events/src/lib.rs @@ -335,7 +335,7 @@ pub enum EventKind { /// Message-like event kind. /// - /// Since redacted / non-redacted message-like events are used in the same places bu have + /// Since redacted / non-redacted message-like events are used in the same places but have /// different sets of fields, these two variations are treated as two closely-related event /// kinds. MessageLike { @@ -345,7 +345,7 @@ pub enum EventKind { /// State event kind. /// - /// Since redacted / non-redacted state events are used in the same places bu have different + /// Since redacted / non-redacted state events are used in the same places but have different /// sets of fields, these two variations are treated as two closely-related event kinds. State { /// Redacted variation? diff --git a/crates/ruma-events/src/room/avatar.rs b/crates/ruma-events/src/room/avatar.rs index d85c88e2..d55a7b80 100644 --- a/crates/ruma-events/src/room/avatar.rs +++ b/crates/ruma-events/src/room/avatar.rs @@ -50,7 +50,7 @@ impl RoomAvatarEventContent { /// Create an empty `RoomAvatarEventContent`. /// - /// With the `unstable-pre-spec` feature, this method takes an `MxcUri`. + /// Without the `unstable-pre-spec` feature, this method takes an `MxcUri`. /// See [matrix-doc#2006](https://github.com/matrix-org/matrix-doc/issues/2006). #[cfg(feature = "unstable-pre-spec")] pub fn new() -> Self {