Fix version declared for semicolon_inside_block and semicolon_outside_block

As per Issue #10244, the lint were documentated
as being part of 1.66.0 but will actually be
released 1.68.0 .
This commit is contained in:
Sylvain Desodt 2023-01-30 10:01:29 +01:00
parent 96c28d1f69
commit ecde2019e9

View file

@ -30,7 +30,7 @@ declare_clippy_lint! {
/// # 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 @@ declare_clippy_lint! {
/// # 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"