• ajour 1.0.1/src/main.rs
    108
    #[allow(clippy::unnecessary_operation)]
    109
    fn setup_logger(is_cli: bool, is_debug: bool) -> Result<()> {
  • casper-execution-engine 2.0.1/src/storage/trie_store/operations/tests/ee_699.rs
    211
    #[allow(clippy::unnecessary_operation)]
    212
    mod basics {
  • casperlabs-contract-ffi 0.22.0/src/bytesrepr.rs
    726
    #[allow(clippy::unnecessary_operation)]
    727
    #[cfg(test)]
  • casperlabs-contract-ffi 0.22.0/src/uref.rs
    240
    #[allow(clippy::unnecessary_operation)]
    241
    #[cfg(test)]
  • eosio 0.3.1/src/symbol/symbol_code.rs
    119
        #[allow(clippy::unnecessary_operation)]
    120
        #[test]
  • fdcan 0.1.2/src/lib.rs
    1190
            // Cause out of bounds access when `Self` is not zero-sized.
    1191
            #[allow(clippy::unnecessary_operation)]
    1192
            [()][core::mem::size_of::<Self>()];
    1483
            // Cause out of bounds access when `Self` is not zero-sized.
    1484
            #[allow(clippy::unnecessary_operation)]
    1485
            [()][core::mem::size_of::<Self>()];
  • hex2bytearray 0.1.0/src/lib.rs
    66
    	}
    67
    	#[allow(clippy::unnecessary_operation)]
    68
    	pub const fn toord(input: u8) -> u8
  • hexlit 0.5.5/src/lib.rs
    102
        // counter-part.
    103
        #[allow(clippy::unnecessary_operation)]
    104
        pub const fn to_ordinal(input: u8) -> u8 {
  • httpc 0.1.2/src/error.rs
    91
      #[test]
    92
      #[allow(clippy::unnecessary_operation)]
    93
      fn ensure_error_trait_impls() {
  • ip2location-bin-format 0.4.0/src/querier.rs
    156
            let mut index_v6 = None;
    157
            #[allow(clippy::unnecessary_operation)]
    158
            {
    223
            let mut records_v6_pool = None;
    224
            #[allow(clippy::unnecessary_operation)]
    225
            {
  • malachite-base 0.3.2/src/bin_util/demo_and_bench/num/arithmetic/coprime_with.rs
    26
    #[allow(clippy::unnecessary_operation, unused_must_use)]
    27
    fn benchmark_coprime_with_algorithms<T: PrimitiveUnsigned>(
  • malachite-base 0.3.2/src/bin_util/demo_and_bench/num/arithmetic/div_mod.rs
    190
    #[allow(clippy::unnecessary_operation)]
    191
    fn benchmark_div_mod_signed_algorithms<T: PrimitiveSigned>(
    330
    #[allow(clippy::unnecessary_operation)]
    331
    fn benchmark_ceiling_div_neg_mod_algorithms<T: PrimitiveUnsigned>(
    356
    #[allow(clippy::unnecessary_operation)]
    357
    fn benchmark_ceiling_div_mod_algorithms<T: PrimitiveSigned>(
  • malachite-base 0.3.2/src/bin_util/demo_and_bench/num/arithmetic/mod_op.rs
    99
    #[allow(clippy::unnecessary_operation)]
    100
    fn benchmark_mod_unsigned_algorithms<T: PrimitiveUnsigned>(
    121
    #[allow(clippy::unnecessary_operation)]
    122
    fn benchmark_mod_signed_algorithms<T: PrimitiveSigned>(
    179
    #[allow(clippy::unnecessary_operation)]
    180
    fn benchmark_neg_mod_algorithms<T: PrimitiveUnsigned>(
    221
    #[allow(clippy::unnecessary_operation)]
    222
    fn benchmark_ceiling_mod_algorithms<T: PrimitiveSigned>(
  • malachite-base 0.3.2/src/bin_util/demo_and_bench/num/arithmetic/sqrt.rs
    372
    #[allow(clippy::unnecessary_operation)]
    373
    fn benchmark_sqrt_rem_algorithms_2<
  • malachite-base 0.3.2/src/bin_util/demo_and_bench/num/conversion/mantissa_and_exponent/integer_mantissa_and_exponent.rs
    232
    #[allow(clippy::unnecessary_operation)]
    233
    fn benchmark_integer_mantissa_and_exponent_algorithms_unsigned<T: PrimitiveUnsigned>(
  • malachite-nz 0.3.2/src/bin_util/demo_and_bench/integer/arithmetic/add.rs
    93
    #[allow(clippy::no_effect, clippy::unnecessary_operation, unused_must_use)]
    94
    fn benchmark_integer_add_library_comparison(
  • malachite-nz 0.3.2/src/bin_util/demo_and_bench/integer/arithmetic/div.rs
    68
    #[allow(clippy::no_effect, clippy::unnecessary_operation, unused_must_use)]
    69
    fn benchmark_integer_div_library_comparison(
    91
    #[allow(clippy::no_effect, clippy::unnecessary_operation, unused_must_use)]
    92
    fn benchmark_integer_div_algorithms(gm: GenMode, config: GenConfig, limit: usize, file_name: &str) {
  • malachite-nz 0.3.2/src/bin_util/demo_and_bench/integer/arithmetic/div_mod.rs
    253
    #[allow(clippy::unnecessary_operation)]
    254
    fn benchmark_integer_div_mod_algorithms(
    456
    #[allow(clippy::unnecessary_operation)]
    457
    fn benchmark_integer_ceiling_div_mod_algorithms(
  • malachite-nz 0.3.2/src/bin_util/demo_and_bench/integer/arithmetic/div_round.rs
    202
    #[allow(clippy::unnecessary_operation)]
    203
    fn benchmark_integer_div_round_ceiling_algorithms(
  • malachite-nz 0.3.2/src/bin_util/demo_and_bench/integer/arithmetic/mod_op.rs
    211
    #[allow(clippy::unnecessary_operation)]
    212
    fn benchmark_integer_mod_algorithms(gm: GenMode, config: GenConfig, limit: usize, file_name: &str) {
    285
    #[allow(clippy::no_effect, clippy::unnecessary_operation, unused_must_use)]
    286
    fn benchmark_integer_rem_library_comparison(
    308
    #[allow(clippy::no_effect, clippy::unnecessary_operation, unused_must_use)]
    309
    fn benchmark_integer_rem_algorithms(gm: GenMode, config: GenConfig, limit: usize, file_name: &str) {
    391
    #[allow(clippy::unnecessary_operation)]
    392
    fn benchmark_integer_ceiling_mod_algorithms(
  • malachite-q 0.3.2/src/bin_util/demo_and_bench/arithmetic/add.rs
    95
    #[allow(clippy::no_effect, clippy::unnecessary_operation, unused_must_use)]
    96
    fn benchmark_rational_add_library_comparison(
  • malachite-q 0.3.2/src/bin_util/demo_and_bench/arithmetic/div.rs
    72
    #[allow(clippy::no_effect, clippy::unnecessary_operation, unused_must_use)]
    73
    fn benchmark_rational_div_library_comparison(
  • malachite-q 0.3.2/src/bin_util/demo_and_bench/arithmetic/mul.rs
    99
    #[allow(clippy::no_effect, clippy::unnecessary_operation, unused_must_use)]
    100
    fn benchmark_rational_mul_library_comparison(
  • malachite-q 0.3.2/src/bin_util/demo_and_bench/arithmetic/neg.rs
    40
    #[allow(clippy::no_effect, clippy::unnecessary_operation, unused_must_use)]
    41
    fn benchmark_rational_neg_library_comparison(
  • malachite-q 0.3.2/src/bin_util/demo_and_bench/arithmetic/round_to_multiple_of_power_of_2.rs
    99
    #[allow(clippy::unnecessary_operation, unused_must_use)]
    100
    fn benchmark_rational_round_to_multiple_of_power_of_2_algorithms(
  • malachite-q 0.3.2/src/bin_util/demo_and_bench/arithmetic/shl.rs
    238
    #[allow(clippy::no_effect, clippy::unnecessary_operation, unused_must_use)]
    239
    fn benchmark_rational_shl_u32_library_comparison(
    281
    #[allow(clippy::no_effect, clippy::unnecessary_operation, unused_must_use)]
    282
    fn benchmark_rational_shl_i32_library_comparison(
  • malachite-q 0.3.2/src/bin_util/demo_and_bench/arithmetic/shr.rs
    238
    #[allow(clippy::no_effect, clippy::unnecessary_operation, unused_must_use)]
    239
    fn benchmark_rational_shr_u32_library_comparison(
    281
    #[allow(clippy::no_effect, clippy::unnecessary_operation, unused_must_use)]
    282
    fn benchmark_rational_shr_i32_library_comparison(
  • malachite-q 0.3.2/src/bin_util/demo_and_bench/arithmetic/sub.rs
    72
    #[allow(clippy::no_effect, clippy::unnecessary_operation, unused_must_use)]
    73
    fn benchmark_rational_sub_library_comparison(
  • opencv 0.76.3/src/opencv.rs
    13
    	clippy::tabs_in_doc_comments,
    14
    	clippy::unnecessary_operation,
    15
    )]
  • openwhisk-rust 0.1.5/src/client/native_client.rs
    124
        #[allow(clippy::unnecessary_operation)]
    125
        fn clone_from(&mut self, _source: &Self) {
  • postgrpc 0.1.2/src/server/mod.rs
    108
        #[cfg(feature = "health")]
    109
        #[allow(clippy::unnecessary_operation)]
    110
        {
    124
        #[cfg(feature = "transaction")]
    125
        #[allow(clippy::unnecessary_operation)]
    126
        {
  • printpdf 0.5.3/src/pdf_document.rs
    341
        #[inline]
    342
        #[cfg_attr(feature = "cargo-clippy", allow(unnecessary_operation))]
    343
        pub fn get_page(&self, page: PdfPageIndex)
  • simble 0.1.3/src/lib.rs
    485
    #[cfg(feature = "nightly")]
    486
    #[cfg_attr(feature = "cargo-clippy", allow(unnecessary_operation))]
    487
    const fn validate(s: &[u8]) {
  • sp-core 13.0.0/src/defer.rs
    94
    	#[allow(unused_braces)]
    95
    	#[allow(clippy::unnecessary_operation)]
    96
    	fn defer_guard_syntax_works() {
  • sprattus-derive 0.0.1/src/functions.rs
    18
    #[allow(clippy::unnecessary_operation)]
    19
    pub(crate) fn get_table_name_from_attributes(attributes: Vec<Attribute>) -> Option<String> {
  • stm32g473-hal_oppe 0.1.0/src/fdcan.rs
    1230
            // Cause out of bounds access when `Self` is not zero-sized.
    1231
            #[allow(clippy::unnecessary_operation)]
    1232
            [()][core::mem::size_of::<Self>()];
    1523
            // Cause out of bounds access when `Self` is not zero-sized.
    1524
            #[allow(clippy::unnecessary_operation)]
    1525
            [()][core::mem::size_of::<Self>()];
  • bxcan 0.7.0/src/lib.rs
    36
    #![no_std]
    37
    #![allow(clippy::unnecessary_operation)] // lint is bugged
  • erasable 1.2.1/tests/smoke.rs
    4
    #![allow(unused, clippy::redundant_clone, clippy::unnecessary_operation)]
  • hektor 0.2.2/tests/indexing.rs
    2
    #![allow(clippy::float_cmp)]
    3
    #![allow(clippy::unnecessary_operation)]
  • hls_m3u8 0.4.1/src/lib.rs
    15
        clippy::default_trait_access,
    16
        clippy::unnecessary_operation // temporary until derive-builder uses #[allow(clippy::all)]
    17
    )]
  • minivec 0.4.0/tests/vec.rs
    3
      unused_must_use,
    4
      clippy::unnecessary_operation,
    5
      clippy::op_ref,
  • otter-nodejs-tests 1.2.1/jst-lower.rs
    7
    #![allow(clippy::or_fun_call)]
    8
    #![allow(clippy::unnecessary_operation)] // trips on #[throws(Explode)]
  • otter-nodejs-tests 1.2.1/jstest.rs
    11
    #![allow(clippy::or_fun_call)]
    12
    #![allow(clippy::unnecessary_operation)] // trips on #[throws(Explode)]
  • otter-webdriver-tests 1.2.1/wdriver.rs
    11
    #![allow(clippy::or_fun_call)]
    12
    #![allow(clippy::unnecessary_operation)] // trips on #[throws(Explode)]
    13
    #![allow(clippy::no_effect)] // trips on #[throws(Explode)]
  • simd-json 0.7.0/src/known_key.rs
    372
    mod tests {
    373
        #![allow(clippy::unnecessary_operation, clippy::non_ascii_literal)]
    374
        use super::*;
  • simd-json 0.7.0/src/lib.rs
    769
        #![allow(clippy::unnecessary_operation, clippy::non_ascii_literal)]
    770
        #[cfg(not(target_arch = "wasm32"))]
    981
    mod tests_serde {
    982
        #![allow(clippy::unnecessary_operation, clippy::non_ascii_literal)]
    983
        use super::serde::from_slice;
  • tokio 1.25.0/tests/sync_barrier.rs
    1
    #![allow(clippy::unnecessary_operation)]
    2
    #![warn(rust_2018_idioms)]
  • tokio_wasi 1.23.0/tests/sync_barrier.rs
    1
    #![allow(clippy::unnecessary_operation)]
    2
    #![warn(rust_2018_idioms)]
  • tremor-value 0.13.0-rc.11/src/known_key.rs
    402
        #![allow(
    403
            clippy::unnecessary_operation,
    404
            clippy::non_ascii_literal,
  • ux-dx 0.2.1/src/lib.rs
    20
        clippy::new_ret_no_self,
    21
        clippy::unnecessary_operation,
    22
        clippy::single_match,