Fix doc typo
This commit is contained in:
parent
3dadd0a772
commit
4a5272e37b
@ -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 }
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user