16 |
pub mod file;
|
17 |
#[allow(unused_results, renamed_and_removed_lints, clippy::too_many_arguments, clippy::type_complexity, clippy::redundant_field_names)]
|
18 |
#[rustfmt::skip]
|
31 |
#[allow(clippy::redundant_static_lifetimes)]
|
32 |
#[allow(clippy::redundant_field_names)]
|
33 |
#[allow(non_camel_case_types)]
|
64 |
#[allow(clippy::redundant_field_names)]
|
65 |
Ok(Photo {
|
81 |
#[allow(clippy::redundant_field_names)]
|
82 |
Ok(Self {
|
245 |
/// Creates a new reference to the variable with `name` and the optional `vtype` type.
|
246 |
#[allow(clippy::redundant_field_names)]
|
247 |
pub fn new<T: Into<String>>(name: T, ref_type: VarType) -> Self {
|
198 |
#[allow(clippy::redundant_field_names)]
|
199 |
Ok(Self {
|
404 |
fn request(&self, body: RequestBody) -> Result<Response> {
|
405 |
#[allow(clippy::redundant_field_names)]
|
406 |
let req = Request {
|
460 |
#[allow(clippy::redundant_field_names)]
|
461 |
toml::to_string(&Config {
|
32 |
#[allow(clippy::redundant_field_names)]
|
33 |
Ok(Session {
|
189 |
/// Returns the ciphertext
|
190 |
#[allow(clippy::let_and_return, clippy::redundant_field_names)]
|
191 |
pub fn chapoly_encrypt_ietf(key: &[u8], nonce: &[u8], plaintext: &[u8], aad: &[u8]) -> Vec<u8> {
|
232 |
/// Returns the plaintext
|
233 |
#[allow(clippy::redundant_field_names)]
|
234 |
pub fn chapoly_decrypt_ietf(
|
367 |
/// ```
|
368 |
#[allow(clippy::redundant_field_names)]
|
369 |
pub fn list_devices_fs() -> io::Result<Vec<DeviceInfo>> {
|
24 |
clippy::redundant_closure,
|
25 |
clippy::redundant_field_names,
|
26 |
clippy::clone_on_ref_ptr,
|
24 |
clippy::redundant_closure,
|
25 |
clippy::redundant_field_names,
|
26 |
clippy::clone_on_ref_ptr,
|
49 |
#[allow(clippy::redundant_field_names)]
|
50 |
fn main() {
|
260 |
#[allow(clippy::redundant_field_names)]
|
261 |
Ok(Ledger {
|
41 |
#[allow(clippy::redundant_static_lifetimes)]
|
42 |
#[allow(clippy::redundant_field_names)]
|
43 |
pub mod ipc;
|
65 |
#[allow(clippy::redundant_field_names)]
|
66 |
fn result_entry(mapping: FileInfo, result: Result<stat::FileStat, nix::Error>) -> ResultEntry {
|
146 |
/// Construct a Store instance that doesn't start a periodic flusher thread
|
147 |
#[allow(clippy::redundant_field_names)]
|
148 |
pub fn new_without_flusher_thread(root: RawFd) -> Result<Self, MetadataError> {
|
6 |
#[cfg_attr(feature = "cargo-clippy",
|
7 |
allow(redundant_field_names, suspicious_arithmetic_impl))]
|
8 |
pub mod raw;
|
600 |
#[allow(clippy::redundant_field_names)]
|
601 |
Ok(Text {
|
643 |
#[allow(clippy::redundant_field_names)]
|
644 |
Ok(Text {
|
677 |
{
|
678 |
#[allow(clippy::redundant_field_names)]
|
679 |
Ok(Text {
|
721 |
#[allow(clippy::redundant_field_names)]
|
722 |
Ok(Text {
|
93 |
/// Disables the JTAG to free up pa15, pb3 and pb4 for normal use
|
94 |
#[allow(clippy::redundant_field_names, clippy::type_complexity)]
|
95 |
pub fn disable_jtag(
|
94 |
/// Disables the JTAG to free up pa15, pb3 and pb4 for normal use
|
95 |
#[allow(clippy::redundant_field_names, clippy::type_complexity)]
|
96 |
pub fn disable_jtag(
|
528 |
#[allow(clippy::redundant_field_names)]
|
529 |
#[allow(non_snake_case)]
|
19 |
clippy::redundant_closure,
|
20 |
clippy::redundant_field_names,
|
21 |
clippy::match_single_binding
|
33 |
#[allow(clippy::redundant_field_names)]
|
34 |
fn main() {
|
106 |
empty_enum,
|
107 |
redundant_field_names,
|
108 |
redundant_static_lifetimes,
|
7 |
#![deny(missing_docs)]
|
8 |
#![allow(clippy::redundant_field_names)]
|
9 |
#![forbid(unsafe_code)]
|
1 |
#![allow(clippy::redundant_field_names)]
|
2 |
#![allow(clippy::type_complexity)]
|
45 |
#![allow(clippy::suspicious_op_assign_impl)]
|
46 |
#![allow(clippy::redundant_field_names)]
|
1 |
#![warn(clippy::pedantic)]
|
2 |
#![allow(clippy::redundant_field_names)] // I happen to like these.
|
24 |
#![cfg_attr(feature = "cargo-clippy", allow(redundant_field_names, single_match, cast_lossless, doc_markdown, match_same_arms, unreadable_literal, new_ret_no_self))]
|
366 |
#![cfg_attr(feature = "cargo-clippy", allow(redundant_field_names))]
|
399 |
const_static_lifetime,
|
400 |
redundant_field_names,
|
401 |
trivially_copy_pass_by_ref,
|
399 |
const_static_lifetime,
|
400 |
redundant_field_names,
|
401 |
trivially_copy_pass_by_ref,
|
2 |
#![cfg_attr(feature = "cargo-clippy", allow(range_minus_one))]
|
3 |
#![cfg_attr(feature = "cargo-clippy", allow(redundant_field_names))]
|
54 |
#![allow(unused)]
|
55 |
#![allow(clippy::redundant_field_names, clippy::let_and_return)]
|
42 |
// Supress warning: redundant field names in struct initialization
|
43 |
#![allow(clippy::redundant_field_names)]
|
63 |
// Supress warning: redundant field names in struct initialization
|
64 |
#![allow(clippy::redundant_field_names)]
|
35 |
#![allow(clippy::inline_always)]
|
36 |
#![allow(clippy::redundant_field_names)]
|
37 |
#![cfg_attr(not(feature = "std"), no_std)]
|
30 |
should_implement_trait,
|
31 |
redundant_field_names,
|
32 |
useless_let_if_seq,
|
5 |
#![allow(non_snake_case)]
|
6 |
#![allow(clippy::redundant_field_names)]
|
7 |
#![allow(clippy::missing_safety_doc)]
|
30 |
#![allow(clippy::let_and_return)]
|
31 |
#![allow(clippy::redundant_field_names)]
|
32 |
#![allow(clippy::wrong_self_convention)]
|
94 |
mod tests {
|
95 |
#![allow(clippy::blacklisted_name, clippy::redundant_field_names)]
|
96 |
use super::*;
|
184 |
clippy::map_unwrap_or,
|
185 |
clippy::redundant_field_names,
|
186 |
clippy::type_complexity
|
2 |
non_snake_case,
|
3 |
clippy::redundant_field_names,
|
4 |
clippy::new_without_default,
|
2 |
non_snake_case,
|
3 |
clippy::redundant_field_names,
|
4 |
clippy::new_without_default,
|
1 |
#![allow(clippy::redundant_field_names)]
|
2 |
#![allow(clippy::match_like_matches_macro)]
|
16 |
#![allow(clippy::redundant_field_names)]
|
21 |
#![allow(clippy::needless_return)]
|
22 |
#![allow(clippy::redundant_field_names)]
|
23 |
#![allow(clippy::len_without_is_empty)]
|
2 |
#![allow(missing_docs)]
|
3 |
#![allow(clippy::redundant_field_names)]
|
4 |
#![allow(clippy::unreadable_literal)]
|
27 |
// Breaks stylistic choices/algorithm readability
|
28 |
#![allow(clippy::redundant_field_names)] // Used for consistency when initialising some types
|
29 |
#![allow(clippy::collapsible_if)] // Often used to clarify algorithm structure (rewrites need to be at least as clear)
|
1 |
#![allow(clippy::redundant_field_names)]
|
2 |
use crate::notify;
|
1 |
#![allow(clippy::redundant_field_names)]
|
2 |
#[macro_use]
|
20 |
#![allow(clippy::redundant_field_names)]
|
17 |
#![allow(clippy::redundant_field_names)]
|
21 |
clippy::assertions_on_constants,
|
22 |
clippy::redundant_field_names,
|
23 |
)]
|
20 |
#![allow(
|
21 |
clippy::redundant_field_names,
|
22 |
)]
|
22 |
clippy::needless_pass_by_value,
|
23 |
clippy::redundant_field_names,
|
24 |
)]
|
20 |
#![allow(
|
21 |
clippy::redundant_field_names,
|
22 |
)]
|
3 |
#![forbid(missing_docs)]
|
4 |
#![allow(clippy::redundant_field_names)]
|
5 |
use anyhow::Result;
|
291 |
//! See the test cases.
|
292 |
#![allow(clippy::redundant_field_names)]
|
293 |
#![cfg_attr(not(feature = "std"), no_std)]
|
7 |
#![deny(missing_docs)]
|
8 |
#![allow(clippy::redundant_field_names)]
|
9 |
use log::debug;
|
5 |
)]
|
6 |
#![allow(clippy::redundant_field_names)]
|
6 |
#![deny(missing_docs)]
|
7 |
#![allow(clippy::redundant_field_names)]
|
8 |
#![forbid(unsafe_code)]
|
5 |
#![deny(missing_docs)]
|
6 |
#![allow(clippy::redundant_field_names)]
|
7 |
#![forbid(unsafe_code)]
|
5 |
#![deny(missing_docs)]
|
6 |
#![allow(clippy::redundant_field_names)]
|
7 |
#![forbid(unsafe_code)]
|
5 |
#![deny(missing_docs)]
|
6 |
#![allow(clippy::redundant_field_names)]
|
7 |
#![forbid(unsafe_code)]
|
5 |
#![deny(missing_docs)]
|
6 |
#![allow(clippy::redundant_field_names)]
|
7 |
#![forbid(unsafe_code)]
|
1 |
#![allow(clippy::needless_return)]
|
2 |
#![allow(clippy::redundant_field_names)]
|
27 |
#![allow(clippy::needless_return)]
|
28 |
#![allow(clippy::redundant_field_names)]
|
73 |
clippy::missing_inline_in_public_items, clippy::modulo_arithmetic,
|
74 |
clippy::needless_pass_by_value, clippy::redundant_field_names,
|
75 |
clippy::redundant_pattern, clippy::single_match_else,
|
1 |
#![allow(clippy::module_inception, clippy::redundant_field_names)]
|
6 |
// Allow Struct { field: field }
|
7 |
#![allow(clippy::redundant_field_names)]
|
8 |
// Allow module name repetition, e.g. modname::modname
|
1 |
#![allow(
|
2 |
clippy::redundant_field_names,
|
3 |
clippy::new_without_default,
|
1 |
#![allow(clippy::redundant_field_names)]
|
57 |
clippy::new_without_default,
|
58 |
clippy::redundant_field_names
|
59 |
)]
|
1 |
#![cfg_attr(feature = "cargo-clippy", allow(redundant_field_names))] // for clarity
|
7 |
#![cfg_attr(feature = "cargo-clippy", allow(renamed_and_removed_lints))]
|
8 |
#![cfg_attr(feature = "cargo-clippy", allow(redundant_field_names))]
|
9 |
#![cfg_attr(feature = "cargo-clippy", allow(redundant_static_lifetimes))]
|
1 |
#![allow(clippy::zero_prefixed_literal)]
|
2 |
#![allow(clippy::redundant_field_names)]
|
2 |
non_snake_case,
|
3 |
clippy::redundant_field_names,
|
4 |
clippy::new_without_default,
|
2 |
non_snake_case,
|
3 |
clippy::redundant_field_names,
|
4 |
clippy::new_without_default,
|
22 |
#![cfg_attr(feature = "cargo-clippy", allow(redundant_field_names, single_match, cast_lossless, doc_markdown, match_same_arms, unreadable_literal))]
|
5 |
#![allow(clippy::redundant_field_names)]
|
6 |
#![allow(dead_code)]
|
10 |
#![allow(clippy::redundant_field_names)]
|
1 |
#![allow(clippy::redundant_field_names)]
|
2 |
#![allow(dead_code)]
|
166 |
#![allow(clippy::needless_return)]
|
167 |
#![allow(clippy::redundant_field_names)]
|
168 |
#![allow(clippy::type_complexity)]
|
3 |
#![deny(rustdoc::broken_intra_doc_links)]
|
4 |
#![allow(clippy::redundant_field_names)]
|
5 |
#![forbid(unsafe_code)]
|
3 |
#![deny(missing_docs)]
|
4 |
#![allow(clippy::redundant_field_names)]
|
5 |
use anyhow::Result;
|
3 |
#![deny(missing_docs)]
|
4 |
#![allow(clippy::redundant_field_names)]
|
5 |
use anyhow::Result;
|
28 |
// increases readability.
|
29 |
#![allow(clippy::redundant_field_names)]
|
66 |
#![allow(clippy::needless_return, clippy::let_and_return)] // past habits
|
67 |
#![allow(clippy::redundant_field_names)] // since Rust 1.17 and less readable
|
68 |
#![allow(clippy::unreadable_literal)] // C++ SDK constants
|
136 |
*/
|
137 |
#![allow(clippy::redundant_field_names)]
|
138 |
#![allow(clippy::tabs_in_doc_comments)]
|
9 |
clippy::missing_panics_doc,
|
10 |
clippy::redundant_field_names,
|
11 |
clippy::result_unit_err,
|
347 |
// we support older compilers
|
348 |
redundant_field_names,
|
349 |
))]
|
316 |
// we support older compilers
|
317 |
redundant_field_names,
|
318 |
))]
|
329 |
// we support older compilers
|
330 |
redundant_field_names,
|
331 |
))]
|
63 |
#![cfg_attr(feature = "cargo-clippy", allow(redundant_field_names))]
|
158 |
must_use_candidate,
|
159 |
redundant_field_names,
|
160 |
too_many_lines,
|
1 |
#![allow(clippy::module_inception, clippy::redundant_field_names)]
|
67 |
feature = "cargo-clippy",
|
68 |
allow(redundant_field_names, multiple_crate_versions)
|
69 |
)]
|
91 |
#![allow(clippy::match_like_matches_macro)]
|
92 |
#![allow(clippy::redundant_field_names)]
|
93 |
#![allow(clippy::identity_op)]
|
3 |
#![allow(clippy::needless_return, clippy::redundant_field_names)]
|
4 |
#![allow(clippy::use_self, clippy::too_many_lines, clippy::missing_panics_doc)]
|
3 |
#![allow(clippy::needless_return)]
|
4 |
#![allow(clippy::redundant_field_names)]
|
5 |
#![allow(clippy::type_complexity)]
|
4 |
#![deny(missing_docs)]
|
5 |
#![allow(clippy::redundant_field_names)]
|
6 |
#![forbid(unsafe_code)]
|
1 |
#![allow(clippy::redundant_field_names)]
|
2 |
#[allow(non_camel_case_types)]
|
23 |
#![allow(clippy::needless_return)]
|
24 |
#![allow(clippy::redundant_field_names)]
|
25 |
#![allow(clippy::len_zero)]
|
241 |
never_loop,
|
242 |
redundant_field_names,
|
243 |
too_many_arguments,
|
10 |
#![warn(missing_docs)]
|
11 |
#![allow(clippy::redundant_field_names, clippy::cognitive_complexity)]
|
12 |
#![cfg_attr(feature = "nightly", allow(incomplete_features))]
|
162 |
#![deny(rust_2018_idioms)]
|
163 |
#![allow(clippy::redundant_field_names)]
|
164 |
#![cfg_attr(feature = "nightly", feature(wasi_ext))]
|
66 |
#![cfg_attr(test, deny(warnings))]
|
67 |
#![allow(clippy::redundant_field_names)]
|
199 |
#![deny(missing_debug_implementations)]
|
200 |
#![allow(clippy::redundant_field_names)]
|
40 |
#![allow(clippy::redundant_field_names, clippy::needless_return)]
|
1 |
#![allow(clippy::redundant_field_names)]
|
61 |
clippy::collapsible_if,
|
62 |
clippy::redundant_field_names,
|
63 |
clippy::deprecated_cfg_attr,
|
3 |
// I do prefer being explicit sometimes.
|
4 |
#![allow(clippy::redundant_field_names)]
|
5 |
//! wcnt (Warning Counter) is a small command line tool to count warnings in files, and map them
|
1 |
#![allow(clippy::needless_return, clippy::redundant_field_names)]
|
91 |
#![allow(clippy::match_like_matches_macro)]
|
92 |
#![allow(clippy::redundant_field_names)]
|
93 |
#![allow(clippy::identity_op)]
|
33 |
#![allow(clippy::redundant_field_names)]
|
1 |
#![allow(clippy::needless_return, clippy::redundant_field_names)]
|
2 |
#![feature(is_sorted)]
|
1 |
#![allow(clippy::needless_return, clippy::redundant_field_names)]
|