Fix rustfmt

This commit is contained in:
Temirkhan Myrzamadi 2020-01-01 00:15:48 +06:00
parent 49a2195df9
commit 663e33d56b

View file

@ -44,7 +44,7 @@ use serde::{Deserialize, Serialize};
/// pre-formatted fixed-width code block written in the Rust programming /// pre-formatted fixed-width code block written in the Rust programming
/// language ``` /// language ```
/// ```` /// ````
/// ///
/// Please note: /// Please note:
/// - Any character between 1 and 126 inclusively can be escaped anywhere with a /// - Any character between 1 and 126 inclusively can be escaped anywhere with a
/// preceding '\' character, in which case it is treated as an ordinary /// preceding '\' character, in which case it is treated as an ordinary
@ -65,20 +65,19 @@ use serde::{Deserialize, Serialize};
/// ## HTML style /// ## HTML style
/// To use this mode, pass [`HTML`] in the `parse_mode` field. /// To use this mode, pass [`HTML`] in the `parse_mode` field.
/// The following tags are currently supported: /// The following tags are currently supported:
///
/// ````text /// ````text
/// <b>bold</b>, <strong>bold</strong> /// <b>bold</b>, <strong>bold</strong>
/// <i>italic</i>, <em>italic</em> /// <i>italic</i>, <em>italic</em>
/// <u>underline</u>, <ins>underline</ins> /// <u>underline</u>, <ins>underline</ins>
/// <s>strikethrough</s>, <strike>strikethrough</strike>, <del>strikethrough</del> /// <s>strikethrough</s>, <strike>strikethrough</strike>,
/// <b>bold <i>italic bold <s>italic bold strikethrough</s> <u>underline italic bold</u></i> bold</b> /// <del>strikethrough</del> <b>bold <i>italic bold <s>italic bold
/// <a href="http:// www.example.com/">inline URL</a> /// strikethrough</s> <u>underline italic bold</u></i> bold</b> <a href="http:// www.example.com/">inline URL</a>
/// <a href="tg:// user?id=123456789">inline mention of a user</a> /// <a href="tg:// user?id=123456789">inline mention of a user</a>
/// <code>inline fixed-width code</code> /// <code>inline fixed-width code</code>
/// <pre>pre-formatted fixed-width code block</pre> /// <pre>pre-formatted fixed-width code block</pre>
/// <pre><code class="language-rust">pre-formatted fixed-width code block written in the Rust programming language</code></pre> /// <pre><code class="language-rust">pre-formatted fixed-width code block
/// ```` /// written in the Rust programming language</code></pre> ````
/// ///
/// Please note: /// Please note:
/// ///
/// - Only the tags mentioned above are currently supported. /// - 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 /// This is a legacy mode, retained for backward compatibility. To use this
/// mode, pass [`Markdown`] in the `parse_mode` field. /// mode, pass [`Markdown`] in the `parse_mode` field.
/// Use the following syntax in your message: /// Use the following syntax in your message:
///
/// ````text /// ````text
/// *bold text* /// *bold text*
/// _italic text_ /// _italic text_