Auto merge of #10256 - SylvainDe:master, r=giraffate

Fix version declared for semicolon_inside_block and semicolon_outside…

As per Issue #10244, the lint were documentated
as being part of 1.66.0 but will actually be
released 1.68.0 .

changelog: [`semicolon_inside_block`]: Documentation fix
Fixes #10244
This commit is contained in:
bors 2023-02-01 00:24:04 +00:00
commit 75d76806c1

View File

@ -30,7 +30,7 @@
/// # let x = 0; /// # let x = 0;
/// unsafe { f(x); } /// unsafe { f(x); }
/// ``` /// ```
#[clippy::version = "1.66.0"] #[clippy::version = "1.68.0"]
pub SEMICOLON_INSIDE_BLOCK, pub SEMICOLON_INSIDE_BLOCK,
restriction, restriction,
"add a semicolon inside the block" "add a semicolon inside the block"
@ -59,7 +59,7 @@
/// # let x = 0; /// # let x = 0;
/// unsafe { f(x) }; /// unsafe { f(x) };
/// ``` /// ```
#[clippy::version = "1.66.0"] #[clippy::version = "1.68.0"]
pub SEMICOLON_OUTSIDE_BLOCK, pub SEMICOLON_OUTSIDE_BLOCK,
restriction, restriction,
"add a semicolon outside the block" "add a semicolon outside the block"