• actyxos_sdk 0.6.0/src/event/scalars.rs
    357
            buf[MAX_SOURCEID_LENGTH] = bytes.len() as u8;
    358
            #[allow(clippy::redundant_slicing)]
    359
            buf[..bytes.len()].clone_from_slice(&bytes[..]);
  • ascii 1.1.0/src/ascii_str.rs
    1378
        #[test]
    1379
        #[allow(clippy::redundant_slicing)]
    1380
        fn index() {
  • ascii 1.1.0/tests.rs
    96
    #[test]
    97
    #[allow(clippy::redundant_slicing)]
    98
    fn compare_ascii_str_slice() {
  • automerge 0.3.0/src/columnar/column_range/value.rs
    214
                    let val_meta = ValueMeta::from(next);
    215
                    #[allow(clippy::redundant_slicing)]
    216
                    match val_meta.type_code() {
  • busrt 0.3.6/src/cli.rs
    228
        } else {
    229
            #[allow(clippy::redundant_slicing)]
    230
            (&payload[..], "")
  • chore 0.1.0/src/print.rs
    186
        // and unavailable for the from_utf8_unchecked() access
    187
        #[allow(clippy::redundant_slicing)]
    188
        let mut cursor = std::io::Cursor::new(&mut buf[..]);
  • elbus 0.2.21/src/cli.rs
    228
        } else {
    229
            #[allow(clippy::redundant_slicing)]
    230
            (&payload[..], "")
  • git-pack 0.30.1/src/data/entry/decode.rs
    69
                    r.read_exact(hash)?;
    70
                    #[allow(clippy::redundant_slicing)]
    71
                    let delta = RefDelta {
  • glommio 0.8.0/src/lib.rs
    286
    #[allow(clippy::redundant_slicing)]
    287
    #[allow(dead_code)]
  • malachite-nz 0.3.2/src/natural/arithmetic/mod_pow.rs
    76
    // This is equivalent to `mpn_redc_1` from `mpn/generic/redc_1.c`, GMP 6.2.1.
    77
    #[allow(clippy::redundant_slicing)]
    78
    fn limbs_redc_limb_raw(out: &mut [Limb], xs: &mut [Limb], ms: &[Limb], m_inv: Limb) -> bool {
  • ntex-bytes 0.1.19/tests/test_bytes.rs
    448
        clippy::cmp_owned,
    449
        clippy::redundant_slicing,
    450
        clippy::iter_cloned_collect,
    504
        clippy::iter_cloned_collect,
    505
        clippy::redundant_slicing,
    506
        clippy::needless_borrow
    568
    #[test]
    569
    #[allow(clippy::redundant_slicing)]
    570
    fn fns_defined_for_bytes_vec() {
  • psrt 0.1.30/src/server.rs
    342
                    if let Ok(topic) = psrt::pubsub::prepare_topic(std::str::from_utf8(&buf)?) {
    343
                        #[allow(clippy::redundant_slicing)]
    344
                        if topic.contains(TOPIC_INVALID_SYMBOLS) {
    969
        let topic = psrt::pubsub::prepare_topic(topic).map_err(|e| (e, need_ack))?;
    970
        #[allow(clippy::redundant_slicing)]
    971
        if topic.contains(TOPIC_INVALID_SYMBOLS) {
  • wtf8-rs 1.1.0/src/wtf8buf/mod.rs
    305
                let len = len_utf8(code);
    306
                #[allow(clippy::redundant_slicing)]
    307
                match (len, &mut dst[..]) {
  • arcstr 1.1.5/src/arc_str.rs
    6
    // For macros
    7
        clippy::redundant_slicing,
    8
    )]
  • arcstr 1.1.5/src/substr.rs
    6
        // For macros
    7
        clippy::redundant_slicing,
    8
    )]
  • arcstr 1.1.5/tests/substr.rs
    7
        // Deliberate
    8
        clippy::redundant_slicing,
    9
    )]
  • cess-sp-core 0.1.2/src/lib.rs
    5
    #![allow(clippy::upper_case_acronyms)]
    6
    #![allow(clippy::redundant_slicing)]
    7
    #![allow(clippy::unnecessary_wraps)]
  • hdf5-types 0.8.1/src/string.rs
    1
    #![allow(clippy::redundant_slicing)]
    2
    use std::borrow::{Borrow, Cow};
  • minivec 0.4.0/tests/vec.rs
    14
      clippy::eq_op,
    15
      clippy::redundant_slicing,
    16
      clippy::iter_count,
  • sprs 0.11.0/src/lib.rs
    75
    */
    76
    #![allow(clippy::redundant_slicing)]
  • storage-proofs-core 12.0.0/src/lib.rs
    5
    #![allow(clippy::upper_case_acronyms)]
    6
    #![allow(clippy::redundant_slicing)]
    7
    #![allow(clippy::unnecessary_wraps)]