• meiosis 0.1.0/src/gene/char.rs
    102
                // some valid value which won't cause an overflow.
    103
                #[allow(clippy::arithmetic_side_effects, clippy::integer_arithmetic)]
    104
                char::from_u32(u32::from(char) + 1)
    120
                // some valid value which won't cause an underflow.
    121
                #[allow(clippy::arithmetic_side_effects, clippy::integer_arithmetic)]
    122
                char::from_u32(u32::from(char) - 1)
  • meiosis 0.1.0/src/genotype/string.rs
    27
                // making this basically impossible to be a problem
    28
                #[allow(clippy::arithmetic_side_effects)]
    29
                #[allow(clippy::as_conversions)]
  • memacc 0.1.5/src/memman.rs
    66
        let start = *indices.start();
    67
        #[allow(clippy::arithmetic_side_effects)]
    68
        let length = indices.end() - indices.start();
  • rational_extensions 0.1.0/src/lib.rs
    134
    /// `frac_digit_count.max()`.
    135
    #[allow(clippy::arithmetic_side_effects, clippy::single_char_lifetime_names)]
    136
    pub fn try_from_dec_str<T>(
    214
        unsafe_code,
    215
        clippy::arithmetic_side_effects,
    216
        clippy::single_char_lifetime_names,
    258
        unsafe_code,
    259
        clippy::arithmetic_side_effects,
    260
        clippy::integer_arithmetic
  • sparkle-cache 0.14.1/src/tests.rs
    459
        /// Updates the cache with the pending events for 1 second
    460
        #[allow(clippy::integer_arithmetic, clippy::arithmetic_side_effects)]
    461
        async fn update(&mut self) -> Result<(), anyhow::Error> {
  • zerocopy 0.7.0-alpha.2/src/lib.rs
    1778
            // > 0`. Thus, neither the mod nor division operations here can panic.
    1779
            #[allow(clippy::arithmetic_side_effects)]
    1780
            let elems = {
    1808
            // > 0`. Thus, neither the mod nor division operations here can panic.
    1809
            #[allow(clippy::arithmetic_side_effects)]
    1810
            let elems = {
    1831
        // turn guarantees that this mod operation will not panic.
    1832
        #[allow(clippy::arithmetic_side_effects)]
    1833
        let remainder = addr % mem::align_of::<T>();
    2244
                let ptr = v.as_mut_ptr();
    2245
                #[allow(clippy::arithmetic_side_effects)]
    2246
                ptr.add(position).copy_to(ptr.add(position + additional), v.len() - position);
    2247
                ptr.add(position).write_bytes(0, additional);
    2248
                #[allow(clippy::arithmetic_side_effects)]
    2249
                v.set_len(v.len() + additional);
  • expecto-patronum 0.1.0/src/lib.rs
    13
    #![allow(clippy::expect_used)]
    14
    #![allow(clippy::arithmetic_side_effects)]
    15
    #![allow(clippy::integer_arithmetic)]
  • sparkle-cache-postgres 0.14.1/src/backend.rs
    6
        clippy::std_instead_of_core,
    7
        clippy::arithmetic_side_effects
    8
    )]
  • sparkle-cache-postgres 0.14.1/src/cache.rs
    6
        clippy::cast_sign_loss,
    7
        clippy::arithmetic_side_effects
    8
    )]
  • vqueue 2.0.1-rc.4/src/lib.rs
    31
    #![allow(clippy::multiple_crate_versions)]
    32
    #![allow(clippy::integer_arithmetic, clippy::arithmetic_side_effects)] // issue with strum
    33
    // restriction we ignore
  • vsmtp-protocol 2.0.1-rc.4/src/lib.rs
    38
        clippy::implicit_return,
    39
        clippy::arithmetic_side_effects,
    40
        clippy::integer_arithmetic,