Fix doc typo

This commit is contained in:
Jonas Platte 2020-08-13 19:45:03 +02:00
parent 3dadd0a772
commit 4a5272e37b
No known key found for this signature in database
GPG Key ID: CC154DE0E30B7C67

View File

@ -228,7 +228,7 @@ pub struct NoticeMessageEventContent {
}
impl NoticeMessageEventContent {
/// A convenience constructor to create a plain text notices.
/// A convenience constructor to create a plain text notice.
pub fn plain(body: impl Into<String>) -> Self {
Self { body: body.into(), formatted: None, relates_to: None }
}