Fix a typo

This commit is contained in:
Jonas Platte 2024-03-05 08:44:17 +01:00
parent b2542df2bb
commit 65d0880dc9

View File

@ -67,7 +67,7 @@ impl AudioMessageEventContent {
}
}
/// Creates a new non-encrypted `AudioMessageEventContent` with the given bod and url.
/// Creates a new non-encrypted `AudioMessageEventContent` with the given body and url.
pub fn plain(body: String, url: OwnedMxcUri) -> Self {
Self::new(body, MediaSource::Plain(url))
}