From 663e33d56b5be3d5de74638469289fbd0f6c05fa Mon Sep 17 00:00:00 2001 From: Temirkhan Myrzamadi Date: Wed, 1 Jan 2020 00:15:48 +0600 Subject: [PATCH] Fix rustfmt --- src/types/parse_mode.rs | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/src/types/parse_mode.rs b/src/types/parse_mode.rs index 4892e908..c6e6ebd3 100644 --- a/src/types/parse_mode.rs +++ b/src/types/parse_mode.rs @@ -44,7 +44,7 @@ use serde::{Deserialize, Serialize}; /// pre-formatted fixed-width code block written in the Rust programming /// language ``` /// ```` -/// +/// /// Please note: /// - Any character between 1 and 126 inclusively can be escaped anywhere with a /// preceding '\' character, in which case it is treated as an ordinary @@ -65,20 +65,19 @@ use serde::{Deserialize, Serialize}; /// ## HTML style /// To use this mode, pass [`HTML`] in the `parse_mode` field. /// The following tags are currently supported: -/// /// ````text /// bold, bold /// italic, italic /// underline, underline -/// strikethrough, strikethrough, strikethrough -/// bold italic bold italic bold strikethrough underline italic bold bold -/// inline URL +/// strikethrough, strikethrough, +/// strikethrough bold italic bold italic bold +/// strikethrough underline italic bold bold inline URL /// inline mention of a user /// inline fixed-width code ///
pre-formatted fixed-width code block
-///
pre-formatted fixed-width code block written in the Rust programming language
-/// ```` -/// +///
pre-formatted fixed-width code block
+/// written in the Rust programming language
```` +/// /// Please note: /// /// - Only the tags mentioned above are currently supported. @@ -96,7 +95,6 @@ use serde::{Deserialize, Serialize}; /// This is a legacy mode, retained for backward compatibility. To use this /// mode, pass [`Markdown`] in the `parse_mode` field. /// Use the following syntax in your message: -/// /// ````text /// *bold text* /// _italic text_