25 |
/// * See description.
|
26 |
#[allow(clippy::match_single_binding)]
|
419 |
/// * See description.
|
420 |
#[allow(clippy::match_single_binding)]
|
140 |
.unwrap();
|
141 |
#[allow(clippy::match_single_binding)]
|
142 |
match verify_receipt.parse_response(
|
490 |
{
|
491 |
#[allow(clippy::match_single_binding)]
|
492 |
match value {
|
640 |
{
|
641 |
#[allow(clippy::match_single_binding)]
|
642 |
match value {
|
1682 |
{
|
1683 |
#[allow(clippy::match_single_binding)]
|
1684 |
match value {
|
2213 |
{
|
2214 |
#[allow(clippy::match_single_binding)]
|
2215 |
match value {
|
3614 |
{
|
3615 |
#[allow(clippy::match_single_binding)]
|
3616 |
match value {
|
524 |
// Using match makes it easier to extend code in the future.
|
525 |
#[allow(clippy::match_single_binding)]
|
526 |
fn from(with: u32) -> Self {
|
270 |
try_await_result!(skip_whitespaces(&mut self.input));
|
271 |
#[allow(clippy::match_single_binding)]
|
272 |
let param_id = match try_await!(parse_real_value(&mut self.input)) {
|
194 |
pub fn associativity(&self) -> Associativity {
|
195 |
#[allow(clippy::match_single_binding)]
|
196 |
match self {
|
150 |
#[allow(clippy::match_single_binding)]
|
151 |
match this.state {
|
18 |
#[allow(
|
19 |
clippy::match_single_binding,
|
20 |
clippy::redundant_closure_call,
|
1287 |
impl DocumentElementContainer for Activity {
|
1288 |
#[allow(unreachable_patterns, clippy::match_single_binding, unused_variables)]
|
1289 |
fn find_by_id_mut(&mut self, id: &str) -> Option<&mut dyn DocumentElement> {
|
1295 |
#[allow(unreachable_patterns, clippy::match_single_binding, unused_variables)]
|
1296 |
fn find_by_id(&self, id: &str) -> Option<&dyn DocumentElement> {
|
2209 |
impl DocumentElementContainer for Artifact {
|
2210 |
#[allow(unreachable_patterns, clippy::match_single_binding, unused_variables)]
|
2211 |
fn find_by_id_mut(&mut self, id: &str) -> Option<&mut dyn DocumentElement> {
|
2221 |
#[allow(unreachable_patterns, clippy::match_single_binding, unused_variables)]
|
2222 |
fn find_by_id(&self, id: &str) -> Option<&dyn DocumentElement> {
|
7782 |
impl DocumentElementContainer for BaseElement {
|
7783 |
#[allow(unreachable_patterns, clippy::match_single_binding, unused_variables)]
|
7784 |
fn find_by_id_mut(&mut self, id: &str) -> Option<&mut dyn DocumentElement> {
|
311 |
#[allow(clippy::manual_map)]
|
312 |
#[allow(clippy::match_single_binding)]
|
313 |
pub mod config_parser;
|
139 |
fn nonce(self) -> u64 {
|
140 |
#[allow(clippy::match_single_binding)]
|
141 |
match self {
|
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))? {
|
19 |
#[allow(clippy::match_single_binding)]
|
20 |
match platform.target_arch {
|
1646 |
#[allow(clippy::match_single_binding)]
|
1647 |
match metadata {
|
1676 |
#[allow(clippy::match_single_binding)]
|
1677 |
match metadata {
|
1015 |
#[allow(clippy::match_single_binding)]
|
1016 |
match metadata {
|
1047 |
#[allow(clippy::match_single_binding)]
|
1048 |
match metadata {
|
1003 |
#[allow(clippy::match_single_binding)]
|
1004 |
match metadata {
|
1035 |
#[allow(clippy::match_single_binding)]
|
1036 |
match metadata {
|
132 |
// NOTE(lint): uncertain how to structure this otherwise
|
133 |
#[allow(clippy::match_single_binding)]
|
134 |
async fn do_pull(
|
18 |
#[allow(
|
19 |
clippy::match_single_binding,
|
20 |
clippy::redundant_closure_call,
|
68 |
for path in config.content.iter() {
|
69 |
#[allow(clippy::match_single_binding)]
|
70 |
match load_directory(root_dir.join(path), &root_dir, include_unpublished)
|
163 |
fn nonce(self) -> u64 {
|
164 |
#[allow(clippy::match_single_binding)]
|
165 |
match self {
|
573 |
fn nonce(self) -> u64 {
|
574 |
#[allow(clippy::match_single_binding)]
|
575 |
match self {
|
371 |
let a = 3;
|
372 |
#[allow(clippy::match_single_binding)]
|
373 |
match a {
|
86 |
// NOTE: Free to add more specific messaging/handing here as needed
|
87 |
#[allow(clippy::match_single_binding)]
|
88 |
let (status, err_msg) = match self {
|
148 |
#[allow(clippy::match_single_binding)]
|
149 |
match this.state {
|
90 |
// adding blocks for every combination has the opposite effect
|
91 |
#[allow(clippy::match_single_binding)]
|
92 |
match connection_uri {
|
144 |
// adding blocks for every combination has the opposite effect
|
145 |
#[allow(clippy::match_single_binding)]
|
146 |
fn from_str(s: &str) -> Result<Self, Self::Err> {
|
87 |
pub unsafe fn begin_query(&self, query: Query) {
|
88 |
#[allow(clippy::match_single_binding)]
|
89 |
let index = match query.ty {
|
96 |
pub unsafe fn end_query(&self, query: Query) {
|
97 |
#[allow(clippy::match_single_binding)]
|
98 |
let index = match query.ty {
|
2436 |
#[allow(clippy::missing_inline_in_public_items)]
|
2437 |
#[allow(clippy::match_single_binding)]
|
2438 |
pub const fn vsib(&self) -> Option<bool> {
|
2821 |
#[cfg_attr(feature = "cargo-fmt", rustfmt::skip)]
|
2822 |
#[allow(clippy::match_single_binding)]
|
2823 |
match self.code() {
|
2940 |
#[cfg_attr(feature = "cargo-fmt", rustfmt::skip)]
|
2941 |
#[allow(clippy::match_single_binding)]
|
2942 |
match self.code() {
|
133 |
) -> Result<AsyncSmtpConnection, Error> {
|
134 |
#[allow(clippy::match_single_binding)]
|
135 |
let tls_parameters = match tls {
|
230 |
) -> Result<AsyncSmtpConnection, Error> {
|
231 |
#[allow(clippy::match_single_binding)]
|
232 |
let tls_parameters = match tls {
|
219 |
pub fn connection(&self) -> Result<SmtpConnection, Error> {
|
220 |
#[allow(clippy::match_single_binding)]
|
221 |
let tls_parameters = match self.info.tls {
|
153 |
fn update_from_peer(&mut self, message: &Messages) -> Result<(), Error> {
|
154 |
#[allow(clippy::match_single_binding)] // temporarily
|
155 |
match message {
|
318 |
) -> Result<(), Error> {
|
319 |
#[allow(clippy::match_single_binding)]
|
320 |
match request {
|
179 |
) -> Result<(), Error> {
|
180 |
#[allow(clippy::match_single_binding)]
|
181 |
match message {
|
120 |
});
|
121 |
#[allow(clippy::match_single_binding)]
|
122 |
match driver_type {
|
831 |
// Required for no-default-features
|
832 |
#[allow(clippy::match_single_binding)]
|
833 |
pub fn write<P: AsRef<Path>, C: AsRef<[u8]>>(path: P, contents: C) -> Result<(), Error> {
|
856 |
// Required for no-default-features
|
857 |
#[allow(clippy::match_single_binding)]
|
858 |
pub fn append<P: AsRef<Path>, C: AsRef<[u8]>>(path: P, contents: C) -> Result<(), Error> {
|
1413 |
#[allow(clippy::match_single_binding)]
|
1414 |
async fn handle_method(
|
1440 |
#[allow(clippy::match_single_binding)]
|
1441 |
#[inline]
|
1448 |
#[allow(clippy::match_single_binding)]
|
1449 |
fn handle_create_interaction(
|
2172 |
#[allow(clippy::match_single_binding)]
|
2173 |
async fn handle_method(
|
2205 |
#[allow(clippy::match_single_binding)]
|
2206 |
#[inline]
|
2213 |
#[allow(clippy::match_single_binding)]
|
2214 |
fn handle_create_interaction(
|
3006 |
#[allow(clippy::match_single_binding)]
|
3007 |
async fn handle_method(
|
3045 |
#[allow(clippy::match_single_binding)]
|
3046 |
#[inline]
|
3053 |
#[allow(clippy::match_single_binding)]
|
3054 |
fn handle_create_interaction(
|
20453 |
#[allow(clippy::match_single_binding)]
|
20454 |
async fn handle_method(
|
20636 |
#[allow(clippy::match_single_binding)]
|
20637 |
#[inline]
|
20644 |
#[allow(clippy::match_single_binding)]
|
20645 |
fn handle_create_interaction(
|
33298 |
#[allow(clippy::match_single_binding)]
|
33299 |
async fn handle_method(
|
33586 |
#[allow(clippy::match_single_binding)]
|
33587 |
#[inline]
|
33594 |
#[allow(clippy::match_single_binding)]
|
33595 |
fn handle_create_interaction(
|
31463 |
#[allow(clippy::match_single_binding)]
|
31464 |
async fn handle_method(
|
31736 |
#[allow(clippy::match_single_binding)]
|
31737 |
#[inline]
|
31744 |
#[allow(clippy::match_single_binding)]
|
31745 |
fn handle_create_interaction(
|
1369 |
#[allow(clippy::match_single_binding)]
|
1370 |
async fn handle_method(
|
1396 |
#[allow(clippy::match_single_binding)]
|
1397 |
#[inline]
|
1404 |
#[allow(clippy::match_single_binding)]
|
1405 |
fn handle_create_interaction(
|
1735 |
#[allow(clippy::match_single_binding)]
|
1736 |
async fn handle_method(
|
1765 |
#[allow(clippy::match_single_binding)]
|
1766 |
#[inline]
|
1773 |
#[allow(clippy::match_single_binding)]
|
1774 |
fn handle_create_interaction(
|
2103 |
#[allow(clippy::match_single_binding)]
|
2104 |
async fn handle_method(
|
2136 |
#[allow(clippy::match_single_binding)]
|
2137 |
#[inline]
|
2144 |
#[allow(clippy::match_single_binding)]
|
2145 |
fn handle_create_interaction(
|
11645 |
#[allow(clippy::match_single_binding)]
|
11646 |
async fn handle_method(
|
11756 |
#[allow(clippy::match_single_binding)]
|
11757 |
#[inline]
|
11764 |
#[allow(clippy::match_single_binding)]
|
11765 |
fn handle_create_interaction(
|
11898 |
#[allow(clippy::match_single_binding)]
|
11899 |
async fn handle_method(
|
11964 |
#[allow(clippy::match_single_binding)]
|
11965 |
#[inline]
|
11972 |
#[allow(clippy::match_single_binding)]
|
11973 |
fn handle_create_interaction(
|
14058 |
#[allow(clippy::match_single_binding)]
|
14059 |
async fn handle_method(
|
14124 |
#[allow(clippy::match_single_binding)]
|
14125 |
#[inline]
|
12561 |
#[allow(clippy::match_single_binding)]
|
12562 |
async fn handle_method(
|
12642 |
#[allow(clippy::match_single_binding)]
|
12643 |
#[inline]
|
12650 |
#[allow(clippy::match_single_binding)]
|
12651 |
fn handle_create_interaction(
|
14505 |
#[allow(clippy::match_single_binding)]
|
14506 |
async fn handle_method(
|
14565 |
#[allow(clippy::match_single_binding)]
|
14566 |
#[inline]
|
68 |
#[allow(clippy::match_single_binding)]
|
69 |
match pm as _ {
|
65 |
// see parquet/CONTRIBUTING.md for instructions on regenerating
|
66 |
#[allow(clippy::derivable_impls, clippy::match_single_binding)]
|
67 |
pub mod format;
|
65 |
#[allow(irrefutable_let_patterns)]
|
66 |
#[allow(clippy::match_single_binding)]
|
67 |
fn drop(mut self: Pin<&mut Self>) {
|
346 |
#[allow(clippy::match_single_binding)] // destructuring the result
|
347 |
match reduce_middleware_result {
|
38 |
#[allow(unused_variables)]
|
39 |
#[allow(clippy::match_single_binding)]
|
40 |
fn get_field(&self, idx: usize) -> Option<Field<'a>> {
|
507 |
// Clippy gets angry when the syslog is disabled
|
508 |
#[allow(clippy::unknown_clippy_lints, clippy::match_single_binding)]
|
509 |
match self.destination {
|
219 |
// used
|
220 |
#[allow(unused_variables, clippy::match_single_binding)]
|
221 |
(Some(token_type), Some(token)) => match token_type {
|
372 |
impl TypesOrURI {
|
373 |
#[allow(clippy::match_single_binding)]
|
374 |
#[allow(unreachable_code)]
|
226 |
pub fn flush_stdouterr() {
|
227 |
#[allow(clippy::match_single_binding)]
|
228 |
match std::io::stdout().flush() {
|
230 |
};
|
231 |
#[allow(clippy::match_single_binding)]
|
232 |
match std::io::stderr().flush() {
|
826 |
if cfg!(debug_assertions) {
|
827 |
#[allow(clippy::match_single_binding)]
|
828 |
match stdout_lock.flush() {
|
20 |
clippy::redundant_field_names,
|
21 |
clippy::match_single_binding
|
22 |
)]
|
19 |
#[allow(clippy::match_single_binding)]
|
20 |
match platform.target_arch {
|
149 |
#[allow(clippy::match_single_binding)]
|
150 |
match this.state {
|
27 |
/// Decode private key
|
28 |
#[allow(unused, clippy::match_single_binding)]
|
29 |
pub fn decode_key(
|
735 |
/// Subsequent to calling this, the Message should not change.
|
736 |
#[allow(clippy::match_single_binding)]
|
737 |
pub fn finalize<MF: MessageFinalizer>(
|
452 |
/// Converts the bytes into a PulbicKey of the specified algorithm
|
453 |
#[allow(unused_variables, clippy::match_single_binding)]
|
454 |
pub fn from_public_bytes(public_key: &'k [u8], algorithm: Algorithm) -> ProtoResult<Self> {
|
475 |
impl<'k> PublicKey for PublicKeyEnum<'k> {
|
476 |
#[allow(clippy::match_single_binding, clippy::match_single_binding)]
|
477 |
fn public_bytes(&self) -> &[u8] {
|
490 |
#[allow(unused_variables, clippy::match_single_binding)]
|
491 |
fn verify(&self, algorithm: Algorithm, message: &[u8], signature: &[u8]) -> ProtoResult<()> {
|
477 |
impl<'a> From<(EdnsCode, &'a [u8])> for EdnsOption {
|
478 |
#[allow(clippy::match_single_binding)]
|
479 |
fn from(value: (EdnsCode, &'a [u8])) -> Self {
|
112 |
// but not in the case of Aarch64, there the ABI is slightly different
|
113 |
#[allow(clippy::match_single_binding)]
|
114 |
match target.triple().architecture {
|
3422 |
#[allow(clippy::match_single_binding)]
|
3423 |
match calling_convention {
|
3505 |
{
|
3506 |
#[allow(clippy::match_single_binding)]
|
3507 |
match calling_convention {
|
3629 |
};
|
3630 |
#[allow(clippy::match_single_binding)]
|
3631 |
match calling_convention {
|
1912 |
) -> Location {
|
1913 |
#[allow(clippy::match_single_binding)]
|
1914 |
match calling_convention {
|
8436 |
impl ErrorKind {
|
8437 |
#[allow(clippy::match_single_binding)]
|
8438 |
pub fn from_wire_error_code(
|
8816 |
/// Parse a generic X11 event into a concrete event type.
|
8817 |
#[allow(clippy::cognitive_complexity, clippy::match_single_binding)]
|
8818 |
pub fn parse(
|
9005 |
#[allow(clippy::match_single_binding)]
|
9006 |
fn from_generic_event(
|
184 |
fn try_from(fun: &Function) -> Result<Self, Self::Error> {
|
185 |
#[allow(clippy::match_single_binding)]
|
186 |
match fun.name {
|
224 |
fn try_from(tag: &Tag) -> Result<Self, Self::Error> {
|
225 |
#[allow(clippy::match_single_binding)]
|
226 |
match tag.name {
|
265 |
match fun.name {
|
266 |
#[allow(clippy::match_single_binding)]
|
267 |
FuncName::Equal => match &fun.params[..] {
|
274 |
},
|
275 |
#[allow(clippy::match_single_binding)]
|
276 |
FuncName::PlayerParameter => match &fun.params[..] {
|
313 |
clippy::match_like_matches_macro,
|
314 |
clippy::match_single_binding,
|
315 |
clippy::needless_doctest_main,
|
1 |
// Autogenerated file. To regenerate, please run `cargo run --bin generate-syntax`.
|
2 |
#![allow(clippy::match_single_binding)]
|
3 |
#![allow(clippy::too_many_arguments)]
|
73 |
// Prevent clippy from complaining about empty match expression that are used for cfg gating.
|
74 |
#![allow(clippy::match_single_binding)]
|
75 |
// This makes clippy warn about public functions which are not #[inline].
|
24 |
clippy::drop_copy,
|
25 |
clippy::match_single_binding,
|
26 |
clippy::redundant_clone
|
3 |
#![forbid(unsafe_code)] // select! is safe.
|
4 |
#![allow(clippy::drop_copy, clippy::match_single_binding)]
|
35 |
// produced by the derivative crate on the Noise struct.
|
36 |
#![allow(clippy::match_single_binding)]
|
37 |
#![allow(clippy::use_self)]
|
1 |
#![allow(clippy::cast_possible_truncation, clippy::match_single_binding)]
|
16 |
#![allow(clippy::map_flatten)]
|
17 |
#![allow(clippy::match_single_binding)]
|
18 |
#![allow(clippy::single_char_pattern)]
|
20 |
#![allow(clippy::eq_op)]
|
21 |
#![allow(clippy::match_single_binding)]
|
20 |
#![allow(clippy::eq_op)]
|
21 |
#![allow(clippy::match_single_binding)]
|
5 |
#![deny(unsafe_op_in_unsafe_fn)]
|
6 |
#![allow(clippy::match_single_binding)] // the `cfg` matching pattern
|
7 |
#![warn(clippy::doc_markdown)]
|
7 |
clippy::large_enum_variant,
|
8 |
clippy::match_single_binding,
|
9 |
clippy::missing_errors_doc,
|
13 |
#![allow(clippy::from_over_into)]
|
14 |
#![allow(clippy::match_single_binding)]
|
11 |
#![allow(clippy::from_over_into)]
|
12 |
#![allow(clippy::match_single_binding)]
|
11 |
#![allow(clippy::from_over_into)]
|
12 |
#![allow(clippy::match_single_binding)]
|
12 |
#![allow(clippy::from_over_into)]
|
13 |
#![allow(clippy::match_single_binding)]
|
16 |
#![allow(clippy::from_over_into)]
|
17 |
#![allow(clippy::match_single_binding)]
|
14 |
#![allow(clippy::from_over_into)]
|
15 |
#![allow(clippy::match_single_binding)]
|
12 |
#![allow(clippy::from_over_into)]
|
13 |
#![allow(clippy::match_single_binding)]
|
11 |
#![allow(clippy::from_over_into)]
|
12 |
#![allow(clippy::match_single_binding)]
|
11 |
#![allow(clippy::from_over_into)]
|
12 |
#![allow(clippy::match_single_binding)]
|
14 |
#![allow(clippy::from_over_into)]
|
15 |
#![allow(clippy::match_single_binding)]
|
7 |
clippy::large_enum_variant,
|
8 |
clippy::match_single_binding,
|
9 |
clippy::missing_errors_doc,
|
314 |
clippy::match_like_matches_macro,
|
315 |
clippy::match_single_binding,
|
316 |
clippy::needless_doctest_main,
|
321 |
clippy::match_like_matches_macro,
|
322 |
clippy::match_single_binding,
|
323 |
clippy::needless_doctest_main,
|
313 |
clippy::match_like_matches_macro,
|
314 |
clippy::match_single_binding,
|
315 |
clippy::needless_doctest_main,
|
8 |
#![allow(unreachable_patterns)]
|
9 |
#![allow(clippy::too_many_arguments, clippy::type_complexity, clippy::vec_box, clippy::match_single_binding)]
|
10 |
#![cfg_attr(rustfmt, rustfmt_skip)]
|
2 |
#![allow(
|
3 |
clippy::match_single_binding,
|
4 |
unknown_lints,
|