• amethyst_rendy 0.15.3/src/plugins.rs
    104
            #[allow(clippy::map_clone)]
    105
            fn should_rebuild(&mut self, world: &World) -> bool {
  • asuran 0.1.6/src/manifest/archive.rs
    223
            // Get chunk locations
    224
            #[allow(clippy::map_clone)]
    225
            let locations = self.objects.get(&path.to_string()).map(|x| x.clone());
    264
            #[allow(clippy::map_clone)]
    265
            let locations = self.objects.get(&path.to_string()).map(|x| x.clone());
  • chrono 0.4.23/src/offset/local/tz_info/parser.rs
    10
    #[allow(clippy::map_clone)] // MSRV: 1.36
    11
    pub(super) fn parse(bytes: &[u8]) -> Result<TimeZone, Error> {
  • coreutils 0.0.17/src/bin/coreutils.rs
    25
        println!("Currently defined functions:\n");
    26
        #[allow(clippy::map_clone)]
    27
        let mut utils: Vec<&str> = utils.keys().map(|&s| s).collect();
  • cstree 0.11.1/src/syntax/node.rs
    647
        #[inline]
    648
        #[allow(clippy::map_clone)]
    649
        pub fn first_child(&self) -> Option<&SyntaxNode<L, D>> {
    664
        #[inline]
    665
        #[allow(clippy::map_clone)]
    666
        pub fn last_child(&self) -> Option<&SyntaxNode<L, D>> {
  • cynic-codegen 2.2.4/src/schema/type_index.rs
    143
        fn lookup_type(&self, name: &str) -> Option<&'a TypeDefinition> {
    144
            #[allow(clippy::map_clone)]
    145
            self.types.get(name).map(|d| *d)
  • graphrox 1.2.0/src/matrix/csr_adjacency_matrix.rs
    83
            // row_set.iter().copied(), as Clippy suggests
    84
            #[allow(clippy::map_clone)]
    85
            row_set.iter().map(|r| *r).collect()
  • holochain_metrics 0.0.52-alpha2/src/cloudwatch.rs
    51
        type Error = ParseError;
    52
        #[allow(clippy::map_clone)]
    53
        fn try_from(result_fields: Vec<ResultField>) -> Result<Self, Self::Error> {
  • indexmap-nostd 0.4.0/src/set.rs
    246
    {
    247
        #[allow(clippy::map_clone)] // lifetime issue: seems to be a clippy bug
    248
        fn extend<I>(&mut self, iter: I)
  • mhost 0.3.0/src/resources/rdata/txt.rs
    57
    impl From<trust_dns_resolver::proto::rr::rdata::TXT> for TXT {
    58
        #[allow(clippy::map_clone)]
    59
        fn from(txt: trust_dns_resolver::proto::rr::rdata::TXT) -> Self {
  • nyx-space 1.1.1/src/md/trajectory/traj.rs
    471
        /// Allows converting the source trajectory into the (almost) equivalent trajectory in another frame
    472
        #[allow(clippy::map_clone)]
    473
        pub fn to_frame(&self, new_frame: Frame, cosm: Arc<Cosm>) -> Result<Self, NyxError> {
    687
        /// Allows converting the source trajectory into the (almost) equivalent trajectory in another frame
    688
        #[allow(clippy::map_clone)]
    689
        pub fn to_frame(&self, new_frame: Frame, cosm: Arc<Cosm>) -> Result<Self, NyxError> {
  • nyx-space 1.1.1/src/propagators/propagator.rs
    271
        /// Known bug #190: Cannot generate a valid trajectory when propagating backward
    272
        #[allow(clippy::map_clone)]
    273
        pub fn for_duration_with_traj(
  • polars-core 0.26.1/src/chunked_array/mod.rs
    525
            // .copied was significantly slower in benchmark, next call did not inline?
    526
            #[allow(clippy::map_clone)]
    527
            // we know the iterators len
  • sardonyx_rendy 0.0.3/src/plugins.rs
    86
            #[allow(clippy::map_clone)]
    87
            fn should_rebuild(&mut self, world: &World) -> bool {
  • skia-safe 0.58.0/src/core/path.rs
    117
        pub fn conic_weight(&self) -> Option<scalar> {
    118
            #[allow(clippy::map_clone)]
    119
            self.native()
  • skiplist 0.4.0/src/skiplist.rs
    1039
            test(size, sl.iter().copied());
    1040
            #[allow(clippy::map_clone)]
    1041
            test(size, sl.iter_mut().map(|&mut i| i));
    1062
            test(size, sl.iter().rev().copied());
    1063
            #[allow(clippy::map_clone)]
    1064
            test(size, sl.iter_mut().rev().map(|&mut i| i));
    1090
            test(size, sl.iter().copied());
    1091
            #[allow(clippy::map_clone)]
    1092
            test(size, sl.iter_mut().map(|&mut i| i));
  • tokio-sync 0.2.0-alpha.6/src/watch.rs
    293
        /// `recv()`.
    294
        #[allow(clippy::map_clone)] // false positive: https://github.com/rust-lang/rust-clippy/issues/3274
    295
        pub async fn recv(&mut self) -> Option<T> {
    304
        #[allow(clippy::map_clone)] // false positive: https://github.com/rust-lang/rust-clippy/issues/3274
    305
        fn poll_next(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Option<T>> {
  • wasm-utils 0.2.0/src/note/mod.rs
    202
    		// Note URI miscellaneous queries
    203
    		#[allow(clippy::map_clone)]
    204
    		let misc_values = vec![
  • xkeysym 0.1.1/src/lib.rs
    93
        // Helps us lower the MSRV.
    94
        #[allow(clippy::map_clone)]
    95
        keysyms.get(column as usize).map(|&keysym| keysym)
  • async-stripe 0.15.1/src/lib.rs
    35
    #![allow(clippy::map_clone, clippy::large_enum_variant)]
    36
    #![warn(clippy::unwrap_used, clippy::missing_errors_doc, clippy::missing_panics_doc)]
  • async-stripe-tsar 0.0.1/src/lib.rs
    35
    #![allow(clippy::map_clone, clippy::large_enum_variant)]
    36
    #![warn(clippy::unwrap_used, clippy::missing_errors_doc, clippy::missing_panics_doc)]
  • lasso 0.6.0/src/lib.rs
    4
    // `.copied()` was unstable in 1.34
    5
    #![allow(clippy::map_clone)]
    6
    #![deny(
  • legion 0.4.0/tests/query_api.rs
    1
    #![allow(clippy::map_clone)]
  • ming 0.1.0/src/lib.rs
    65
    #![allow(clippy::should_implement_trait)]
    66
    #![allow(clippy::map_clone)] // Because of the MSRV (setting MSRV in clippy.toml doesn't help)
  • mr-mime 0.1.0/src/lib.rs
    42
    // copied() only stabilized later on
    43
    #![allow(clippy::map_clone)]
  • shred 0.14.1/src/world/mod.rs
    603
        fn fetch_by_id() {
    604
            #![allow(clippy::map_clone)] // False positive
  • stripe-rust 0.12.3/src/lib.rs
    55
    #![allow(clippy::map_clone)]
    56
    // N.B. not sure if this rule will break compatibility with older rust versions we might want to support
  • tinyvec_string 0.3.2/src/lib.rs
    64
    	clippy::partialeq_ne_impl,
    65
    	clippy::map_clone
    66
    )]
  • ux-dx 0.2.1/src/lib.rs
    36
        clippy::single_char_pattern,
    37
        clippy::map_clone,
    38
        clippy::needless_return,