Fix clippy warning namespaces.
This commit is contained in:
@@ -3,13 +3,13 @@
|
|||||||
#![cfg_attr(
|
#![cfg_attr(
|
||||||
feature = "cargo-clippy",
|
feature = "cargo-clippy",
|
||||||
warn(
|
warn(
|
||||||
float_arithmetic,
|
clippy::float_arithmetic,
|
||||||
mut_mut,
|
clippy::mut_mut,
|
||||||
nonminimal_bool,
|
clippy::nonminimal_bool,
|
||||||
option_map_unwrap_or,
|
clippy::option_map_unwrap_or,
|
||||||
option_map_unwrap_or_else,
|
clippy::option_map_unwrap_or_else,
|
||||||
unicode_not_nfc,
|
clippy::unicode_not_nfc,
|
||||||
use_self
|
clippy::use_self
|
||||||
)
|
)
|
||||||
)]
|
)]
|
||||||
|
|
||||||
|
|||||||
@@ -24,14 +24,14 @@
|
|||||||
#![cfg_attr(
|
#![cfg_attr(
|
||||||
feature = "cargo-clippy",
|
feature = "cargo-clippy",
|
||||||
warn(
|
warn(
|
||||||
float_arithmetic,
|
clippy::float_arithmetic,
|
||||||
mut_mut,
|
clippy::mut_mut,
|
||||||
nonminimal_bool,
|
clippy::nonminimal_bool,
|
||||||
option_map_unwrap_or,
|
clippy::option_map_unwrap_or,
|
||||||
option_map_unwrap_or_else,
|
clippy::option_map_unwrap_or_else,
|
||||||
print_stdout,
|
clippy::print_stdout,
|
||||||
unicode_not_nfc,
|
clippy::unicode_not_nfc,
|
||||||
use_self
|
clippy::use_self
|
||||||
)
|
)
|
||||||
)]
|
)]
|
||||||
// Turns on no_std and alloc features if std is not available.
|
// Turns on no_std and alloc features if std is not available.
|
||||||
|
|||||||
@@ -30,14 +30,14 @@
|
|||||||
#![cfg_attr(
|
#![cfg_attr(
|
||||||
feature = "cargo-clippy",
|
feature = "cargo-clippy",
|
||||||
warn(
|
warn(
|
||||||
float_arithmetic,
|
clippy::float_arithmetic,
|
||||||
mut_mut,
|
clippy::mut_mut,
|
||||||
nonminimal_bool,
|
clippy::nonminimal_bool,
|
||||||
option_map_unwrap_or,
|
clippy::option_map_unwrap_or,
|
||||||
option_map_unwrap_or_else,
|
clippy::option_map_unwrap_or_else,
|
||||||
print_stdout,
|
clippy::print_stdout,
|
||||||
unicode_not_nfc,
|
clippy::unicode_not_nfc,
|
||||||
use_self
|
clippy::use_self
|
||||||
)
|
)
|
||||||
)]
|
)]
|
||||||
// Turns on no_std and alloc features if std is not available.
|
// Turns on no_std and alloc features if std is not available.
|
||||||
|
|||||||
@@ -40,14 +40,14 @@
|
|||||||
#![cfg_attr(
|
#![cfg_attr(
|
||||||
feature = "cargo-clippy",
|
feature = "cargo-clippy",
|
||||||
warn(
|
warn(
|
||||||
float_arithmetic,
|
clippy::float_arithmetic,
|
||||||
mut_mut,
|
clippy::mut_mut,
|
||||||
nonminimal_bool,
|
clippy::nonminimal_bool,
|
||||||
option_map_unwrap_or,
|
clippy::option_map_unwrap_or,
|
||||||
option_map_unwrap_or_else,
|
clippy::option_map_unwrap_or_else,
|
||||||
print_stdout,
|
clippy::print_stdout,
|
||||||
unicode_not_nfc,
|
clippy::unicode_not_nfc,
|
||||||
use_self
|
clippy::use_self
|
||||||
)
|
)
|
||||||
)]
|
)]
|
||||||
// Turns on no_std and alloc features if std is not available.
|
// Turns on no_std and alloc features if std is not available.
|
||||||
|
|||||||
@@ -17,14 +17,14 @@
|
|||||||
#![cfg_attr(
|
#![cfg_attr(
|
||||||
feature = "cargo-clippy",
|
feature = "cargo-clippy",
|
||||||
warn(
|
warn(
|
||||||
float_arithmetic,
|
clippy::float_arithmetic,
|
||||||
mut_mut,
|
clippy::mut_mut,
|
||||||
nonminimal_bool,
|
clippy::nonminimal_bool,
|
||||||
option_map_unwrap_or,
|
clippy::option_map_unwrap_or,
|
||||||
option_map_unwrap_or_else,
|
clippy::option_map_unwrap_or_else,
|
||||||
print_stdout,
|
clippy::print_stdout,
|
||||||
unicode_not_nfc,
|
clippy::unicode_not_nfc,
|
||||||
use_self
|
clippy::use_self
|
||||||
)
|
)
|
||||||
)]
|
)]
|
||||||
|
|
||||||
|
|||||||
@@ -14,12 +14,12 @@
|
|||||||
#![cfg_attr(
|
#![cfg_attr(
|
||||||
feature = "cargo-clippy",
|
feature = "cargo-clippy",
|
||||||
warn(
|
warn(
|
||||||
mut_mut,
|
clippy::mut_mut,
|
||||||
nonminimal_bool,
|
clippy::nonminimal_bool,
|
||||||
option_map_unwrap_or,
|
clippy::option_map_unwrap_or,
|
||||||
option_map_unwrap_or_else,
|
clippy::option_map_unwrap_or_else,
|
||||||
unicode_not_nfc,
|
clippy::unicode_not_nfc,
|
||||||
use_self
|
clippy::use_self
|
||||||
)
|
)
|
||||||
)]
|
)]
|
||||||
|
|
||||||
|
|||||||
@@ -164,14 +164,14 @@
|
|||||||
#![cfg_attr(
|
#![cfg_attr(
|
||||||
feature = "cargo-clippy",
|
feature = "cargo-clippy",
|
||||||
warn(
|
warn(
|
||||||
float_arithmetic,
|
clippy::float_arithmetic,
|
||||||
mut_mut,
|
clippy::mut_mut,
|
||||||
nonminimal_bool,
|
clippy::nonminimal_bool,
|
||||||
option_map_unwrap_or,
|
clippy::option_map_unwrap_or,
|
||||||
option_map_unwrap_or_else,
|
clippy::option_map_unwrap_or_else,
|
||||||
print_stdout,
|
clippy::print_stdout,
|
||||||
unicode_not_nfc,
|
clippy::unicode_not_nfc,
|
||||||
use_self
|
clippy::use_self
|
||||||
)
|
)
|
||||||
)]
|
)]
|
||||||
#![cfg_attr(not(feature = "std"), no_std)]
|
#![cfg_attr(not(feature = "std"), no_std)]
|
||||||
|
|||||||
@@ -11,14 +11,14 @@
|
|||||||
#![cfg_attr(
|
#![cfg_attr(
|
||||||
feature = "cargo-clippy",
|
feature = "cargo-clippy",
|
||||||
warn(
|
warn(
|
||||||
float_arithmetic,
|
clippy::float_arithmetic,
|
||||||
mut_mut,
|
clippy::mut_mut,
|
||||||
nonminimal_bool,
|
clippy::nonminimal_bool,
|
||||||
option_map_unwrap_or,
|
clippy::option_map_unwrap_or,
|
||||||
option_map_unwrap_or_else,
|
clippy::option_map_unwrap_or_else,
|
||||||
print_stdout,
|
clippy::print_stdout,
|
||||||
unicode_not_nfc,
|
clippy::unicode_not_nfc,
|
||||||
use_self
|
clippy::use_self
|
||||||
)
|
)
|
||||||
)]
|
)]
|
||||||
// Turns on no_std and alloc features if std is not available.
|
// Turns on no_std and alloc features if std is not available.
|
||||||
|
|||||||
@@ -16,14 +16,14 @@
|
|||||||
#![cfg_attr(
|
#![cfg_attr(
|
||||||
feature = "cargo-clippy",
|
feature = "cargo-clippy",
|
||||||
warn(
|
warn(
|
||||||
float_arithmetic,
|
clippy::float_arithmetic,
|
||||||
mut_mut,
|
clippy::mut_mut,
|
||||||
nonminimal_bool,
|
clippy::nonminimal_bool,
|
||||||
option_map_unwrap_or,
|
clippy::option_map_unwrap_or,
|
||||||
option_map_unwrap_or_else,
|
clippy::option_map_unwrap_or_else,
|
||||||
print_stdout,
|
clippy::print_stdout,
|
||||||
unicode_not_nfc,
|
clippy::unicode_not_nfc,
|
||||||
use_self
|
clippy::use_self
|
||||||
)
|
)
|
||||||
)]
|
)]
|
||||||
#![cfg_attr(not(feature = "std"), no_std)]
|
#![cfg_attr(not(feature = "std"), no_std)]
|
||||||
|
|||||||
@@ -11,14 +11,14 @@
|
|||||||
#![cfg_attr(
|
#![cfg_attr(
|
||||||
feature = "cargo-clippy",
|
feature = "cargo-clippy",
|
||||||
warn(
|
warn(
|
||||||
float_arithmetic,
|
clippy::float_arithmetic,
|
||||||
mut_mut,
|
clippy::mut_mut,
|
||||||
nonminimal_bool,
|
clippy::nonminimal_bool,
|
||||||
option_map_unwrap_or,
|
clippy::option_map_unwrap_or,
|
||||||
option_map_unwrap_or_else,
|
clippy::option_map_unwrap_or_else,
|
||||||
print_stdout,
|
clippy::print_stdout,
|
||||||
unicode_not_nfc,
|
clippy::unicode_not_nfc,
|
||||||
use_self
|
clippy::use_self
|
||||||
)
|
)
|
||||||
)]
|
)]
|
||||||
#![cfg_attr(not(feature = "std"), no_std)]
|
#![cfg_attr(not(feature = "std"), no_std)]
|
||||||
|
|||||||
@@ -18,14 +18,14 @@
|
|||||||
#![cfg_attr(
|
#![cfg_attr(
|
||||||
feature = "cargo-clippy",
|
feature = "cargo-clippy",
|
||||||
warn(
|
warn(
|
||||||
float_arithmetic,
|
clippy::float_arithmetic,
|
||||||
mut_mut,
|
clippy::mut_mut,
|
||||||
nonminimal_bool,
|
clippy::nonminimal_bool,
|
||||||
option_map_unwrap_or,
|
clippy::option_map_unwrap_or,
|
||||||
option_map_unwrap_or_else,
|
clippy::option_map_unwrap_or_else,
|
||||||
print_stdout,
|
clippy::print_stdout,
|
||||||
unicode_not_nfc,
|
clippy::unicode_not_nfc,
|
||||||
use_self
|
clippy::use_self
|
||||||
)
|
)
|
||||||
)]
|
)]
|
||||||
|
|
||||||
|
|||||||
@@ -15,13 +15,13 @@
|
|||||||
#![cfg_attr(
|
#![cfg_attr(
|
||||||
feature = "cargo-clippy",
|
feature = "cargo-clippy",
|
||||||
warn(
|
warn(
|
||||||
float_arithmetic,
|
clippy::float_arithmetic,
|
||||||
mut_mut,
|
clippy::mut_mut,
|
||||||
nonminimal_bool,
|
clippy::nonminimal_bool,
|
||||||
option_map_unwrap_or,
|
clippy::option_map_unwrap_or,
|
||||||
option_map_unwrap_or_else,
|
clippy::option_map_unwrap_or_else,
|
||||||
unicode_not_nfc,
|
clippy::unicode_not_nfc,
|
||||||
use_self
|
clippy::use_self
|
||||||
)
|
)
|
||||||
)]
|
)]
|
||||||
|
|
||||||
|
|||||||
@@ -15,14 +15,14 @@
|
|||||||
#![cfg_attr(
|
#![cfg_attr(
|
||||||
feature = "cargo-clippy",
|
feature = "cargo-clippy",
|
||||||
warn(
|
warn(
|
||||||
float_arithmetic,
|
clippy::float_arithmetic,
|
||||||
mut_mut,
|
clippy::mut_mut,
|
||||||
nonminimal_bool,
|
clippy::nonminimal_bool,
|
||||||
option_map_unwrap_or,
|
clippy::option_map_unwrap_or,
|
||||||
option_map_unwrap_or_else,
|
clippy::option_map_unwrap_or_else,
|
||||||
print_stdout,
|
clippy::print_stdout,
|
||||||
unicode_not_nfc,
|
clippy::unicode_not_nfc,
|
||||||
use_self
|
clippy::use_self
|
||||||
)
|
)
|
||||||
)]
|
)]
|
||||||
|
|
||||||
|
|||||||
@@ -15,14 +15,14 @@
|
|||||||
#![cfg_attr(
|
#![cfg_attr(
|
||||||
feature = "cargo-clippy",
|
feature = "cargo-clippy",
|
||||||
warn(
|
warn(
|
||||||
float_arithmetic,
|
clippy::float_arithmetic,
|
||||||
mut_mut,
|
clippy::mut_mut,
|
||||||
nonminimal_bool,
|
clippy::nonminimal_bool,
|
||||||
option_map_unwrap_or,
|
clippy::option_map_unwrap_or,
|
||||||
option_map_unwrap_or_else,
|
clippy::option_map_unwrap_or_else,
|
||||||
print_stdout,
|
clippy::print_stdout,
|
||||||
unicode_not_nfc,
|
clippy::unicode_not_nfc,
|
||||||
use_self
|
clippy::use_self
|
||||||
)
|
)
|
||||||
)]
|
)]
|
||||||
|
|
||||||
|
|||||||
@@ -20,14 +20,14 @@
|
|||||||
#![cfg_attr(
|
#![cfg_attr(
|
||||||
feature = "cargo-clippy",
|
feature = "cargo-clippy",
|
||||||
warn(
|
warn(
|
||||||
float_arithmetic,
|
clippy::float_arithmetic,
|
||||||
mut_mut,
|
clippy::mut_mut,
|
||||||
nonminimal_bool,
|
clippy::nonminimal_bool,
|
||||||
option_map_unwrap_or,
|
clippy::option_map_unwrap_or,
|
||||||
option_map_unwrap_or_else,
|
clippy::option_map_unwrap_or_else,
|
||||||
print_stdout,
|
clippy::print_stdout,
|
||||||
unicode_not_nfc,
|
clippy::unicode_not_nfc,
|
||||||
use_self
|
clippy::use_self
|
||||||
)
|
)
|
||||||
)]
|
)]
|
||||||
#![cfg_attr(not(feature = "std"), no_std)]
|
#![cfg_attr(not(feature = "std"), no_std)]
|
||||||
|
|||||||
Reference in New Issue
Block a user