Make docs more consistent

This commit is contained in:
Serial 2022-05-28 09:22:59 -04:00
parent 5920fa3516
commit cfd0f5592b
29 changed files with 110 additions and 69 deletions

View file

@ -25,12 +25,13 @@ declare_clippy_lint! {
///
/// ### Examples
/// ```rust
///
/// // Bad
/// let foo = "foo";
/// format!("{}", foo);
/// ```
///
/// // Good
/// Use instead:
/// ```rust
/// let foo = "foo";
/// foo.to_owned();
/// ```
#[clippy::version = "pre 1.29.0"]