From 4a5272e37bc5eaf962e16add6cbbd9b812894f7a Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Thu, 13 Aug 2020 19:45:03 +0200 Subject: [PATCH] Fix doc typo --- ruma-events/src/room/message.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ruma-events/src/room/message.rs b/ruma-events/src/room/message.rs index b9a7fe67..a36535ca 100644 --- a/ruma-events/src/room/message.rs +++ b/ruma-events/src/room/message.rs @@ -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) -> Self { Self { body: body.into(), formatted: None, relates_to: None } }