188 |
empty_line = false;
|
189 |
#[allow(clippy::match_bool)]
|
190 |
match fmt.full_name {
|
99 |
// https://bugzilla.redhat.com/show_bug.cgi?id=1905159
|
100 |
#[allow(clippy::match_bool, clippy::match_single_binding)]
|
101 |
let sector_size = match is_dasd(device, None)
|
372 |
// copy the image
|
373 |
#[allow(clippy::match_bool, clippy::match_single_binding)]
|
374 |
let image_copy = match is_dasd(device, Some(dest))? {
|
1118 |
} else {
|
1119 |
#[allow(clippy::match_bool)]
|
1120 |
match self.alignment {
|
84 |
/// (Note injecting properties requires that copy=true)
|
85 |
#[allow(clippy::match_bool)]
|
86 |
fn install_dna_from_file(
|
31 |
#[holochain_tracing_macros::newrelic_autotrace(HOLOCHAIN_CONDUCTOR_LIB)]
|
32 |
#[allow(clippy::ptr_arg, clippy::match_bool)]
|
33 |
impl ConductorUiAdmin for Conductor {
|
91 |
let ident = field.ident;
|
92 |
#[allow(clippy::match_bool)]
|
93 |
match field.is_tag {
|
544 |
#[allow(clippy::match_bool)]
|
545 |
impl EventBindingOptions {
|
47 |
clippy::unreadable_literal,
|
48 |
clippy::match_bool,
|
49 |
clippy::large_enum_variant
|
260 |
} else {
|
261 |
#[allow(clippy::match_bool)]
|
262 |
match self.alignment {
|
48 |
{
|
49 |
#[allow(clippy::match_bool)]
|
50 |
match v {
|
159 |
#[allow(clippy::match_bool)]
|
160 |
fn next(&mut self) -> Option<Result<Pileup>> {
|
543 |
#[pyclassmethod]
|
544 |
#[allow(clippy::match_bool)]
|
545 |
fn from_bytes(
|
574 |
#[pymethod]
|
575 |
#[allow(clippy::match_bool)]
|
576 |
fn to_bytes(&self, args: IntToByteArgs, vm: &VirtualMachine) -> PyResult<PyBytes> {
|
654 |
#[allow(clippy::match_bool)]
|
655 |
fn perform_on_metadata(
|
117 |
#[pymethod(name = "__enter__")]
|
118 |
#[allow(clippy::float_cmp, clippy::match_bool)]
|
119 |
fn acquire(&self, args: AcquireArgs, vm: &VirtualMachine) -> PyResult<bool> {
|
178 |
#[pymethod(name = "__enter__")]
|
179 |
#[allow(clippy::float_cmp, clippy::match_bool)]
|
180 |
fn acquire(&self, args: AcquireArgs, vm: &VirtualMachine) -> PyResult<bool> {
|
9 |
#[allow(clippy::match_bool)]
|
10 |
pub fn validate<'s>(args: &ArgMatches) -> Result<(), Error<'s>> {
|
59 |
#[allow(clippy::match_bool)]
|
60 |
fn try_parse(source: &str, builder: Scdlang<'a>) -> Result<Self, DynError> {
|
25 |
pub fn new(url: url::Url, socket: BaseStream<T>, is_server: bool) -> Self {
|
26 |
#[allow(clippy::match_bool)]
|
27 |
WssInfo {
|
267 |
}
|
268 |
#[allow(clippy::match_bool)]
|
269 |
let mining_future = match spawn_mining_task {
|
35 |
#[allow(
|
36 |
clippy::match_bool,
|
37 |
clippy::redundant_closure_for_method_calls,
|
100 |
|| (tc.linux_5_10 && !TC.linux_5_10);
|
101 |
#[allow(clippy::match_bool)] // already disabled upstream
|
102 |
let ignore = match ignore {
|
1005 |
#[allow(clippy::match_bool)]
|
1006 |
fn bool_val(val: bool) -> u32 {
|
236 |
// Ignore this clippy lint since this makes the conversion more expressive
|
237 |
#[allow(clippy::match_bool)]
|
238 |
fn from(input: bool) -> LiteralValue
|
9 |
#![warn(clippy::pedantic)]
|
10 |
#![allow(clippy::match_bool)]
|
11 |
#![allow(clippy::if_not_else)]
|
7 |
clippy::let_and_return,
|
8 |
clippy::match_bool,
|
9 |
clippy::never_loop,
|
9 |
#![warn(clippy::pedantic)]
|
10 |
#![allow(clippy::match_bool)]
|
11 |
#![allow(clippy::if_not_else)]
|
15 |
clippy::iter_nth_zero,
|
16 |
clippy::match_bool,
|
17 |
clippy::missing_errors_doc,
|
12 |
#![forbid(unsafe_code)]
|
13 |
#![allow(clippy::match_bool)]
|
26 |
clippy::iter_nth_zero,
|
27 |
clippy::match_bool,
|
28 |
clippy::missing_errors_doc,
|
9 |
#![warn(missing_docs)]
|
10 |
#![allow(clippy::match_bool, clippy::useless_format)]
|
4 |
#![allow(clippy::match_bool)]
|
96 |
#![allow(clippy::len_zero)]
|
97 |
#![allow(clippy::match_bool)]
|
98 |
#![allow(clippy::unreadable_literal)]
|
1 |
#![allow(clippy::match_bool)]
|
2 |
use std::collections::HashMap;
|
1 |
#![allow(clippy::match_bool)]
|
2 |
//! A module that contains different kinds of iterators.
|
1 |
#![allow(clippy::match_bool)]
|
2 |
use std::collections::VecDeque;
|
2 |
//! inputs. Should be used to detect format and security mitigations for a singular binary.
|
3 |
#![allow(clippy::match_bool)]
|
12 |
clippy::iter_nth_zero,
|
13 |
clippy::match_bool,
|
14 |
clippy::missing_errors_doc,
|
23 |
#![allow(clippy::match_bool)]
|
24 |
#![doc(html_root_url = "https://docs.rs/brainfrick/1.1.2")]
|
31 |
#![allow(clippy::let_underscore_must_use)]
|
32 |
#![allow(clippy::match_bool)] // prettier
|
33 |
#![allow(clippy::missing_docs_in_private_items)]
|
33 |
#![allow(clippy::let_underscore_must_use)]
|
34 |
#![allow(clippy::match_bool)] // prettier
|
35 |
#![allow(clippy::missing_docs_in_private_items)]
|
72 |
#![allow(clippy::let_underscore_must_use)]
|
73 |
#![allow(clippy::match_bool)] // prettier
|
74 |
#![allow(clippy::mem_forget)] // Useful for FFI
|
8 |
#![warn(clippy::pedantic)]
|
9 |
#![allow(clippy::match_bool)]
|
10 |
#![allow(clippy::if_not_else)]
|
8 |
#![warn(clippy::pedantic)]
|
9 |
#![allow(clippy::match_bool)]
|
10 |
#![allow(clippy::if_not_else)]
|
74 |
clippy::manual_map,
|
75 |
clippy::match_bool,
|
76 |
clippy::missing_errors_doc,
|
58 |
clippy::items_after_statements,
|
59 |
clippy::match_bool,
|
60 |
clippy::match_on_vec_items,
|
19 |
clippy::items_after_statements,
|
20 |
clippy::match_bool,
|
21 |
clippy::match_on_vec_items,
|
10 |
clippy::large_enum_variant,
|
11 |
clippy::match_bool,
|
12 |
clippy::match_on_vec_items,
|
10 |
clippy::large_enum_variant,
|
11 |
clippy::match_bool,
|
12 |
clippy::match_same_arms,
|
32 |
#![allow(clippy::cognitive_complexity)]
|
33 |
#![allow(clippy::match_bool)]
|
106 |
#![allow(clippy::cognitive_complexity)]
|
107 |
#![allow(clippy::match_bool)]
|
46 |
// Bool expr are usually easier to read with match statements.
|
47 |
#![allow(clippy::match_bool)]
|
48 |
// We have quite some functions that require quite some args by it's nature.
|
90 |
#![allow(clippy::enum_glob_use)]
|
91 |
#![allow(clippy::match_bool)]
|
92 |
#![allow(clippy::single_match_else)]
|
49 |
// Bool expr are usually easier to read with match statements.
|
50 |
#![allow(clippy::match_bool)]
|
51 |
// We have quite some functions that require quite some args by it's nature.
|
42 |
clippy::inline_always,
|
43 |
clippy::match_bool,
|
44 |
clippy::module_name_repetitions
|
55 |
#![crate_type = "dylib"]
|
56 |
#![allow(clippy::match_bool)]
|
1 |
#![recursion_limit = "128"]
|
2 |
#![allow(clippy::match_bool)]
|
1 |
#![allow(clippy::useless_format, clippy::match_bool)]
|
2 |
#[macro_use]
|
96 |
#![allow(clippy::len_zero)]
|
97 |
#![allow(clippy::match_bool)]
|
98 |
#![allow(clippy::unreadable_literal)]
|
4 |
clippy::needless_pass_by_value,
|
5 |
clippy::match_bool,
|
6 |
clippy::module_name_repetitions
|
1 |
#![cfg_attr(feature = "cargo-clippy", allow(inline_always, match_bool))]
|
2 |
//! Ever wanted to call `.max()` on an iterator of floats? Now you can! Well, almost: `.ord_subset_max()`.
|
49 |
// Bool expr are usually easier to read with match statements.
|
50 |
#![allow(clippy::match_bool)]
|
51 |
// We have quite some functions that require quite some args by it's nature.
|
15 |
#![warn(clippy::pedantic)]
|
16 |
#![allow(clippy::match_bool)]
|
17 |
#![allow(clippy::module_name_repetitions)] // Matching the SDK documentation.
|
8 |
#![warn(clippy::pedantic)]
|
9 |
#![allow(clippy::match_bool)]
|
10 |
// Matching the SDK documentation.
|
49 |
// Bool expr are usually easier to read with match statements.
|
50 |
#![allow(clippy::match_bool)]
|
51 |
// We have quite some functions that require quite some args by it's nature.
|
49 |
#![warn(missing_docs)]
|
50 |
#![allow(clippy::match_bool)]
|
1 |
#![allow(clippy::match_bool)]
|
2 |
#![allow(clippy::match_like_matches_macro)]
|
17 |
// Allow for using booleans in match statements where it makes it more readable
|
18 |
#![allow(clippy::match_bool)]
|
19 |
// Allow missing Errors docs
|
22 |
#![allow(
|
23 |
clippy::match_bool,
|
24 |
incomplete_features,
|
1 |
#![allow(clippy::items_after_statements)]
|
2 |
#![allow(clippy::match_bool)]
|
3 |
#![cfg_attr(feature = "release", deny(warnings))]
|
9 |
#![warn(clippy::pedantic)]
|
10 |
#![allow(clippy::match_bool)]
|
11 |
#![allow(clippy::if_not_else)]
|
4 |
#![cfg_attr(feature = "cargo-clippy", allow(items_after_statements))]
|
5 |
#![cfg_attr(feature = "cargo-clippy", allow(match_bool))]
|
6 |
#![cfg_attr(feature = "cargo-clippy", allow(module_inception))]
|
89 |
// Cleaner in some cases
|
90 |
#![allow(clippy::match_bool)]
|
91 |
// Better with repetition
|
2 |
clippy::let_underscore_drop,
|
3 |
clippy::match_bool,
|
4 |
// Clippy bug: https://github.com/rust-lang/rust-clippy/issues/7422
|
74 |
clippy::manual_map,
|
75 |
clippy::match_bool,
|
76 |
clippy::missing_errors_doc,
|
1 |
#![allow(clippy::match_bool)]
|
260 |
#![cfg_attr(feature = "cargo-clippy",
|
261 |
allow(const_static_lifetime, doc_markdown, large_enum_variant, match_bool,
|
262 |
redundant_closure, needless_pass_by_value))]
|
26 |
// generally way less readable IMO.
|
27 |
clippy::match_bool,
|
28 |
// Without this, every single use of const generics is warned against.
|
114 |
#![cfg_attr(feature = "cargo-clippy", allow(match_same_arms))]
|
115 |
#![cfg_attr(feature = "cargo-clippy", allow(match_bool))]
|
6 |
clippy_complexity,
|
7 |
match_bool,
|
8 |
unreadable_literal,
|
56 |
#![warn(rustdoc::broken_intra_doc_links)]
|
57 |
#![allow(clippy::match_bool)]
|
58 |
#![allow(clippy::redundant_pattern_matching)]
|
18 |
clippy::missing_errors_doc,
|
19 |
clippy::match_bool,
|
20 |
clippy::must_use_candidate,
|
4 |
#![allow(clippy::missing_panics_doc)]
|
5 |
#![allow(clippy::match_bool)]
|
6 |
#![allow(clippy::must_use_candidate)]
|
23 |
clippy::match_as_ref,
|
24 |
clippy::match_bool,
|
25 |
clippy::needless_pass_by_value,
|
45 |
// Bool expr are usually easier to read with match statements.
|
46 |
#![allow(clippy::match_bool)]
|
47 |
// We have quite some functions that require quite some args by it's nature.
|
16 |
// `match` can look better than `if` + `else`
|
17 |
#![allow(clippy::single_match_else, clippy::match_bool)]
|
18 |
// Some false positives
|