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
/// 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
/// <b>bold</b>, <strong>bold</strong>
/// <i>italic</i>, <em>italic</em>
/// <u>underline</u>, <ins>underline</ins>
/// <s>strikethrough</s>, <strike>strikethrough</strike>, <del>strikethrough</del>
/// <b>bold <i>italic bold <s>italic bold strikethrough</s> <u>underline italic bold</u></i> bold</b>
/// <a href="http:// www.example.com/">inline URL</a>
/// <s>strikethrough</s>, <strike>strikethrough</strike>,
/// <del>strikethrough</del> <b>bold <i>italic bold <s>italic bold
/// 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>
/// <code>inline fixed-width code</code>
/// <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:
///
/// - 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_