• adhoc_audio 0.1.4/src/codec/wav.rs
    203
                #[allow(clippy::identity_op)]
    204
                for k in (0..len).rev() {
    239
        /// writes a sample at current cursor positions (will offset the cursor)
    240
        #[allow(clippy::identity_op)]
    241
        fn write_sample(&mut self, truncated_sample: i16) {
  • amf 1.0.0/src/amf3/encode.rs
    248
        }
    249
        #[allow(clippy::zero_prefixed_literal, clippy::identity_op)]
    250
        fn encode_u29(&mut self, u29: u32) -> io::Result<()> {
  • amq-protocol 7.0.1/src/generated.rs
    1506
            /// Get the bitmask for serialization (Generated)
    1507
            #[allow(clippy::identity_op)]
    1508
            pub fn bitmask(&self) -> ShortUInt {
    1569
        /// Parse basic properties (Generated)
    1570
        #[allow(clippy::identity_op)]
    1571
        pub fn parse_properties<I: ParsableInput>(i: I) -> ParserResult<I, AMQPProperties> {
  • amqp-codec 0.1.0/src/protocol/definitions.rs
    1082
        }
    1083
        #[allow(clippy::identity_op)]
    1084
        const FIELD_COUNT: usize = 0 + 1 + 1 + 1;
    1130
    fn encoded_size_error_inner(list: &Error) -> usize {
    1131
        #[allow(clippy::identity_op)]
    1132
        let content_size = 0
    1144
        Descriptor::Ulong(29).encode(buf);
    1145
        #[allow(clippy::identity_op)]
    1146
        let content_size = 0
    1229
        }
    1230
        #[allow(clippy::identity_op)]
    1231
        const FIELD_COUNT: usize = 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1;
    1347
    fn encoded_size_open_inner(list: &Open) -> usize {
    1348
        #[allow(clippy::identity_op)]
    1349
        let content_size = 0
  • arboard 3.2.0/src/platform/windows.rs
    236
    #[cfg(feature = "image-data")]
    237
    #[allow(clippy::identity_op, clippy::erasing_op)]
    238
    #[must_use]
    298
    #[cfg(feature = "image-data")]
    299
    #[allow(clippy::identity_op, clippy::erasing_op)]
    300
    #[must_use]
  • armv4t_emu 0.1.0/src/lib.rs
    204
            self.reg.set(0, reg::PC, exc.address());
    205
            #[allow(clippy::identity_op)]
    206
            let new_cpsr =
  • arrow-format 0.8.1/src/ipc/generated.rs
    344
                        #[allow(clippy::identity_op)]
    345
                        impl ::planus::WriteAsPrimitive<Block> for Block {
    6515
                        #[allow(clippy::identity_op)]
    6516
                        impl ::planus::WriteAsPrimitive<Buffer> for Buffer {
    6941
                        #[allow(clippy::identity_op)]
    6942
                        impl ::planus::WriteAsPrimitive<FieldNode> for FieldNode {
  • asn1-rs 0.5.1/src/asn1_types/real.rs
    389
                    // special case: number of bytes from exponent is > 3 and cannot fit in 2 bits
    390
                    #[allow(clippy::identity_op)]
    391
                    if len_e == 4 {
  • asn1rs 0.2.2/src/io/per/unaligned/buffer.rs
    341
    #[cfg(test)]
    342
    #[allow(clippy::identity_op, clippy::inconsistent_digit_grouping)] // this makes various examples easier to understand
    343
    pub mod tests {
  • asn1rs 0.2.2/tests/basic_proc_macro_attribute.rs
    77
    #[test]
    78
    #[allow(clippy::identity_op)] // to make the values easier to understand
    79
    fn topping_test_serialize_with_uper() {
    88
    #[test]
    89
    #[allow(clippy::identity_op)] // to make the values easier to understand
    90
    fn topping_test_deserialize_with_uper() {
    323
    #[test]
    324
    #[allow(clippy::identity_op)] // to make the values easier to understand
    325
    fn test_crazy_list_uper() {
    417
    #[test]
    418
    #[allow(clippy::identity_op)] // to make the values easier to understand
    419
    fn test_transparent_important_uper_some() {
  • async-std 1.12.0/src/sync/waker_set.rs
    15
    /// Set when the entry list is locked.
    16
    #[allow(clippy::identity_op)]
    17
    const LOCKED: usize = 1 << 0;
  • au 0.10.0/src/polynomial/arithmetic.rs
    901
        #[test]
    902
        #[allow(clippy::identity_op)]
    903
        fn poly_mul_real_number_value() {
  • av-metrics 0.9.0/src/video/psnr_hvs.rs
    337
    #[allow(clippy::identity_op)]
    338
    fn od_bin_fdct8(y: &mut [i32], x: &[i32]) {
  • avm1-emitter 0.14.0/src/lib.rs
    378
      };
    379
      #[allow(clippy::identity_op)]
    380
      let flags: u8 = 0
    393
      let has_scene_bias = value.scene_bias != 0;
    394
      #[allow(clippy::identity_op)]
    395
      let flags: u8 = 0
    484
        .unwrap_or_default();
    485
      #[allow(clippy::identity_op)]
    486
      let flags: u8 = 0
    590
        .unwrap_or_default();
    591
      #[allow(clippy::identity_op)]
    592
      let flags: u8 = 0
  • bellperson 0.24.1/src/gadgets/boolean.rs
    1528
        #[allow(clippy::identity_op)]
    1529
        #[test]
    1550
        #[allow(clippy::identity_op)]
    1551
        #[test]
  • bitfield 0.14.0/tests/lib.rs
    237
    #[allow(clippy::identity_op)]
    238
    #[allow(clippy::erasing_op)]
    936
        #[allow(clippy::identity_op)]
    937
        #[test]
  • bitvec 1.0.1/benches/memcpy.rs
    32
    //  Some number of kibibytes
    33
    #[allow(clippy::identity_op)]
    34
    const FACTOR: usize = 1 * KIBIBYTE;
  • bus_queue 0.5.3/src/piper/event.rs
    24
    /// A bit set inside [`Event`] when there is at least one listener that has already been notified.
    25
    #[allow(clippy::identity_op)]
    26
    const NOTIFIED: usize = 1 << 0;
  • butido 0.3.0/src/commands/util.rs
    155
        #[allow(clippy::identity_op)]
    156
        builder.size_limit(1 * 1024 * 1024); // max size for the regex is 1MB. Should be enough for everyone
  • bve 0.0.1/src/parse/mesh/instructions/post_processing.rs
    68
    /// commands.
    69
    #[allow(clippy::identity_op)]
    70
    fn process_compound(mesh: &[Instruction]) -> Vec<Instruction> {
  • cafebabe 0.6.1/src/lib.rs
    41
    #[allow(clippy::double_parens, clippy::identity_op)]
    42
    pub(crate) fn read_u2(bytes: &[u8], ix: &mut usize) -> Result<u16, ParseError> {
    51
    #[allow(clippy::double_parens, clippy::identity_op)]
    52
    pub(crate) fn read_u4(bytes: &[u8], ix: &mut usize) -> Result<u32, ParseError> {
    64
    #[allow(clippy::double_parens, clippy::identity_op)]
    65
    pub(crate) fn read_u8(bytes: &[u8], ix: &mut usize) -> Result<u64, ParseError> {
  • caminos-lib 0.5.2/src/config.rs
    1378
    ///Read the value from the input at the given offset.
    1379
    #[allow(clippy::identity_op)]
    1380
    pub fn config_from_binary(data:&[u8], offset:usize) -> Result<ConfigurationValue,std::string::FromUtf8Error>
  • canadensis_data_types 0.2.3/src/generated.rs
    3
    #[allow(unused_variables, unused_braces, unused_parens)]
    4
    #[allow(clippy::identity_op)]
    5
    #[deny(unaligned_references)]
    3720
    #[allow(unused_variables, unused_braces, unused_parens)]
    3721
    #[allow(clippy::identity_op)]
    3722
    #[deny(unaligned_references)]
  • cart-tmp-gmem 0.1.0/src/usage.rs
    40
        #[allow(clippy::identity_op)]
    41
        pub(crate) fn memory_fitness(self, properties: m::Properties) -> u32 {
  • casper-node 1.4.8/src/components/consensus/highway_core/finality_detector/rewards.rs
    193
        // To keep the form of the reward formula, we spell out Carol's weight 1.
    194
        #[allow(clippy::identity_op)]
    195
        #[test]
  • cess-proofs 0.1.2/tests/pieces.rs
    185
    #[test]
    186
    #[allow(clippy::identity_op)]
    187
    fn test_verify_padded_pieces() {
  • chd 0.2.3/src/compression/cdrom.rs
    143
            // Extract compressed length of base
    144
            #[allow(clippy::identity_op)]
    145
            let mut sector_compressed_len: u32 =
  • clickhouse-driver 0.1.0-alpha.3/src/sync/waker_set.rs
    14
    /// Set when the entry list is locked.
    15
    #[allow(clippy::identity_op)]
    16
    const LOCKED: usize = 1 << 0;
  • concatsql 0.4.0/src/wrapstring.rs
    566
            clippy::deref_addrof,
    567
            clippy::identity_op,
    568
            clippy::approx_constant,
  • const_sort_rs 0.3.3/src/lib.rs
    80
      clippy::undocumented_unsafe_blocks,
    81
      clippy::identity_op,
    82
      clippy::unnecessary_mut_passed,
  • cpclib-disc 0.6.0/src/amsdos.rs
    1506
        #[allow(clippy::identity_op)]
    1507
        fn set_16bits_value(&mut self, value: u16, at: usize) -> &mut Self {
    1513
        #[allow(clippy::identity_op)]
    1514
        fn get_16bits_value(&self, at: usize) -> u16 {
  • cpclib-image 0.6.0/src/image.rs
    192
        /// Double the width (usefull for chuncky conversions)
    193
        #[allow(clippy::needless_range_loop, clippy::identity_op)]
    194
        pub fn double_horizontally(&mut self) {
    1057
        /// Generate a multimode sprite that mixes mode 0 and mode 3 and uses only 4 colors
    1058
        #[allow(clippy::similar_names, clippy::identity_op)]
    1059
        pub fn mode0_mode3_mix_from_mode0(sprite: &Sprite, conversion: MultiModeConversion) -> Self {
  • cpclib-image 0.6.0/src/pixels.rs
    133
    /// Manage all the stuff related to mode 1 pixels
    134
    #[allow(clippy::identity_op)]
    135
    pub mod mode1 {
    329
    /// Mode 0 pixels specific operations
    330
    #[allow(clippy::identity_op)]
    331
    pub mod mode0 {
  • curve25519-dalek 4.0.0-rc.0/src/backend/serial/u32/field.rs
    428
        /// encoding is canonical.
    429
        #[allow(clippy::identity_op)]
    430
        pub fn as_bytes(&self) -> [u8; 32] {
  • curve25519-dalek 4.0.0-rc.0/src/backend/serial/u32/scalar.rs
    128
        #[rustfmt::skip] // keep alignment of s[*] calculations
    129
        #[allow(clippy::identity_op)]
    130
        pub fn as_bytes(&self) -> [u8; 32] {
  • curve25519-dalek 4.0.0-rc.0/src/backend/serial/u64/scalar.rs
    118
        #[rustfmt::skip] // keep alignment of s[*] calculations
    119
        #[allow(clippy::identity_op)]
    120
        pub fn as_bytes(&self) -> [u8; 32] {
  • curve25519-dalek 4.0.0-rc.0/src/scalar.rs
    1015
            // Convert from radix 256 (bytes) to radix 16 (nibbles)
    1016
            #[allow(clippy::identity_op)]
    1017
            #[inline(always)]
  • cw-storage-plus 1.0.1/src/keys.rs
    482
            // Signed int keys are "sign-flipped"
    483
            #[allow(clippy::identity_op)]
    484
            let one: Vec<u8> = vec![0 ^ 0x80, 0, 0, 0, 0, 0, 48, 57];
  • dashu-int 0.3.1/tests/bits.rs
    419
    #[test]
    420
    #[allow(clippy::identity_op, clippy::op_ref)]
    421
    fn test_bit_ops_ubig_unsigned() {
    477
    #[test]
    478
    #[allow(clippy::identity_op, clippy::op_ref)]
    479
    fn test_bit_ops_ibig_primitive() {
  • dashu-int 0.3.1/tests/shift.rs
    3
    #[test]
    4
    #[allow(clippy::identity_op, clippy::op_ref)]
    5
    fn test_ubig_shl() {
    96
    #[test]
    97
    #[allow(clippy::identity_op, clippy::op_ref)]
    98
    fn test_ubig_shr() {
  • datamatrix 0.3.0/src/errorcode/galois.rs
    272
    #[test]
    273
    #[allow(clippy::identity_op)]
    274
    fn test_mul_usize() {
  • dll-syringe 0.15.0/src/rpc/raw.rs
    226
            clippy::fn_to_numeric_cast_with_truncation,
    227
            clippy::identity_op,
    228
            clippy::erasing_op
  • dntk-matrix 0.1.2/src/matrix.rs
    191
    /// ```
    192
    #[allow(clippy::identity_op)] // compiler cannot inference N + 1 = N
    193
    pub fn solve_eqn<const N: usize, Slice, Vector, F>(
  • drone-core 0.14.3/src/sync/spsc/oneshot/mod.rs
    22
    #[allow(clippy::identity_op)]
    23
    const TX_WAKER_STORED: u8 = 1 << 0;
  • drone-core 0.14.3/src/sync/spsc/pulse/mod.rs
    26
    #[allow(clippy::identity_op)]
    27
    const TX_WAKER_STORED: usize = 1 << 0;
  • eaglesong 0.1.0/src/eaglesong.rs
    3
    #[allow(clippy::identity_op)]
    4
    #[allow(clippy::erasing_op)]
  • efficient-sm2 0.1.5/src/sm2p256.rs
    537
    #[inline]
    538
    #[allow(clippy::identity_op)]
    539
    pub(crate) fn scalar_inv(a: &[Limb; LIMB_LENGTH]) -> [Limb; LIMB_LENGTH] {
  • erg_compiler 0.6.3/codegen.rs
    2510
        #[allow(clippy::identity_op)]
    2511
        fn emit_record(&mut self, rec: Record) {
  • filecoin-proofs 12.0.0/tests/pieces.rs
    183
    #[test]
    184
    #[allow(clippy::identity_op)]
    185
    fn test_verify_padded_pieces() {
  • find-subimage 0.1.12/src/lib.rs
    745
        for y in 0..h {
    746
            #[allow(clippy::identity_op)]
    747
            for x in 0..sub_stride {
  • flacenc 0.1.0/src/lpc.rs
    949
        #[test]
    950
        #[allow(clippy::identity_op, clippy::neg_multiply)]
    951
        fn delay_sum_computation() {
  • flacenc 0.1.0/src/rice.rs
    53
        #[allow(unused_assignments, clippy::identity_op)]
    54
        fn init_with_signal(&mut self, signal: &[i32], offset: usize) {
  • flash-lso 0.5.0/src/amf3/write.rs
    311
        ) -> impl SerializeFn<W> + 'a {
    312
            #[allow(clippy::identity_op)]
    313
            let size = (((index << 1) | 0u32) << 1) | 1u32;
    364
        ) -> impl SerializeFn<W> + 'a {
    365
            #[allow(clippy::identity_op)]
    366
            let size = (index << 1) | 0u32;
  • fluffl 0.0.5/examples/simple_synth.rs
    89
    #[allow(clippy::identity_op)]
    90
    fn synth_callback_cb(state: &mut AudioState, output: &mut [f32]) {
  • fluffl 0.0.5/src/audio/mixer.rs
    793
    #[allow(dead_code, clippy::identity_op)]
    794
    fn mix_resample_audio_both_2_channels_slow_reference(src: &[f32], dst: &mut [f32]) {
    826
    #[allow(dead_code,clippy::identity_op)]
    827
    fn mix_resample_audio_both_2_channels_iterator_version_vectorized(src: &[f32], dst: &mut [f32]) {
  • fluffl 0.0.5/src/gui/components.rs
    284
    #[allow(clippy::identity_op)]
    285
    pub fn layer_lock(gl: &GlowGL, layer_id: i32, flags: ComponentFlags) {
    298
    #[allow(clippy::identity_op)]
    299
    pub fn layer_lock_always(gl: &GlowGL, layer_id: i32) {
  • fluffl 0.0.5/src/text_writer.rs
    599
        ///computes quads verticies and uv coordinates and writes then to the appropriate slices
    600
        #[allow(clippy::identity_op)]
    601
        fn set_glyph(vert: &mut [f32], uvs: &mut [f32], vb: AABB2<f32>, hb: AABB2<f32>, offset: usize) {
  • fuel-types 0.25.2/tests/bytes.rs
    5
    #[allow(clippy::erasing_op)]
    6
    #[allow(clippy::identity_op)]
    7
    fn padded_len_to_fit_word_len() {
  • futures-util-preview 0.3.0-alpha.19/src/lock/mutex.rs
    61
    #[allow(clippy::identity_op)] // https://github.com/rust-lang/rust-clippy/issues/3445
    62
    const IS_LOCKED: usize = 1 << 0;
  • fvm 3.0.0-alpha.21/src/gas/mod.rs
    301
        #[test]
    302
        #[allow(clippy::identity_op)]
    303
        fn basic_gas_tracker() -> Result<()> {
  • gecl 0.2.0/src/vector.rs
    251
        #[test]
    252
        #[allow(clippy::identity_op)]
    253
        fn dot_test() {
    257
        #[test]
    258
        #[allow(clippy::identity_op)]
    259
        fn cross_test() {
  • gfa 0.10.1/src/cigar.rs
    105
    #[cfg_attr(feature = "serde1", derive(Serialize, Deserialize))]
    106
    #[allow(clippy::identity_op)]
    107
    pub struct CIGARPair(u32);
  • gfx-memory 0.2.2/src/usage.rs
    40
        #[allow(clippy::identity_op)]
    41
        pub(crate) fn memory_fitness(self, properties: m::Properties) -> u32 {
  • gifski 1.10.0/src/lib.rs
    281
    #[allow(clippy::identity_op)]
    282
    #[allow(clippy::erasing_op)]
  • gifski-lite 1.0.1/src/lib.rs
    207
        #[allow(clippy::identity_op)]
    208
        #[allow(clippy::erasing_op)]
  • git-delta 0.15.1/src/wrapping.rs
    230
                    }
    231
                    #[allow(clippy::identity_op)]
    232
                    // A single '\n' left on the stack can be pushed onto the current line.
  • git-delta-lib 0.12.2/src/wrapping.rs
    130
                    }
    131
                    #[allow(clippy::identity_op)]
    132
                    // A single '\n' left on the stack can be pushed onto the current line.
  • godcoin 0.3.0/src/blockchain/verify.rs
    9
    #[allow(clippy::identity_op)]
    10
    pub const SKIP_NONE: u8 = 1 << 0;
  • gregorian 0.2.4/src/date.rs
    166
    	/// For 1 January 0000, this function returns 0.
    167
    	#[allow(clippy::identity_op)]
    168
    	pub const fn days_since_year_zero(self) -> i32 {
    430
    	#[test]
    431
    	#[allow(clippy::identity_op, clippy::neg_multiply)]
    432
    	fn days_since_year_zero() {
    465
    	#[test]
    466
    	#[allow(clippy::identity_op, clippy::neg_multiply)]
    467
    	fn from_days_since_year_zero() {
  • gst-plugin-fmp4 0.9.5/src/fmp4mux/boxes.rs
    1645
    #[allow(clippy::identity_op)]
    1646
    #[allow(clippy::bool_to_int_with_if)]
  • half 2.2.1/src/bfloat.rs
    1626
        #[test]
    1627
        #[allow(clippy::erasing_op, clippy::identity_op)]
    1628
        fn round_to_even_f32() {
    1721
        #[test]
    1722
        #[allow(clippy::erasing_op, clippy::identity_op)]
    1723
        fn round_to_even_f64() {
  • half 2.2.1/src/binary16.rs
    1697
        #[test]
    1698
        #[allow(clippy::erasing_op, clippy::identity_op)]
    1699
        fn round_to_even_f32() {
    1792
        #[test]
    1793
        #[allow(clippy::erasing_op, clippy::identity_op)]
    1794
        fn round_to_even_f64() {
  • harfbuzz_rs 2.0.1/src/common.rs
    55
        pub const fn to_bytes(self) -> [u8; 4] {
    56
            #[allow(clippy::identity_op)]
    57
            [
  • hifitime 3.8.0/src/duration.rs
    1181
        #[allow(clippy::identity_op)]
    1182
        fn add(self, rhs: Unit) -> Self {
    1187
    impl AddAssign<Unit> for Duration {
    1188
        #[allow(clippy::identity_op)]
    1189
        fn add_assign(&mut self, rhs: Unit) {
    1197
        #[allow(clippy::identity_op)]
    1198
        fn sub(self, rhs: Unit) -> Duration {
    1203
    impl SubAssign<Unit> for Duration {
    1204
        #[allow(clippy::identity_op)]
    1205
        fn sub_assign(&mut self, rhs: Unit) {
    1210
    impl PartialEq<Unit> for Duration {
    1211
        #[allow(clippy::identity_op)]
    1212
        fn eq(&self, unit: &Unit) -> bool {
  • hifitime 3.8.0/src/epoch.rs
    174
    impl AddAssign<Unit> for Epoch {
    175
        #[allow(clippy::identity_op)]
    176
        fn add_assign(&mut self, unit: Unit) {
    181
    impl SubAssign<Unit> for Epoch {
    182
        #[allow(clippy::identity_op)]
    183
        fn sub_assign(&mut self, unit: Unit) {
    191
        #[allow(clippy::identity_op)]
    192
        fn sub(self, unit: Unit) -> Self {
    200
        #[allow(clippy::identity_op)]
    201
        fn add(self, unit: Unit) -> Self {
  • hifitime 3.8.0/src/timeunits.rs
    140
        #[allow(clippy::identity_op)]
    141
        fn add(self, rhs: Self) -> Duration {
  • hls_m3u8 0.4.1/src/types/byte_range.rs
    520
        #[test]
    521
        #[allow(clippy::identity_op)]
    522
        fn test_add() {
    536
        #[test]
    537
        #[allow(clippy::identity_op)]
    538
        fn test_sub() {
  • hmmcli 0.5.2/src/entries.rs
    201
        // searching in to offsets of each line, so we allow it.
    202
        #[allow(clippy::identity_op, clippy::erasing_op)]
    203
        #[test_case(44 * 0 + 0  => Some("1".to_owned()))]
  • hvm 1.0.20-beta/src/runtime/base/program.rs
    322
      #[allow(clippy::identity_op)]
    323
      fn convert_term(
  • ibig 0.3.6/tests/bits.rs
    417
    #[test]
    418
    #[allow(clippy::identity_op, clippy::op_ref)]
    419
    fn test_bit_ops_ubig_unsigned() {
    480
    #[test]
    481
    #[allow(clippy::identity_op, clippy::op_ref)]
    482
    fn test_bit_ops_ubig_signed() {
    565
    #[test]
    566
    #[allow(clippy::identity_op, clippy::op_ref)]
    567
    fn test_bit_ops_ibig_primitive() {
  • ibig 0.3.6/tests/shift.rs
    3
    #[test]
    4
    #[allow(clippy::identity_op, clippy::op_ref)]
    5
    fn test_ubig_shl() {
    83
    #[test]
    84
    #[allow(clippy::identity_op, clippy::op_ref)]
    85
    fn test_ubig_shr() {
  • imagine 0.3.1/src/png.rs
    790
      // ```
    791
      #[allow(clippy::identity_op)]
    792
      match image_level {
  • img-qoi 0.1.0/src/decode.rs
    376
        #[test]
    377
        #[allow(clippy::identity_op)]
    378
        #[allow(clippy::unusual_byte_groupings)]
  • img-qoi 0.1.0/src/encode.rs
    261
        #[test]
    262
        #[allow(clippy::identity_op)]
    263
        #[allow(clippy::unusual_byte_groupings)]
  • img-qoi 0.1.0/src/input.rs
    182
        #[test]
    183
        #[allow(clippy::identity_op)]
    184
        fn test_read_to_vec() {
  • imuxin-delta-lib 0.0.2/src/wrapping.rs
    219
                    }
    220
                    #[allow(clippy::identity_op)]
    221
                    // A single '\n' left on the stack can be pushed onto the current line.
  • inc 0.1.3/src/primitives.rs
    238
    /// Allocate a pair on heap
    239
    #[allow(clippy::identity_op)]
    240
    fn cons(s: &mut State, x: &Expr, y: &Expr) -> ASM {
    279
    // Allows `R12 + 0`, its not ineffective
    280
    #[allow(clippy::identity_op)]
    281
    fn vector(s: &mut State, exprs: &[Expr]) -> ASM {
  • inc 0.1.3/src/strings.rs
    76
    /// Allocate a string object in heap with a specific size
    77
    #[allow(clippy::identity_op)]
    78
    pub fn make(_: &State, size: i64) -> ASM {
  • irondash_texture 0.1.1/src/platform/darwin/mod.rs
    244
    #[allow(clippy::identity_op)]
    245
    const fn as_u32_be(array: &[u8; 4]) -> u32 {
  • ironworks 0.4.1/src/file/eqdp.rs
    113
    #[allow(dead_code, clippy::identity_op, clippy::unnecessary_cast)]
    114
    mod bitfield {
  • ironworks 0.4.1/src/file/tex.rs
    63
    // Isolating bitfield in a module so modular_bitfield lint disables don't pollute the entire file.
    64
    #[allow(dead_code, clippy::identity_op)]
    65
    mod bitfield {
  • itm 0.9.0-rc.1/src/lib.rs
    776
            }
    777
            #[allow(clippy::identity_op)]
    778
            "hhhh_hhhh" => Err(MalformedPacket::InvalidHeader(h)),
  • jomini 0.21.0/src/data.rs
    280
    /// it.
    281
    #[allow(clippy::eq_op, clippy::identity_op)]
    282
    pub(crate) static CHARACTER_CLASS: [u8; 256] = [
  • jpeg-encoder 0.5.1/src/fdct.rs
    103
    #[allow(clippy::erasing_op)]
    104
    #[allow(clippy::identity_op)]
    105
    pub(crate) fn fdct(data: &mut [i16; 64]) {
  • leap-seconds 0.1.0/src/lib.rs
    100
    #[allow(clippy::identity_op)]
    101
    const DAYS_BETWEEN_1900_01_01_AND_1970_01_01: u64 = 70 * 365 + (70 / 400) - (70 / 100) + (70 / 4);
  • less-avc 0.1.2/src/nal_unit.rs
    32
        pub fn to_annex_b_data(&self) -> Vec<u8> {
    33
            #[allow(clippy::identity_op)]
    34
            // forbidden_zero_bit = 0
  • libafl_frida 0.9.0/src/asan/asan_rt.rs
    1421
        #[cfg(target_arch = "x86_64")]
    1422
        #[allow(clippy::unused_self, clippy::identity_op)]
    1423
        #[allow(clippy::too_many_lines)]
    1563
        // identity_op appears to be a false positive in ubfx
    1564
        #[allow(clippy::unused_self, clippy::identity_op, clippy::too_many_lines)]
    1565
        fn generate_shadow_check_function(&mut self) {
  • libsystemd-sys 0.9.3/src/bus/vtable.rs
    20
    pub enum SdBusVtableFlag {
    21
        #[allow(clippy::identity_op)]
    22
        Deprecated = 1 << 0,
  • lzfse_rust 0.1.0/src/lz/object.rs
    86
    /// * `distance <= 16`
    87
    #[allow(clippy::identity_op)]
    88
    #[allow(dead_code)]
  • minifb 0.23.0/src/os/windows/mod.rs
    899
        #[allow(clippy::identity_op)]
    900
        pub fn set_background_color(&mut self, color: u32) {
  • minivec 0.4.0/tests/mine.rs
    1015
    #[allow(clippy::many_single_char_names, clippy::float_cmp, clippy::identity_op)]
    1016
    #[cfg(target_feature = "avx")]
  • mizu-core 1.0.0/src/ppu/lcd.rs
    32
    impl Lcd {
    33
        #[allow(clippy::many_single_char_names, clippy::identity_op)]
    34
        pub fn push(&mut self, color: Color, y: u8) {
  • moscato 0.1.2/src/truetype/hint.rs
    2369
        #[rustfmt::skip]
    2370
        #[allow(clippy::eq_op, clippy::identity_op)]
    2371
        pub const OPCODE_POP_PUSH: [u8; 256] = [
  • nakamoto-chain 0.4.0/src/block/cache/test.rs
    1432
    #[test]
    1433
    #[allow(clippy::identity_op)]
    1434
    fn test_cache_locate_headers() {
  • ndarray 0.15.6/benches/bench1.rs
    358
    #[bench]
    359
    #[allow(clippy::identity_op)]
    360
    fn add_2d_cutouts_by_4(bench: &mut test::Bencher) {
    371
    #[bench]
    372
    #[allow(clippy::identity_op)]
    373
    fn add_2d_cutouts_by_16(bench: &mut test::Bencher) {
    384
    #[bench]
    385
    #[allow(clippy::identity_op)]
    386
    fn add_2d_cutouts_by_32(bench: &mut test::Bencher) {
  • ndarray 0.15.6/benches/chunks.rs
    65
    #[bench]
    66
    #[allow(clippy::identity_op)]
    67
    fn chunk2x2_sum_get2(bench: &mut Bencher) {
  • neodyn_xc 0.4.0/src/ser/binary.rs
    176
        #[allow(clippy::identity_op)]
    177
        match bytes.len() {
  • ntex-amqp-codec 0.9.0/src/protocol/definitions.rs
    1064
        }
    1065
        #[allow(clippy::identity_op)]
    1066
        const FIELD_COUNT: usize = 0 + 1 + 1 + 1;
    1124
    fn encoded_size_error_inner(list: &Error) -> usize {
    1125
        #[allow(clippy::identity_op)]
    1126
        let content_size = 0
    1138
        Descriptor::Ulong(29).encode(buf);
    1139
        #[allow(clippy::identity_op)]
    1140
        let content_size = 0
    1290
        }
    1291
        #[allow(clippy::identity_op)]
    1292
        const FIELD_COUNT: usize = 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1;
    1443
    fn encoded_size_open_inner(list: &Open) -> usize {
    1444
        #[allow(clippy::identity_op)]
    1445
        let content_size = 0
  • nyx-space 1.1.1/src/cosmic/cosm.rs
    895
        /// Return the position and velocity DCM (6x6) to go from the `from` frame to the `to` frame
    896
        #[allow(clippy::identity_op)]
    897
        pub fn try_dcm_from_to(
    911
        /// Return the position and velocity DCM (two 3x3 matrices) to go from the `from` frame to the `to` frame
    912
        #[allow(clippy::identity_op)]
    913
        pub fn try_dcm_from_to_in_parts(
  • nyx-space 1.1.1/src/cosmic/frames.rs
    142
        /// Source for everything else: https://en.wikipedia.org/w/index.php?title=Day&oldid=1008298887
    143
        #[allow(clippy::identity_op)]
    144
        pub fn angular_velocity(&self) -> f64 {
  • nyx-space 1.1.1/src/dynamics/guidance/mnvr.rs
    51
        /// Prints the polynomial with the least significant coefficients first
    52
        #[allow(clippy::identity_op)]
    53
        fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
  • nyx-space 1.1.1/src/io/odp.rs
    50
    impl<'a> OdpScenario<'a> {
    51
        #[allow(clippy::identity_op)]
    52
        pub fn try_from_scenario(
  • nyx-space 1.1.1/src/md/events.rs
    167
    impl EventEvaluator<Orbit> for Event {
    168
        #[allow(clippy::identity_op)]
    169
        fn epoch_precision(&self) -> Duration {
    229
        #[allow(clippy::identity_op)]
    230
        fn epoch_precision(&self) -> Duration {
  • nyx-space 1.1.1/src/md/opti/optimizer.rs
    253
        /// Runs the targeter using finite differencing (for now).
    254
        #[allow(clippy::identity_op)]
    255
        pub fn try_achieve_from(
  • nyx-space 1.1.1/src/md/trajectory/traj.rs
    138
        /// Find the exact state where the request event happens. The event function is expected to be monotone in the provided interval.
    139
        #[allow(clippy::identity_op)]
    140
        pub fn find_bracketed<E>(&self, start: Epoch, end: Epoch, event: &E) -> Result<S, NyxError>
    251
        /// such events will be found.
    252
        #[allow(clippy::identity_op)]
    253
        pub fn find_all<E>(&self, event: &E) -> Result<Vec<S>, NyxError>
  • optivorbis 0.1.2/src/remuxer/ogg_to_ogg/granulator.rs
    88
    			// No-op subtraction for human comprehension, optimized out by the compiler
    89
    			#[allow(clippy::identity_op)]
    90
    			let start_granule_position_offset = first_audio_page_granule_position - 0;
  • orion 0.17.3/src/hazardous/mac/poly1305.rs
    179
        #[rustfmt::skip]
    180
        #[allow(clippy::identity_op)]
    181
        /// Remaining processing after all data blocks have been processed.
  • p384 0.12.0/src/arithmetic/scalar.rs
    7
    #[allow(
    8
        clippy::identity_op,
    9
        clippy::too_many_arguments,
  • p384_rs 0.1.10/src/arithmetic/scalar.rs
    7
    #[allow(
    8
        clippy::identity_op,
    9
        clippy::too_many_arguments,
  • paging-calculator 0.1.2/src/main.rs
    367
        #[test]
    368
        #[allow(clippy::identity_op)]
    369
        fn test_calculate_page_table_index_64() {
  • pako-core 0.1.2/src/erspan.rs
    83
        #[inline]
    84
        #[allow(trivial_numeric_casts, clippy::identity_op)]
    85
        #[cfg_attr(feature = "clippy", allow(used_underscore_binding))]
  • pastel 0.9.0/src/cli/output.rs
    79
            #[allow(clippy::identity_op)]
    80
            canvas.draw_text(
  • piet 0.6.2/src/samples/picture_0.rs
    125
    // allows for nice vertical formatting for `result[ix + 0]`
    126
    #[allow(clippy::identity_op)]
    127
    fn make_image_data(width: usize, height: usize) -> Vec<u8> {
  • piet 0.6.2/src/samples/picture_2.rs
    45
                // allows for nice vertical formatting for `result[ix + 0]`
    46
                #[allow(clippy::identity_op)]
    47
                match format {
  • piet-cairo 0.6.2/src/lib.rs
    213
        // allows e.g. raw_data[dst_off + x * 4 + 2] = buf[src_off + x * 4 + 0];
    214
        #[allow(clippy::identity_op)]
    215
        fn make_image(
  • piet-test 0.0.12/src/picture_0.rs
    100
    // allows for nice vertical formatting for `result[ix + 0]`
    101
    #[allow(clippy::identity_op)]
    102
    fn make_image_data(width: usize, height: usize) -> Vec<u8> {
  • piet-test 0.0.12/src/picture_2.rs
    42
                // allows for nice vertical formatting for `result[ix + 0]`
    43
                #[allow(clippy::identity_op)]
    44
                match format {
  • pixel-widgets 0.9.1/src/style/parse.rs
    444
    #[allow(clippy::identity_op)] // to keep the code clean and consistent
    445
    fn parse_color<I: Iterator<Item = Token>>(c: &mut TokenProvider<I>) -> Result<Color> {
  • polynomen 1.0.0/src/arithmetic.rs
    925
        #[test]
    926
        #[allow(clippy::identity_op)]
    927
        fn poly_mul_real_number_value() {
  • rav1e 0.6.3/src/asm/x86/transform/forward.rs
    162
      #[allow(clippy::identity_op)]
    163
      const LO: i32 = (2 << 4) | 0;
    201
      #[allow(clippy::identity_op)]
    202
      const LO: i32 = (2 << 4) | 0;
    333
    #[allow(clippy::identity_op, clippy::erasing_op)]
    334
    #[target_feature(enable = "avx2")]
  • rav1e 0.6.3/src/cdef.rs
    197
      #[cold_for_target_arch("x86_64")]
    198
      #[allow(clippy::erasing_op, clippy::identity_op, clippy::neg_multiply)]
    199
      pub(crate) unsafe fn cdef_filter_block<T: Pixel, U: Pixel>(
  • rav1e 0.6.3/src/dist.rs
    79
      #[inline(always)]
    80
      #[allow(clippy::identity_op, clippy::erasing_op)]
    81
      fn hadamard4_1d<
    102
      #[inline(always)]
    103
      #[allow(clippy::identity_op, clippy::erasing_op)]
    104
      fn hadamard8_1d<
  • rav1e 0.6.3/src/encoder.rs
    832
    impl<T: Pixel> FrameInvariants<T> {
    833
      #[allow(clippy::erasing_op, clippy::identity_op)]
    834
      /// # Panics
  • rayon 1.6.1/src/slice/quicksort.rs
    677
        // Three indices near which we are going to choose a pivot.
    678
        #[allow(clippy::identity_op)]
    679
        let mut a = len / 4 * 1;
  • rayon-core 1.10.2/src/sleep/counters.rs
    68
    /// (used with `select_bits`).
    69
    #[allow(clippy::identity_op)]
    70
    const INACTIVE_SHIFT: usize = 1 * THREADS_BITS;
  • rdev 0.5.2/src/macos/keyboard.rs
    153
    #[allow(clippy::identity_op)]
    154
    pub unsafe fn flags_to_state(flags: u64) -> ModifierState {
  • regiusmark 0.3.0/src/blockchain/verify.rs
    9
    #[allow(clippy::identity_op)]
    10
    pub const SKIP_NONE: u8 = 1 << 0;
  • rend3-types 0.3.0/src/lib.rs
    719
            #[allow(clippy::identity_op)]
    720
            unsafe {
  • response-time-analysis 0.3.2/src/arrival/tests.rs
    565
    #[test]
    566
    #[allow(clippy::identity_op)]
    567
    fn arrival_curve_prefix_number_arrivals() {
  • rlz 0.2.0/src/vbyte.rs
    16
    #[allow(clippy::identity_op, clippy::cast_possible_truncation)]
    17
    pub fn encode(mut output: impl BufMut, num: u32) -> usize {
  • rustler_sys 2.2.0/src/rustler_sys_api.rs
    157
    pub type ErlNifSelectFlags = c_int;
    158
    #[allow(clippy::identity_op)]
    159
    pub const ERL_NIF_SELECT_READ: ErlNifSelectFlags = 1 << 0;
    272
    pub type ErlNifUniqueInteger = c_int;
    273
    #[allow(clippy::identity_op)]
    274
    pub const ERL_NIF_UNIQUE_POSITIVE: ErlNifUniqueInteger = 1 << 0;
    275
    #[allow(clippy::identity_op)]
    276
    pub const ERL_NIF_UNIQUE_MONOTONIC: ErlNifUniqueInteger = 1 << 1;
  • rustls-webpki 0.100.0-alpha.2/src/der.rs
    37
        #[allow(clippy::identity_op)]
    38
        ContextSpecificConstructed0 = CONTEXT_SPECIFIC | CONSTRUCTED | 0,
  • rustls-webpki 0.100.0-alpha.2/src/subject_name/verify.rs
    372
        use ring::io::der::{CONSTRUCTED, CONTEXT_SPECIFIC};
    373
        #[allow(clippy::identity_op)]
    374
        const OTHER_NAME_TAG: u8 = CONTEXT_SPECIFIC | CONSTRUCTED | 0;
  • rustls-webpki 0.100.0-alpha.2/src/verify_cert.rs
    271
    // id-kp-serverAuth   OBJECT IDENTIFIER ::= { id-kp 1 }
    272
    #[allow(clippy::identity_op)] // TODO: Make this clearer
    273
    pub(crate) static EKU_SERVER_AUTH: KeyPurposeId = KeyPurposeId {
    277
    // id-kp-clientAuth   OBJECT IDENTIFIER ::= { id-kp 2 }
    278
    #[allow(clippy::identity_op)] // TODO: Make this clearer
    279
    pub(crate) static EKU_CLIENT_AUTH: KeyPurposeId = KeyPurposeId {
    283
    // id-kp-OCSPSigning  OBJECT IDENTIFIER ::= { id-kp 9 }
    284
    #[allow(clippy::identity_op)] // TODO: Make this clearer
    285
    pub(crate) static EKU_OCSP_SIGNING: KeyPurposeId = KeyPurposeId {
  • rusty-boy-advance 0.0.4/src/gba/instructions/arm.rs
    104
    #[inline]
    105
    #[allow(clippy::identity_op)]
    106
    fn as_u8_nibbles(opcode: u32) -> (u8, u8, u8, u8, u8) {
  • rusty-boy-advance 0.0.4/src/gba/instructions/thumb.rs
    39
    #[inline]
    40
    #[allow(clippy::identity_op)]
    41
    fn as_lower_3bit_values(opcode: u16) -> (usize, usize, usize, usize) {
    663
      }
    664
      #[allow(clippy::identity_op)]
    665
      fn decode_thumb_raw(opcode: u16) -> ThumbInstruction {
  • rusty_qjs 0.0.1/src/context.rs
    35
    impl JSContext {
    36
      #[allow(clippy::identity_op)]
    37
      const JS_EVAL_TYPE_GLOBAL: i32 = (0 << 0);
  • sbp 4.11.0/src/messages/navigation.rs
    1455
            /// Gets the `raim_repair_flag` flag.
    1456
            #[allow(clippy::identity_op)]
    1457
            pub fn raim_repair_flag(&self) -> bool {
    5983
            /// Gets the `velocity_valid` flag.
    5984
            #[allow(clippy::identity_op)]
    5985
            pub fn velocity_valid(&self) -> bool {
    5994
            /// Gets the `attitude_valid` flag.
    5995
            #[allow(clippy::identity_op)]
    5996
            pub fn attitude_valid(&self) -> bool {
    6005
            /// Gets the `safe_state_hpl` flag.
    6006
            #[allow(clippy::identity_op)]
    6007
            pub fn safe_state_hpl(&self) -> bool {
    6016
            /// Gets the `safe_state_vpl` flag.
    6017
            #[allow(clippy::identity_op)]
    6018
            pub fn safe_state_vpl(&self) -> bool {
  • sbp 4.11.0/src/messages/piksi.rs
    1585
            /// Gets the `iff_multicast_supports_multicast` flag.
    1586
            #[allow(clippy::identity_op)]
    1587
            pub fn iff_multicast_supports_multicast(&self) -> bool {
    1599
            /// Gets the `iff_link2_per_link_layer_defined_bit` flag.
    1600
            #[allow(clippy::identity_op)]
    1601
            pub fn iff_link2_per_link_layer_defined_bit(&self) -> bool {
    1613
            /// Gets the `iff_link1_per_link_layer_defined_bit` flag.
    1614
            #[allow(clippy::identity_op)]
    1615
            pub fn iff_link1_per_link_layer_defined_bit(&self) -> bool {
    1627
            /// Gets the `iff_link0_per_link_layer_defined_bit` flag.
    1628
            #[allow(clippy::identity_op)]
    1629
            pub fn iff_link0_per_link_layer_defined_bit(&self) -> bool {
    1641
            /// Gets the `iff_simplex_cant_hear_own_transmissions` flag.
    1642
            #[allow(clippy::identity_op)]
    1643
            pub fn iff_simplex_cant_hear_own_transmissions(&self) -> bool {
  • sd-sys 1.0.0/src/journal.rs
    29
    #[allow(clippy::identity_op)]
    30
    pub const SD_JOURNAL_LOCAL_ONLY: c_int = 1 << 0;
  • sftp-protocol 0.1.0/src/parser.rs
    19
    	fn default() -> Self {
    20
    		#[allow(clippy::identity_op)] // Including the 1 makes it more clear that this is 1MiB
    21
    		Self::with_capacity(1 * 1024 * 1024)
  • sigma-ser 0.11.0/src/vlq_encode.rs
    365
        // original source: http://github.com/google/protobuf/blob/a7252bf42df8f0841cf3a0c85fdbf1a5172adecb/java/core/src/test/java/com/google/protobuf/CodedInputStreamTest.java#L239
    366
        #[allow(clippy::identity_op)]
    367
        fn expected_values() -> Vec<(Vec<u8>, u64)> {
  • snarkvm-circuit-types-group 0.9.11/src/mul.rs
    227
        #[allow(clippy::identity_op)]
    228
        #[test]
    291
        #[allow(clippy::identity_op)]
    292
        #[test]
    321
        #[allow(clippy::identity_op)]
    322
        #[test]
  • stardust-xr-schemas 1.4.0/src/generated/common.rs
    497
      #[allow(clippy::identity_op)]
    498
      pub fn set_position(&mut self, x: &Vec3) {
    509
      #[allow(clippy::identity_op)]
    510
      pub fn set_rotation(&mut self, x: &Quat) {
    614
      #[allow(clippy::identity_op)]
    615
      pub fn set_position(&mut self, x: &Vec3) {
    626
      #[allow(clippy::identity_op)]
    627
      pub fn set_rotation(&mut self, x: &Quat) {
  • stardust-xr-schemas 1.4.0/src/generated/input_hand.rs
    107
      #[allow(clippy::identity_op)]
    108
      pub fn set_tip(&mut self, x: &Joint) {
    119
      #[allow(clippy::identity_op)]
    120
      pub fn set_distal(&mut self, x: &Joint) {
    131
      #[allow(clippy::identity_op)]
    132
      pub fn set_intermediate(&mut self, x: &Joint) {
    143
      #[allow(clippy::identity_op)]
    144
      pub fn set_proximal(&mut self, x: &Joint) {
    155
      #[allow(clippy::identity_op)]
    156
      pub fn set_metacarpal(&mut self, x: &Joint) {
  • stateright 0.29.0/src/actor/register.rs
    127
        #[allow(clippy::identity_op)]
    128
        fn on_start(&self, id: Id, o: &mut Out<Self>) -> Self::State {
  • stateright 0.29.0/src/actor/write_once_register.rs
    135
        #[allow(clippy::identity_op)]
    136
        fn on_start(&self, id: Id, o: &mut Out<Self>) -> Self::State {
  • stb 0.3.2/examples/easy_font.rs
    4
    #[allow(clippy::identity_op)]
  • stm32wlxx-hal 0.6.1/src/subghz/pmode.rs
    12
        /// Reduces sensitivity.
    13
        #[allow(clippy::identity_op)]
    14
        PowerSaving = (0x25 << 2) | 0b00,
  • swash 0.1.6/src/scale/glyf/hint.rs
    2369
        #[rustfmt::skip]
    2370
        #[allow(clippy::eq_op, clippy::identity_op)]
    2371
        pub const OPCODE_POP_PUSH: [u8; 256] = [
  • swc_common 0.29.29/src/syntax_pos/analyze_source_file.rs
    135
    #[cfg(test)]
    136
    #[allow(clippy::identity_op)]
    137
    mod tests {
  • swf-emitter 0.14.0/src/button.rs
    58
      #[allow(clippy::identity_op)]
    59
      let flags: u8 = 0
    113
      };
    114
      #[allow(clippy::identity_op)]
    115
      let flags: u16 = 0
  • swf-emitter 0.14.0/src/display.rs
    95
    ) -> io::Result<()> {
    96
      #[allow(clippy::identity_op)]
    97
      let flags: u16 = 0
    204
      #[allow(clippy::identity_op)]
    205
      let flags: u8 = 0
    220
      #[allow(clippy::identity_op)]
    221
      let flags: u8 = 0
    249
      #[allow(clippy::identity_op)]
    250
      let flags: u8 = 0
    266
      #[allow(clippy::identity_op)]
    267
      let flags: u8 = 0
  • swf-emitter 0.14.0/src/gradient.rs
    29
      assert!(value.colors.len() <= 0x0f);
    30
      #[allow(clippy::identity_op)]
    31
      let flags: u8 = 0
    66
      assert!(value.colors.len() <= 0x0f);
    67
      #[allow(clippy::identity_op)]
    68
      let flags: u8 = 0
  • swf-emitter 0.14.0/src/morph_shape.rs
    138
      #[allow(clippy::identity_op)]
    139
      let flags: u8 = 0
  • swf-parser 0.14.0/src/complete/button.rs
    40
      let (input, flags) = parse_u8(input)?;
    41
      #[allow(clippy::identity_op)]
    42
      let state_up = (flags & (1 << 0)) != 0;
    119
      let (input, flags) = parse_le_u16(input)?;
    120
      #[allow(clippy::identity_op)]
    121
      let idle_to_over_up = (flags & (1 << 0)) != 0;
  • swf-parser 0.14.0/src/complete/display.rs
    81
      #[allow(clippy::identity_op)]
    82
      Ok((
    218
      let (input, flags) = parse_u8(input)?;
    219
      #[allow(clippy::identity_op)]
    220
      let preserve_alpha = (flags & (1 << 0)) != 0;
  • swf-parser 0.14.0/src/complete/morph_shape.rs
    450
      let (input, flags) = parse_le_u16(input)?;
    451
      #[allow(clippy::identity_op)]
    452
      let pixel_hinting = (flags & (1 << 0)) != 0;
  • swf-parser 0.14.0/src/complete/shape.rs
    409
      let (input, flags) = parse_le_u16(input)?;
    410
      #[allow(clippy::identity_op)]
    411
      let pixel_hinting = (flags & (1 << 0)) != 0;
  • swf-parser 0.14.0/src/complete/sound.rs
    38
      let (input, flags) = parse_u8(input)?;
    39
      #[allow(clippy::identity_op)]
    40
      let has_in_point = (flags & (1 << 0)) != 0;
  • swf-parser 0.14.0/src/complete/tag.rs
    223
      let (input, flags) = parse_u8(input)?;
    224
      #[allow(clippy::identity_op)]
    225
      let track_as_menu = (flags & (1 << 0)) != 0;
    411
      let (input, flags) = parse_le_u16(input)?;
    412
      #[allow(clippy::identity_op)]
    413
      let has_font = (flags & (1 << 0)) != 0;
    541
      let (input, flags) = parse_u8(input)?;
    542
      #[allow(clippy::identity_op)]
    543
      let is_bold = (flags & (1 << 0)) != 0;
  • tandem 0.3.0/src/states.rs
    1581
    #[allow(clippy::identity_op)]
    1582
    fn collect_authenticated_bits(bits: &[BitShare]) -> (MacType, MacType, MacType) {
  • tang-rs 0.2.0/src/util/spin_pool.rs
    17
    #[allow(clippy::identity_op)]
    18
    const LOCKED: usize = 1 << 0;
  • tari_core 0.8.1/src/base_node/comms_interface/inbound_handlers.rs
    73
    #[allow(clippy::identity_op)]
    74
    impl Display for Broadcast {
  • tari_core 0.8.1/src/transactions/tari_amount.rs
    93
    #[allow(clippy::identity_op)]
    94
    impl Display for MicroTari {
  • tch 0.10.1/src/vision/mobilenet.rs
    5
    #[allow(clippy::identity_op)]
    6
    // Conv2D + BatchNorm2D + ReLU6
    54
    #[allow(clippy::identity_op)]
    55
    pub fn v2(p: &nn::Path, nclasses: i64) -> impl ModuleT {
  • test-curve25519-dalek 4.0.0-pre.17/src/backend/serial/u32/field.rs
    426
        /// encoding is canonical.
    427
        #[allow(clippy::identity_op)]
    428
        pub fn as_bytes(&self) -> [u8; 32] {
  • test-curve25519-dalek 4.0.0-pre.17/src/backend/serial/u32/scalar.rs
    126
        #[rustfmt::skip] // keep alignment of s[*] calculations
    127
        #[allow(clippy::identity_op)]
    128
        pub fn as_bytes(&self) -> [u8; 32] {
  • test-curve25519-dalek 4.0.0-pre.17/src/backend/serial/u64/scalar.rs
    116
        #[rustfmt::skip] // keep alignment of s[*] calculations
    117
        #[allow(clippy::identity_op)]
    118
        pub fn as_bytes(&self) -> [u8; 32] {
  • test-curve25519-dalek 4.0.0-pre.17/src/scalar.rs
    986
            // Convert from radix 256 (bytes) to radix 16 (nibbles)
    987
            #[allow(clippy::identity_op)]
    988
            #[inline(always)]
  • thorium 0.4.0/src/dmg_render.rs
    255
    /// ```
    256
    #[allow(clippy::identity_op)]
    257
    pub const fn dmg_inflate_row(low: u8, high: u8) -> [u8; 8] {
  • tokio-async-std 1.5.3/src/sync/rwlock.rs
    13
    /// Set if a write lock is held.
    14
    #[allow(clippy::identity_op)]
    15
    const WRITE_LOCK: usize = 1 << 0;
  • tokio-async-std 1.5.3/src/sync/waker_set.rs
    15
    /// Set when the entry list is locked.
    16
    #[allow(clippy::identity_op)]
    17
    const LOCKED: usize = 1 << 0;
  • tract-core 0.19.2/src/ops/cnn/deconv/deconv_sum.rs
    282
        #[allow(clippy::erasing_op)]
    283
        #[allow(clippy::identity_op)]
    284
        unsafe fn main_loop_2d_inner<T: Datum + Float + AddAssign>(
  • tract-linalg 0.19.2/benches/x86_64.rs
    114
    #[allow(clippy::identity_op)]
    115
    unsafe fn packed_packed_8x1(f: Option<&str>) {
  • twenty-first 0.15.0/src/shared_math/mpolynomial.rs
    2163
            #[allow(clippy::erasing_op, clippy::identity_op)]
    2164
            let expected = cmp::max(0 * 3 + 2 * 5 + 1 * 7, 0 * 3 + 0 * 5 + 1 * 7);
  • uasync 0.1.1/src/thread_pool/scheduler.rs
    91
        #[allow(clippy::identity_op)]
    92
        const SEARCHING_SHIFT: u32 = Self::STATE_BITS * 1;
  • unix-fd 0.1.0/src/chroot.rs
    162
        {
    163
    	#[allow(clippy::identity_op)]
    164
            let open_flags = 0
  • vulkano 0.32.3/src/image/sys.rs
    3448
        #[test]
    3449
        #[allow(clippy::erasing_op, clippy::identity_op)]
    3450
        fn subresource_range_iterator() {
  • vulkano 0.32.3/src/memory/allocator/mod.rs
    610
        pub fn new_default(device: Arc<Device>) -> Self {
    611
            #[allow(clippy::erasing_op, clippy::identity_op)]
    612
            let create_info = GenericMemoryAllocatorCreateInfo {
    636
        pub fn new_default(device: Arc<Device>) -> Self {
    637
            #[allow(clippy::erasing_op, clippy::identity_op)]
    638
            let create_info = GenericMemoryAllocatorCreateInfo {
  • w5500-tls 0.1.3/src/crypto/aes/cipher.rs
    84
    #[allow(clippy::erasing_op, clippy::identity_op)]
    85
    fn shift_rows(block: &mut [u8; 16]) {
    114
    #[allow(clippy::identity_op)]
    115
    fn mix_columns(block: &mut [u8; 16]) {
    134
    #[allow(clippy::identity_op)]
    135
    fn key_expansion(key: &[u8; 16]) -> [u8; 176] {
  • waker-set 0.2.0/src/lib.rs
    15
    /// Set when the entry list is locked.
    16
    #[allow(clippy::identity_op)]
    17
    const LOCKED: usize = 1 << 0;
  • wasmer-types 3.2.0-alpha.1/src/vmoffsets.rs
    360
        /// The offset of the `vmctx` field.
    361
        #[allow(clippy::identity_op)]
    362
        pub const fn vmfunction_import_vmctx(&self) -> u8 {
    385
        /// The offset of the `ctx` field.
    386
        #[allow(clippy::identity_op)]
    387
        pub const fn vmdynamicfunction_import_context_ctx(&self) -> u8 {
    399
        /// The size of the `current_elements` field.
    400
        #[allow(clippy::identity_op)]
    401
        pub const fn size_of_vmfunction_body_ptr(&self) -> u8 {
    414
        /// The offset of the `handle` field.
    415
        #[allow(clippy::identity_op)]
    416
        pub const fn vmtable_import_handle(&self) -> u8 {
    434
        /// The offset of the `current_elements` field.
    435
        #[allow(clippy::identity_op)]
    436
        pub const fn vmtable_definition_current_elements(&self) -> u8 {
  • wasmer-vm-near 2.4.0/src/vmoffsets.rs
    128
        /// The offset of the `vmctx` field.
    129
        #[allow(clippy::identity_op)]
    130
        pub const fn vmfunction_import_vmctx(&self) -> u8 {
    152
        /// The offset of the `ctx` field.
    153
        #[allow(clippy::identity_op)]
    154
        pub const fn vmdynamicfunction_import_context_ctx(&self) -> u8 {
    168
        /// The size of the `current_elements` field.
    169
        #[allow(clippy::identity_op)]
    170
        pub const fn size_of_vmfunction_body_ptr(&self) -> u8 {
    185
        /// The offset of the `from` field.
    186
        #[allow(clippy::identity_op)]
    187
        pub const fn vmtable_import_from(&self) -> u8 {
    209
        /// The offset of the `current_elements` field.
    210
        #[allow(clippy::identity_op)]
    211
        pub const fn vmtable_definition_current_elements(&self) -> u8 {
  • wasmtime-environ 5.0.0/src/vmoffsets.rs
    108
        /// The offset of the `type_index` field.
    109
        #[allow(clippy::identity_op)]
    110
        #[inline]
    178
        /// The offset of the `current_length` field.
    179
        #[allow(clippy::identity_op)]
    180
        #[inline]
    454
        /// The offset of the `vmctx` field.
    455
        #[allow(clippy::identity_op)]
    456
        #[inline]
    470
        /// The size of the `current_elements` field.
    471
        #[allow(clippy::identity_op)]
    472
        pub fn size_of_vmfunction_body_ptr(&self) -> u8 {
    486
        /// The offset of the `vmctx` field.
    487
        #[allow(clippy::identity_op)]
    488
        #[inline]
  • web-audio-api 0.28.0/src/node/audio_buffer_source.rs
    1106
        #[allow(clippy::erasing_op)]
    1107
        #[allow(clippy::identity_op)]
    1108
        fn test_fast_track_loop() {
  • webpki 0.22.0/src/name/verify.rs
    300
        use ring::io::der::{CONSTRUCTED, CONTEXT_SPECIFIC};
    301
        #[allow(clippy::identity_op)]
    302
        const OTHER_NAME_TAG: u8 = CONTEXT_SPECIFIC | CONSTRUCTED | 0;
  • webpki 0.22.0/src/verify_cert.rs
    263
    // id-kp-serverAuth   OBJECT IDENTIFIER ::= { id-kp 1 }
    264
    #[allow(clippy::identity_op)] // TODO: Make this clearer
    265
    pub static EKU_SERVER_AUTH: KeyPurposeId = KeyPurposeId {
    269
    // id-kp-clientAuth   OBJECT IDENTIFIER ::= { id-kp 2 }
    270
    #[allow(clippy::identity_op)] // TODO: Make this clearer
    271
    pub static EKU_CLIENT_AUTH: KeyPurposeId = KeyPurposeId {
    275
    // id-kp-OCSPSigning  OBJECT IDENTIFIER ::= { id-kp 9 }
    276
    #[allow(clippy::identity_op)] // TODO: Make this clearer
    277
    pub static EKU_OCSP_SIGNING: KeyPurposeId = KeyPurposeId {
  • wishbone-tool 0.7.9/crates/core/riscv/mod.rs
    1091
                //SB x1,0(x2)
    1092
                #[allow(clippy::identity_op)]
    1093
                1 => (1 << 20) | (2 << 15) | (0x0 << 12) | 0x23,
    1127
                    // not side-effect free.
    1128
                    #[allow(clippy::identity_op)]
    1129
                    self.write_instruction(
    1214
                    self.write_register(bridge, &RiscvRegister::x1(), value)?;
    1215
                    #[allow(clippy::identity_op)]
    1216
                    self.write_instruction(
  • wm8731-another-hal 0.1.0/src/registers/sampling.rs
    17
    impl Sampling {
    18
        #[allow(clippy::identity_op)]
    19
        pub fn new() -> Self {
  • xilinx-dma 0.0.7/src/axi_dma.rs
    90
                ptr::write_volatile(self.base.offset(MM2S_DMACR), 0x7001);
    91
                #[allow(clippy::identity_op)]
    92
                ptr::write_volatile(
    115
                ptr::write_volatile(self.base.offset(S2MM_DMACR), 0x7001);
    116
                #[allow(clippy::identity_op)]
    117
                ptr::write_volatile(
  • xilinx-dma 0.0.7/src/axi_dma_async.rs
    93
                ptr::write_volatile(self.base.offset(MM2S_DMACR), 0x7001);
    94
                #[allow(clippy::identity_op)]
    95
                ptr::write_volatile(
    120
                ptr::write_volatile(self.base.offset(S2MM_DMACR), 0x7001);
    121
                #[allow(clippy::identity_op)]
    122
                ptr::write_volatile(
  • zune-inflate 0.2.42/src/crc.rs
    7
    /// Calculate crc for a data and an initial crc value
    8
    #[allow(clippy::identity_op, clippy::zero_prefixed_literal)]
    9
    pub fn crc32(data: &[u8], mut crc: u32) -> u32
  • amadeus-parquet 0.4.3/src/internal/util/bit_packing.rs
    18
    #![allow(clippy::identity_op)]
  • atsamd-hal 0.15.1/src/dmac/mod.rs
    251
    // This is necessary until modular_bitfield fixes all their identity_op warnings
    252
    #![allow(clippy::identity_op)]
  • atsamd-hal 0.15.1/src/sercom/i2c/flags.rs
    1
    //! Flag definitions
    2
    #![allow(clippy::identity_op)]
    3
    #![allow(unused_braces)]
  • automate 0.4.0/src/lib.rs
    2
    #![feature(try_blocks)]
    3
    #![allow(clippy::identity_op)] //because clippy forbides 1 << 0 in c-like enums
    4
    #![allow(clippy::option_option)] //opt<opt<>> is required to properly handle nullables
  • cargo-semverver 0.34.0/src/cargo/lib.rs
    9
    #![allow(clippy::explicit_iter_loop)] // explicit loops are clearer
    10
    #![allow(clippy::identity_op)] // used for vertical alignment
    11
    #![allow(clippy::implicit_hasher)] // large project
  • cargo-spellcheck 0.12.3/src/lib.rs
    9
    // be explicit about certain offsets and how they are constructed
    10
    #![allow(clippy::identity_op)]
    11
    // in small cli projects, this is ok for now
  • concrete 0.2.1/tests/test_shortints.rs
    2
    #![allow(clippy::assign_op_pattern)]
    3
    #![allow(clippy::identity_op)]
  • concrete-fft 0.1.0/src/lib.rs
    65
        clippy::erasing_op,
    66
        clippy::identity_op,
    67
        clippy::zero_prefixed_literal,
  • controlgroup 0.3.0/src/v1/builder.rs
    680
        fn test_builder() -> Result<()> {
    681
            #![allow(clippy::identity_op)]
  • controlgroup 0.3.0/src/v1/hugetlb.rs
    470
        fn test_bytes_to_pages() {
    471
            #![allow(clippy::identity_op)]
    487
        fn test_pages_to_bytes() {
    488
            #![allow(clippy::identity_op)]
  • controlgroup 0.3.0/src/v1/memory.rs
    678
        fn test_subsystem_apply() -> Result<()> {
    679
            #![allow(clippy::identity_op)]
    884
        fn test_subsystem_stat_throttled() -> Result<()> {
    885
            #![allow(clippy::identity_op)]
  • controlgroup 0.3.0/src/v1/unified_repr.rs
    557
        fn test_unified_repr_apply() -> Result<()> {
    558
            #![allow(clippy::identity_op)]
  • cortex-m 0.7.7/src/lib.rs
    70
    #![no_std]
    71
    #![allow(clippy::identity_op)]
    72
    #![allow(clippy::missing_safety_doc)]
  • cpclib 0.6.0/src/lib.rs
    29
        clippy::module_inception,
    30
        clippy::identity_op
    31
    )]
  • cpclib-sna 0.6.0/src/bin/snapshot.rs
    14
    #![allow(clippy::cast_possible_truncation)]
    15
    #![allow(clippy::identity_op)]
  • crates-io-semverver 0.22.0/lib.rs
    1
    #![allow(unknown_lints)]
    2
    #![allow(clippy::identity_op)] // used for vertical alignment
  • cretonne-codegen 0.13.2/src/lib.rs
    15
                    many_single_char_names,
    16
                    identity_op,
    17
                    needless_borrow,
  • cryptoxide 0.4.2/src/lib.rs
    32
    #![allow(clippy::wrong_self_convention)]
    33
    #![allow(clippy::identity_op)]
    34
    #![allow(clippy::many_single_char_names)]
  • daisy 0.7.3/src/itm.rs
    1
    #![allow(clippy::identity_op)] // For illustration purposes
  • definitely-not-piet-direct2d-please-ignore 0.6.0/src/lib.rs
    2
    // allows for nice formatting for e.g. new_buf[i * 4 + 0] = premul(buf[i * 4 + 0, a)
    3
    #![allow(clippy::identity_op)]
    4
    #![deny(clippy::trivially_copy_pass_by_ref)]
  • device-register 0.3.1/tests/modular-bitfield.rs
    1
    #![allow(clippy::identity_op)]
    2
    #[path = "./common.rs"]
  • device-register-async 0.3.1/tests/modular-bitfield.rs
    1
    #![allow(clippy::identity_op)]
    2
    #![allow(incomplete_features)]
  • dynamic_ocl 0.1.0-alpha.1/src/raw.rs
    14
        clippy::unreadable_literal,
    15
        clippy::identity_op,
    16
        clippy::too_many_arguments,
  • ed25519-compact 2.0.4/src/lib.rs
    102
        clippy::suspicious_arithmetic_impl,
    103
        clippy::identity_op
    104
    )]
  • ed25519-compact 2.0.4/src/sha512.rs
    7
        clippy::eq_op,
    8
        clippy::identity_op,
    9
        clippy::many_single_char_names,
  • egui 0.20.1/src/widgets/color_picker.rs
    104
    fn color_slider_1d(ui: &mut Ui, value: &mut f32, color_at: impl Fn(f32) -> Color32) -> Response {
    105
        #![allow(clippy::identity_op)]
  • encode_unicode 1.0.0/src/lib.rs
    53
        clippy::needless_range_loop,// the suggested iterator chains are less intuitive
    54
        clippy::identity_op,// applying a set of opereations with varying arguments to many elements looks nice
    55
        clippy::get_first,// .get(0), .get(1) is more readable
  • epaint 0.20.0/src/mesh.rs
    151
        pub fn add_rect_with_uv(&mut self, rect: Rect, uv: Rect, color: Color32) {
    152
            #![allow(clippy::identity_op)]
  • epaint 0.20.0/src/tessellator.rs
    6
    #![allow(clippy::identity_op)]
  • expected 0.0.1/tests/sketch.rs
    1
    #![allow(clippy::assertions_on_constants, clippy::eq_op, clippy::identity_op)]
  • flight-computer 0.1.0/src/ublox_device.rs
    296
    pub mod cfg_prt_uart {
    297
        #![allow(clippy::identity_op)]
    298
        #![allow(unused_braces)]
  • fuel-merkle 0.25.2/src/lib.rs
    1
    #![cfg_attr(not(feature = "std"), no_std)]
    2
    #![allow(clippy::bool_assert_comparison, clippy::identity_op)]
  • g-k-crates-io-client 0.27.1/lib.rs
    1
    #![allow(unknown_lints)]
    2
    #![allow(clippy::identity_op)] // used for vertical alignment
  • hmac-sha1-compact 1.1.3/src/lib.rs
    8
        clippy::eq_op,
    9
        clippy::identity_op,
    10
        clippy::many_single_char_names,
  • hmac-sha256 1.1.6/src/lib.rs
    8
        clippy::eq_op,
    9
        clippy::identity_op,
    10
        clippy::many_single_char_names,
  • hmac-sha512 1.1.4/src/lib.rs
    8
        clippy::eq_op,
    9
        clippy::identity_op,
    10
        clippy::many_single_char_names,
  • hvm 1.0.20-beta/src/compiler/mod.rs
    1
    #![allow(unreachable_code)]
    2
    #![allow(clippy::identity_op)]
  • hvm 1.0.20-beta/src/runtime/mod.rs
    1
    #![allow(clippy::identity_op)]
    2
    #![allow(dead_code)]
  • icrate 0.0.1/src/lib.rs
    14
    #![allow(clippy::type_complexity)]
    15
    #![allow(clippy::identity_op)]
    16
    // Update in Cargo.toml as well.
  • ink_macro 4.0.0-beta.1/src/storage/tests/storable.rs
    18
    #![allow(clippy::absurd_extreme_comparisons)]
    19
    #![allow(clippy::identity_op)]
    20
    #![allow(clippy::eq_op)]
  • ink_storage_derive 4.0.0-alpha.1/src/tests/spread_layout.rs
    18
    #![allow(clippy::absurd_extreme_comparisons)]
    19
    #![allow(clippy::identity_op)]
    20
    #![allow(clippy::eq_op)]
  • irondash_message_channel 0.1.0/src/lib.rs
    2
    #![allow(clippy::new_without_default)]
    3
    #![allow(clippy::identity_op)]
    4
    #![allow(clippy::module_inception)]
  • ironworks 0.4.1/src/file/mdl/structs.rs
    1
    // TODO: REMOVE
    2
    #![allow(dead_code, clippy::identity_op)]
  • jhash 0.1.1/src/jhash.rs
    1
    #![allow(clippy::unreadable_literal,clippy::identity_op)]
  • jpeg-decoder 0.3.0/src/idct.rs
    9
    #![allow(clippy::erasing_op)]
    10
    #![allow(clippy::identity_op)]
    11
    use crate::parser::Dimensions;
  • jpeg-encoder 0.5.1/src/image_buffer.rs
    1
    #![allow(clippy::identity_op)]
  • kindelia_core 0.1.7/src/runtime/mod.rs
    88
    #![allow(clippy::style)]
    89
    #![allow(clippy::identity_op)]
  • kiss3d 0.35.0/src/renderer/conrod_renderer.rs
    3
    #![allow(clippy::identity_op)]
  • labrador-ldpc 1.0.1/src/codes/mod.rs
    7
    // We have a bunch of expressions with +0 for clarity of where the 0 comes from
    8
    #![allow(clippy::identity_op,clippy::erasing_op)]
  • labrador-ldpc 1.0.1/src/encoder.rs
    9
    // We have a couple of expressions with +0 for clarity of where the 0 comes from
    10
    #![allow(clippy::identity_op)]
  • libsecp256k1-core 0.3.0/src/lib.rs
    4
        clippy::cast_ptr_alignment,
    5
        clippy::identity_op,
    6
        clippy::many_single_char_names,
  • lpc55 0.2.1/src/lib.rs
    23
    // for readability
    24
    #![allow(clippy::identity_op)]
  • maplibre 0.0.2/src/render/shaders/mod.rs
    1
    #![allow(clippy::identity_op)]
    2
    use wgpu::{
  • mcp25xx 0.1.0/src/registers.rs
    1
    #![allow(clippy::identity_op)] // FIXME https://github.com/Robbepop/modular-bitfield/issues/62
  • millennium-core 1.0.0-beta.3/src/lib.rs
    165
    	clippy::type_complexity,
    166
    	clippy::identity_op,
    167
    	clippy::wrong_self_convention,
  • minifb 0.23.0/src/os/posix/xkb_ffi.rs
    1
    #![allow(non_camel_case_types, clippy::identity_op)]
    2
    /** Minimal xkb_common ffi wrapper, based on sctk's. */
  • minisign 0.7.2/src/crypto/mod.rs
    8
        clippy::suspicious_arithmetic_impl,
    9
        clippy::identity_op
    10
    )]
  • minisign 0.7.2/src/crypto/sha512.rs
    7
        clippy::eq_op,
    8
        clippy::identity_op,
    9
        clippy::many_single_char_names,
  • minisign-verify 0.2.1/src/crypto/sha512.rs
    7
        clippy::eq_op,
    8
        clippy::identity_op,
    9
        clippy::many_single_char_names,
  • multiversx-sdk 0.1.1/src/crypto/edwards25519/mod.rs
    1
    #![allow(clippy::identity_op)]
  • mutexpect 0.2.7/src/point_mutation_classifier.rs
    1
    #![allow(clippy::identity_op)]
  • nativeshell_core 0.1.3/src/lib.rs
    2
    #![allow(clippy::new_without_default)]
    3
    #![allow(clippy::identity_op)]
    4
    #![allow(clippy::module_inception)]
  • nestadia 0.1.0/src/cartridge/ines_header.rs
    1
    #![allow(clippy::identity_op)]
  • ntex-grpc 0.3.3/src/google_types/duration.rs
    4
        unused_variables,
    5
        clippy::identity_op,
    6
        clippy::derivable_impls,
  • ntex-grpc 0.3.3/src/google_types/timestamp.rs
    4
        unused_variables,
    5
        clippy::identity_op,
    6
        clippy::derivable_impls,
  • object 0.30.3/src/elf.rs
    8
    #![allow(clippy::identity_op)]
  • ok-picker 0.0.3/src/widgets/mod.rs
    142
    ) -> Response {
    143
        #![allow(clippy::identity_op)]
    213
    ) -> Response {
    214
        #![allow(clippy::identity_op)]
  • openxr-sys 0.9.3/src/generated.rs
    4
        clippy::unreadable_literal,
    5
        clippy::identity_op,
    6
        unused,
  • oxygen_quark 0.0.11/src/matrix/matrix2x2.rs
    2
        clippy::erasing_op,
    3
        clippy::identity_op,
    4
        clippy::suspicious_op_assign_impl,
  • oxygen_quark 0.0.11/src/matrix/matrix3x3.rs
    2
        clippy::erasing_op,
    3
        clippy::identity_op,
    4
        clippy::suspicious_op_assign_impl,
  • oxygen_quark 0.0.11/src/matrix/matrix4x4.rs
    2
        clippy::erasing_op,
    3
        clippy::identity_op,
    4
        clippy::suspicious_op_assign_impl,
  • p384 0.12.0/src/arithmetic/field.rs
    19
        clippy::too_many_arguments,
    20
        clippy::identity_op
    21
    )]
  • p384_rs 0.1.10/src/arithmetic/field.rs
    19
        clippy::too_many_arguments,
    20
        clippy::identity_op
    21
    )]
  • pakr-rawata 1.0.0/src/lib.rs
    47
    #![allow(clippy::identity_op)]
  • pakr-rawata 1.0.0/src/linux.rs
    13
    #![allow(dead_code)]
    14
    #![allow(clippy::identity_op)]
  • piet-common 0.6.2/src/cairo_back.rs
    1
    // allows e.g. raw_data[dst_off + x * 4 + 2] = buf[src_off + x * 4 + 0];
    2
    #![allow(clippy::identity_op)]
  • piet-common 0.6.2/src/cg_back.rs
    1
    // allows e.g. raw_data[dst_off + x * 4 + 2] = buf[src_off + x * 4 + 0];
    2
    #![allow(clippy::identity_op)]
  • piet-direct2d 0.6.2/src/lib.rs
    2
    // allows for nice formatting for e.g. new_buf[i * 4 + 0] = premul(buf[i * 4 + 0, a)
    3
    #![allow(clippy::identity_op)]
    4
    #![deny(clippy::trivially_copy_pass_by_ref)]
  • piet-web 0.6.2/src/lib.rs
    1
    // allows e.g. raw_data[dst_off + x * 4 + 2] = buf[src_off + x * 4 + 0];
    2
    #![allow(clippy::identity_op)]
    3
    #![deny(clippy::trivially_copy_pass_by_ref)]
  • polyfuse-kernel 0.1.0/src/lib.rs
    5
    #![allow(nonstandard_style, clippy::identity_op)]
  • polyfuse-sys 0.1.0/src/kernel.rs
    5
    #![allow(clippy::identity_op)]
  • python27-sys 0.7.0/src/lib.rs
    9
        clippy::unused_unit,
    10
        clippy::identity_op
    11
    )]
  • python3-sys 0.7.1/src/lib.rs
    9
        clippy::unused_unit,
    10
        clippy::identity_op
    11
    )]
  • qvnt 0.5.0-alpha/src/math/matrix.rs
    1
    #![allow(clippy::identity_op)]
  • rand_hc 0.3.1/src/hc128.rs
    10
    #![allow(clippy::many_single_char_names)]
    11
    #![allow(clippy::identity_op)]
    12
    // Disable a lint that cannot be fixed without increasing the MSRV
  • resvg 0.28.0/src/lib.rs
    11
    #![allow(clippy::too_many_arguments)]
    12
    #![allow(clippy::identity_op)]
    13
    #![allow(clippy::upper_case_acronyms)]
  • ron 0.8.0/src/parse.rs
    1
    #![allow(clippy::identity_op)]
  • saft 0.32.0/src/marching_cubes.rs
    1
    #![allow(clippy::identity_op)]
  • seq-macro 0.3.2/tests/test.rs
    2
        clippy::derive_partial_eq_without_eq,
    3
        clippy::identity_op,
    4
        clippy::shadow_unrelated
  • sev 1.1.0/src/lib.rs
    36
    #![allow(unknown_lints)]
    37
    #![allow(clippy::identity_op)]
    38
    #![allow(clippy::unreadable_literal)]
  • sha1_smol 1.0.0/src/lib.rs
    37
    #![allow(clippy::double_parens)]
    38
    #![allow(clippy::identity_op)]
  • smithay-client-toolkit 0.16.0/src/seat/keyboard/ffi.rs
    1
    #![allow(dead_code, non_camel_case_types, clippy::identity_op)]
  • smoltcp 0.8.2/src/lib.rs
    92
    #![allow(clippy::redundant_field_names)]
    93
    #![allow(clippy::identity_op)]
    94
    #![allow(clippy::option_map_unit_fn)]
  • spritec 0.1.0/src/bin/spritec/main.rs
    5
    #![allow(
    6
        clippy::identity_op,
    7
        clippy::let_and_return,
  • spritec 0.1.0/src/lib.rs
    14
    #![allow(
    15
        clippy::identity_op,
    16
        clippy::let_and_return,
  • strife 0.3.0/src/lib.rs
    4
    #![deny(missing_docs)]
    5
    #![allow(clippy::identity_op)]
  • svgr 0.27.0/src/lib.rs
    11
    #![allow(clippy::too_many_arguments)]
    12
    #![allow(clippy::identity_op)]
    13
    #![allow(clippy::upper_case_acronyms)]
  • symphonia-bundle-flac 0.5.2/src/lib.rs
    13
    #![allow(clippy::excessive_precision)]
    14
    #![allow(clippy::identity_op)]
    15
    #![allow(clippy::manual_range_contains)]
  • symphonia-bundle-mp3 0.5.2/src/lib.rs
    13
    #![allow(clippy::excessive_precision)]
    14
    #![allow(clippy::identity_op)]
    15
    #![allow(clippy::manual_range_contains)]
  • symphonia-codec-aac 0.5.2/src/lib.rs
    13
    #![allow(clippy::excessive_precision)]
    14
    #![allow(clippy::identity_op)]
    15
    #![allow(clippy::manual_range_contains)]
  • symphonia-codec-adpcm 0.5.2/src/lib.rs
    13
    #![allow(clippy::excessive_precision)]
    14
    #![allow(clippy::identity_op)]
    15
    #![allow(clippy::manual_range_contains)]
  • symphonia-codec-alac 0.5.2/src/lib.rs
    13
    #![allow(clippy::excessive_precision)]
    14
    #![allow(clippy::identity_op)]
    15
    #![allow(clippy::manual_range_contains)]
  • symphonia-codec-pcm 0.5.2/src/lib.rs
    13
    #![allow(clippy::excessive_precision)]
    14
    #![allow(clippy::identity_op)]
    15
    #![allow(clippy::manual_range_contains)]
  • symphonia-codec-vorbis 0.5.2/src/lib.rs
    13
    #![allow(clippy::excessive_precision)]
    14
    #![allow(clippy::identity_op)]
    15
    #![allow(clippy::manual_range_contains)]
  • symphonia-core 0.5.2/src/lib.rs
    11
    #![allow(clippy::excessive_precision)]
    12
    #![allow(clippy::identity_op)]
    13
    #![allow(clippy::manual_range_contains)]
  • symphonia-format-isomp4 0.5.2/src/lib.rs
    12
    #![allow(clippy::excessive_precision)]
    13
    #![allow(clippy::identity_op)]
    14
    #![allow(clippy::manual_range_contains)]
  • symphonia-format-mkv 0.5.2/src/lib.rs
    13
    #![allow(clippy::excessive_precision)]
    14
    #![allow(clippy::identity_op)]
    15
    #![allow(clippy::manual_range_contains)]
  • symphonia-format-ogg 0.5.2/src/lib.rs
    13
    #![allow(clippy::excessive_precision)]
    14
    #![allow(clippy::identity_op)]
    15
    #![allow(clippy::manual_range_contains)]
  • symphonia-format-wav 0.5.2/src/lib.rs
    13
    #![allow(clippy::excessive_precision)]
    14
    #![allow(clippy::identity_op)]
    15
    #![allow(clippy::manual_range_contains)]
  • symphonia-metadata 0.5.2/src/lib.rs
    13
    #![allow(clippy::excessive_precision)]
    14
    #![allow(clippy::identity_op)]
    15
    #![allow(clippy::manual_range_contains)]
  • symphonia-utils-xiph 0.5.2/src/lib.rs
    11
    #![allow(clippy::excessive_precision)]
    12
    #![allow(clippy::identity_op)]
    13
    #![allow(clippy::manual_range_contains)]
  • tao 0.17.0/src/lib.rs
    143
      clippy::type_complexity,
    144
      clippy::identity_op,
    145
      clippy::wrong_self_convention,
  • thindx 0.0.0-unsound.5/src/_lib.rs
    6
    #![allow(clippy::identity_op)]                  // I like to `<< 0`, `+ 0`, etc. for consistency
    7
    #![allow(clippy::missing_safety_doc)]           // I prefer ⚠️ Safety ⚠️ docs
  • thisisstupidaaaa 0.1.0/src/lib.rs
    3
    #![allow(clippy::double_parens)]
    4
    #![allow(clippy::identity_op)]
  • thread-priority 0.10.0/src/unix.rs
    731
            // allow the identity operation for clarity
    732
            #![allow(clippy::identity_op)]
    733
            use std::time::Duration;
  • tiny-skia 0.8.2/src/lib.rs
    22
    #![allow(clippy::excessive_precision)]
    23
    #![allow(clippy::identity_op)]
    24
    #![allow(clippy::manual_range_contains)]
  • tiny-skia-path 0.8.2/src/lib.rs
    22
    #![allow(clippy::excessive_precision)]
    23
    #![allow(clippy::identity_op)]
    24
    #![allow(clippy::manual_range_contains)]
  • tor-proto 0.8.0/src/circuit.rs
    832
            fn next_tag(&mut self) -> &[u8; 20] {
    833
                #![allow(clippy::identity_op)]
    834
                self.counter_tag[0] = ((self.counter >> 0) & 255) as u8;
  • ttf-parser 0.18.1/src/lib.rs
    41
    #![allow(clippy::get_first)] // we use it for readability
    42
    #![allow(clippy::identity_op)] // we use it for readability
    43
    #![allow(clippy::too_many_arguments)]
  • uhyve 0.2.1/src/macos/aarch64/vcpu.rs
    1
    #![allow(non_snake_case)]
    2
    #![allow(clippy::identity_op)]
  • usvg 0.28.0/src/lib.rs
    57
    #![allow(clippy::neg_cmp_op_on_partial_ord)]
    58
    #![allow(clippy::identity_op)]
    59
    #![allow(clippy::question_mark)]
  • usvg-text-layout 0.28.0/src/lib.rs
    19
    #![allow(clippy::neg_cmp_op_on_partial_ord)]
    20
    #![allow(clippy::identity_op)]
    21
    #![allow(clippy::question_mark)]
  • usvgr 0.27.0/src/lib.rs
    57
    #![allow(clippy::neg_cmp_op_on_partial_ord)]
    58
    #![allow(clippy::identity_op)]
    59
    #![allow(clippy::question_mark)]
  • usvgr-text-layout 0.27.0/src/lib.rs
    19
    #![allow(clippy::neg_cmp_op_on_partial_ord)]
    20
    #![allow(clippy::identity_op)]
    21
    #![allow(clippy::question_mark)]
  • ux-dx 0.2.1/src/lib.rs
    49
        clippy::manual_map,
    50
        clippy::identity_op,
    51
        clippy::module_inception,
  • virtio-drivers 0.3.0/src/lib.rs
    43
    #![deny(unused_must_use, missing_docs)]
    44
    #![allow(clippy::identity_op)]
    45
    #![allow(dead_code)]
  • vkcargo 0.45.1/src/cargo/lib.rs
    9
    #![allow(clippy::explicit_iter_loop)] // explicit loops are clearer
    10
    #![allow(clippy::identity_op)] // used for vertical alignment
    11
    #![allow(clippy::implicit_hasher)] // large project
  • wasmer-wasi-fl 0.17.1/src/syscalls/types.rs
    1
    #![allow(non_camel_case_types, clippy::identity_op)]
  • wasmer-wasi-near 1.0.1/src/syscalls/types.rs
    1
    #![allow(non_camel_case_types, clippy::identity_op)]
  • wasmer-wasi-types 3.2.0-alpha.1/src/types.rs
    1
    #![deny(unused_mut)]
    2
    #![allow(non_camel_case_types, clippy::identity_op)]
  • watt 0.4.2/src/decode.rs
    1
    #![allow(clippy::identity_op)]
  • watt-non-static-runtime 0.4.0/src/decode.rs
    1
    #![allow(clippy::identity_op)]
  • websocat 1.11.0/src/http_peer.rs
    2
    #![allow(unused)]
    3
    #![cfg_attr(feature="cargo-clippy",allow(needless_pass_by_value,cast_lossless,identity_op))]
    4
    use futures::future::{err, ok, Future};
  • websocat 1.11.0/src/socks5_peer.rs
    1
    #![cfg_attr(feature="cargo-clippy",allow(needless_pass_by_value,cast_lossless,identity_op))]
    2
    use futures::future::{err, ok, Future};
  • wmjtyd-libstock 0.4.0-pre.1/src/data/num/decimal_dec.rs
    93
        // For readability.
    94
        #![allow(clippy::identity_op)]
  • wmjtyd-libstock 0.4.0-pre.1/src/data/num/decimal_enc.rs
    108
        // For readability.
    109
        #![allow(clippy::identity_op)]
  • wmjtyd-libstock 0.4.0-pre.1/src/data/num/test_utils.rs
    1
    #![allow(clippy::identity_op)]
    2
    #![cfg(test)]
  • xi-trace 0.2.0/src/lib.rs
    14
    #![cfg_attr(feature = "benchmarks", feature(test))]
    15
    #![allow(clippy::identity_op, clippy::new_without_default, clippy::trivially_copy_pass_by_ref)]
  • xim-gen 0.1.0/res/snippet.rs
    4
    #![allow(clippy::identity_op)]
  • xim-parser 0.2.1/src/parser.rs
    4
    #![allow(clippy::identity_op)]
  • ya-smoltcp 0.1.0/src/lib.rs
    92
    #![allow(clippy::redundant_field_names)]
    93
    #![allow(clippy::identity_op)]
    94
    #![allow(clippy::option_map_unit_fn)]