events: Fix typos

This commit is contained in:
Kévin Commaille 2022-02-28 13:42:12 +01:00 committed by GitHub
parent f2dca60fc7
commit ede7601aa9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -335,7 +335,7 @@ pub enum EventKind {
/// Message-like event kind. /// 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 /// different sets of fields, these two variations are treated as two closely-related event
/// kinds. /// kinds.
MessageLike { MessageLike {
@ -345,7 +345,7 @@ pub enum EventKind {
/// State event kind. /// 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. /// sets of fields, these two variations are treated as two closely-related event kinds.
State { State {
/// Redacted variation? /// Redacted variation?

View File

@ -50,7 +50,7 @@ impl RoomAvatarEventContent {
/// Create an empty `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). /// See [matrix-doc#2006](https://github.com/matrix-org/matrix-doc/issues/2006).
#[cfg(feature = "unstable-pre-spec")] #[cfg(feature = "unstable-pre-spec")]
pub fn new() -> Self { pub fn new() -> Self {