• aamp 0.1.6/src/write.rs
    105
    #[allow(clippy::trivially_copy_pass_by_ref)]
    106
    #[inline]
    111
    #[allow(clippy::trivially_copy_pass_by_ref)]
    112
    #[inline]
  • actix-web-httpauth 0.8.0/src/headers/www_authenticate/challenge/bearer/errors.rs
    25
        /// [HTTP status code]: `actix_web::http::StatusCode`
    26
        #[allow(clippy::trivially_copy_pass_by_ref)]
    27
        pub fn status_code(&self) -> StatusCode {
    35
        #[doc(hidden)]
    36
        #[allow(clippy::trivially_copy_pass_by_ref)]
    37
        pub fn as_str(&self) -> &str {
  • actori-web-httpauth 0.4.0/src/headers/www_authenticate/challenge/bearer/errors.rs
    26
        /// [HTTP status code]: `actori_web::http::StatusCode`
    27
        #[allow(clippy::trivially_copy_pass_by_ref)]
    28
        pub fn status_code(&self) -> StatusCode {
    36
        #[doc(hidden)]
    37
        #[allow(clippy::trivially_copy_pass_by_ref)]
    38
        pub fn as_str(&self) -> &str {
  • aerospike 1.2.0/src/expressions/bitwise.rs
    62
    /// ```
    63
    #[allow(clippy::trivially_copy_pass_by_ref)]
    64
    pub fn resize(
    96
    /// ```
    97
    #[allow(clippy::trivially_copy_pass_by_ref)]
    98
    pub fn insert(
    128
    /// ```
    129
    #[allow(clippy::trivially_copy_pass_by_ref)]
    130
    pub fn remove(
    162
    /// ```
    163
    #[allow(clippy::trivially_copy_pass_by_ref)]
    164
    pub fn set(
    190
    /// ```
    191
    #[allow(clippy::trivially_copy_pass_by_ref)]
    192
    pub fn or(
  • aerospike 1.2.0/src/expressions/maps.rs
    25
    /// Create expression that writes key/value item to map bin.
    26
    #[allow(clippy::trivially_copy_pass_by_ref)]
    27
    pub fn put(
    55
    /// Create expression that writes each map item to map bin.
    56
    #[allow(clippy::trivially_copy_pass_by_ref)]
    57
    pub fn put_items(
    83
    /// Valid only for numbers.
    84
    #[allow(clippy::trivially_copy_pass_by_ref)]
    85
    pub fn increment(
  • aerospike 1.2.0/src/operations/maps.rs
    194
    /// map policy.
    195
    #[allow(clippy::trivially_copy_pass_by_ref)]
    196
    pub(crate) const fn map_write_op(policy: &MapPolicy, multi: bool) -> CdtMapOpType {
    220
    }
    221
    #[allow(clippy::trivially_copy_pass_by_ref)]
    222
    const fn map_order_arg(policy: &MapPolicy) -> Option<CdtArgument> {
  • again 0.1.2/src/lib.rs
    442
            fn test(_: impl Condition<()>) {}
    443
            #[allow(clippy::trivially_copy_pass_by_ref)]
    444
            fn foo(_err: &()) -> bool {
  • aide 0.10.0/src/util.rs
    180
        #[allow(clippy::trivially_copy_pass_by_ref)] // needs to match signature for use in serde attribute
    181
        #[inline]
  • amethyst_physics 0.2.0/src/servers/joint_server.rs
    5
    /// Trait that defines the *Joint* server capabilities.
    6
    #[allow(clippy::trivially_copy_pass_by_ref)] // TODO remove when all joints get implemented
    7
    pub trait JointPhysicsServerTrait<N: crate::PtReal> {
  • aptos-consensus 0.2.7/src/block_storage/sync_manager.rs
    545
    /// limit of RETRIEVAL_INITIAL_TIMEOUT*(2^RETRIEVAL_MAX_EXP)
    546
    #[allow(clippy::trivially_copy_pass_by_ref)]
    547
    fn retrieval_timeout(attempt: u32) -> Duration {
  • ark-module 0.17.0-pre.15/src/log.rs
    7
        /// This needs to be run before any of the logging macros work. Such as `log::debug!`, `warn!`, `info!`.
    8
        #[allow(clippy::trivially_copy_pass_by_ref)]
    9
        pub fn activate(&'static self) {
  • asn1-rs 0.5.1/src/asn1_types/generalizedtime.rs
    186
            any.tag().assert_eq(Self::TAG)?;
    187
            #[allow(clippy::trivially_copy_pass_by_ref)]
    188
            fn is_visible(b: &u8) -> bool {
  • asn1-rs 0.5.1/src/asn1_types/strings/numericstring.rs
    8
        fn test_valid_charset(i: &[u8]) -> Result<()> {
    9
            #[allow(clippy::trivially_copy_pass_by_ref)]
    10
            fn is_numeric(b: &u8) -> bool {
  • asn1-rs 0.5.1/src/asn1_types/strings/printablestring.rs
    9
            // Argument must be a reference, because of the .iter().all(F) call below
    10
            #[allow(clippy::trivially_copy_pass_by_ref)]
    11
            fn is_printable(b: &u8) -> bool {
  • asn1-rs 0.5.1/src/asn1_types/strings/teletexstring.rs
    8
        fn test_valid_charset(i: &[u8]) -> Result<()> {
    9
            #[allow(clippy::trivially_copy_pass_by_ref)]
    10
            fn is_visible(b: &u8) -> bool {
  • asn1-rs 0.5.1/src/asn1_types/strings/videotexstring.rs
    8
        fn test_valid_charset(i: &[u8]) -> Result<()> {
    9
            #[allow(clippy::trivially_copy_pass_by_ref)]
    10
            fn is_visible(b: &u8) -> bool {
  • asn1-rs 0.5.1/src/asn1_types/strings/visiblestring.rs
    8
        fn test_valid_charset(i: &[u8]) -> Result<()> {
    9
            #[allow(clippy::trivially_copy_pass_by_ref)]
    10
            fn is_visible(b: &u8) -> bool {
  • asn1-rs 0.5.1/src/asn1_types/utctime.rs
    146
            any.tag().assert_eq(Self::TAG)?;
    147
            #[allow(clippy::trivially_copy_pass_by_ref)]
    148
            fn is_visible(b: &u8) -> bool {
  • aspotify 0.7.1/src/model/analysis.rs
    116
        #[allow(clippy::trivially_copy_pass_by_ref)]
    117
        pub fn serialize<S: Serializer>(v: &Option<Mode>, serializer: S) -> Result<S::Ok, S::Error> {
    160
        #[allow(clippy::trivially_copy_pass_by_ref)]
    161
        pub fn serialize<S: Serializer>(v: &Option<u32>, serializer: S) -> Result<S::Ok, S::Error> {
  • aspotify 0.7.1/src/model/mod.rs
    154
        #[allow(clippy::trivially_copy_pass_by_ref)]
    155
        pub fn serialize<S: Serializer>(v: &bool, serializer: S) -> Result<S::Ok, S::Error> {
  • aspotify 0.7.1/src/util.rs
    151
        #[allow(clippy::trivially_copy_pass_by_ref)]
    152
        pub(crate) fn serialize<S>(v: &StatusCode, serializer: S) -> Result<S::Ok, S::Error>
  • async-graphql 5.0.5/src/base.rs
    102
        #[allow(clippy::trivially_copy_pass_by_ref)]
    103
        async fn resolve(
    170
        #[allow(clippy::trivially_copy_pass_by_ref)]
    171
        async fn resolve(
    217
        #[allow(clippy::trivially_copy_pass_by_ref)]
    218
        async fn resolve(
  • aw-query 0.1.0/src/datatype.rs
    30
    #[allow(clippy::trivially_copy_pass_by_ref)]
    31
    fn serialize_function<S>(
  • axp173 0.1.7/src/lib.rs
    99
        /// Writes 6-byte user data buffer into the chip.
    100
        #[allow(clippy::trivially_copy_pass_by_ref)] // On 32-bit ARMs it is not efficient to pass by value
    101
        pub fn write_onchip_buffer(&mut self, bytes: &[u8; 6]) -> OperationResult<E> {
  • axp173 0.1.7/src/units.rs
    25
        /// Returns milliVolts value.
    26
        #[allow(clippy::trivially_copy_pass_by_ref)] // On 32-bit ARMs it is not efficient to pass by value
    27
        pub fn as_millivolts(&self) -> u16 {
    31
        /// Returns volts value.
    32
        #[allow(clippy::trivially_copy_pass_by_ref)] // On 32-bit ARMs it is not efficient to pass by value
    33
        pub fn as_volts(&self) -> f32 {
    37
        /// Returns raw ADC reading value.
    38
        #[allow(clippy::trivially_copy_pass_by_ref)] // On 32-bit ARMs it is not efficient to pass by value
    39
        pub fn raw(&self) -> u16 {
    59
        /// Returns milliAmperes value.
    60
        #[allow(clippy::trivially_copy_pass_by_ref)] // On 32-bit ARMs it is not efficient to pass by value
    61
        pub fn as_milliamps(&self) -> f32 {
    65
        /// Returns Amperes value.
    66
        #[allow(clippy::trivially_copy_pass_by_ref)] // On 32-bit ARMs it is not efficient to pass by value
    67
        pub fn as_amperes(&self) -> f32 {
  • base-coroutine 0.2.0/src/event_loop/selector/epoll.rs
    273
        pub fn debug_details(f: &mut fmt::Formatter<'_>, event: &Event) -> fmt::Result {
    274
            #[allow(clippy::trivially_copy_pass_by_ref)]
    275
            fn check_events(got: &u32, want: &libc::c_int) -> bool {
  • base-coroutine 0.2.0/src/event_loop/selector/kqueue.rs
    471
            #[allow(clippy::trivially_copy_pass_by_ref)]
    472
            fn check_flag(got: &Flags, want: &Flags) -> bool {
    502
            #[allow(clippy::trivially_copy_pass_by_ref)]
    503
            fn check_fflag(got: &u32, want: &u32) -> bool {
  • base-coroutine 0.2.0/src/event_loop/selector/windows/event.rs
    90
    pub fn debug_details(f: &mut fmt::Formatter<'_>, event: &Event) -> fmt::Result {
    91
        #[allow(clippy::trivially_copy_pass_by_ref)]
    92
        fn check_flags(got: &u32, want: &u32) -> bool {
  • bcder 0.7.1/src/tag.rs
    452
        /// Returns the number of octets of the encoded form of the tag.
    453
        #[allow(clippy::trivially_copy_pass_by_ref)] // for possible multi-byte tags
    454
        pub fn encoded_len(&self) -> usize {
    469
        /// constructed encoding and primitive encoding otherwise.
    470
        #[allow(clippy::trivially_copy_pass_by_ref)] // for possible multi-byte tags
    471
        pub fn write_encoded<W: io::Write>(
  • bevy_prototype_lyon 0.7.2/src/plugin.rs
    95
    #[allow(clippy::trivially_copy_pass_by_ref)] // lyon takes &FillOptions
    96
    fn fill(
    111
    #[allow(clippy::trivially_copy_pass_by_ref)] // lyon takes &StrokeOptions
    112
    fn stroke(
  • blinds 0.2.0/src/event_cache.rs
    154
        /// The state of the given pointer
    155
        #[allow(clippy::trivially_copy_pass_by_ref)]
    156
        pub fn pointer(&self, id: &PointerId) -> Option<&PointerState> {
  • blockhash 0.5.0/src/lib.rs
    148
        #[must_use]
    149
        #[allow(clippy::trivially_copy_pass_by_ref)]
    150
        pub fn distance(&self, other: &Self) -> u32 {
    246
        #[must_use]
    247
        #[allow(clippy::trivially_copy_pass_by_ref)]
    248
        pub fn distance(&self, other: &Self) -> u32 {
  • bodhi 2.0.1/src/data/dates.rs
    116
        // this &Option reference is intentional, the API requires it
    117
        #[allow(clippy::trivially_copy_pass_by_ref)]
    118
        pub fn serialize<S>(date: &Option<&BodhiDate>, serializer: S) -> Result<S::Ok, S::Error>
    147
        // this &Option reference is intentional, the API requires it
    148
        #[allow(clippy::trivially_copy_pass_by_ref)]
    149
        pub fn serialize<S>(date: &Option<BodhiDate>, serializer: S) -> Result<S::Ok, S::Error>
  • bollard 0.14.0/src/service.rs
    95
    #[allow(clippy::trivially_copy_pass_by_ref)]
    96
    pub(crate) fn serialize_registry_auth_from<S>(
    110
    #[allow(clippy::trivially_copy_pass_by_ref)]
    111
    fn serialize_rollback<S>(rollback: &bool, s: S) -> Result<S::Ok, S::Error>
  • boring 2.1.0/src/ex_data.rs
    28
        #[allow(clippy::trivially_copy_pass_by_ref)]
    29
        pub fn as_raw(&self) -> c_int {
  • boring 2.1.0/src/hash.rs
    67
        #[allow(clippy::trivially_copy_pass_by_ref)]
    68
        pub fn as_ptr(&self) -> *const ffi::EVP_MD {
    72
        /// The size of the digest in bytes.
    73
        #[allow(clippy::trivially_copy_pass_by_ref)]
    74
        pub fn size(&self) -> usize {
    78
        /// The name of the digest.
    79
        #[allow(clippy::trivially_copy_pass_by_ref)]
    80
        pub fn type_(&self) -> Nid {
  • boring 2.1.0/src/nid.rs
    57
        /// Return the integer representation of a `Nid`.
    58
        #[allow(clippy::trivially_copy_pass_by_ref)]
    59
        pub fn as_raw(&self) -> c_int {
    65
        /// This corresponds to `OBJ_find_sigid_algs`.
    66
        #[allow(clippy::trivially_copy_pass_by_ref)]
    67
        pub fn signature_algorithms(&self) -> Option<SignatureAlgorithms> {
    85
        /// [`OBJ_nid2ln`]: https://www.openssl.org/docs/man1.1.0/crypto/OBJ_nid2ln.html
    86
        #[allow(clippy::trivially_copy_pass_by_ref)]
    87
        pub fn long_name(&self) -> Result<&'static str, ErrorStack> {
    97
        /// [`OBJ_nid2sn`]: https://www.openssl.org/docs/man1.1.0/crypto/OBJ_nid2sn.html
    98
        #[allow(clippy::trivially_copy_pass_by_ref)]
    99
        pub fn short_name(&self) -> Result<&'static str, ErrorStack> {
  • boring 2.1.0/src/pkey.rs
    90
        /// Returns the integer representation of the `Id`.
    91
        #[allow(clippy::trivially_copy_pass_by_ref)]
    92
        pub fn as_raw(&self) -> c_int {
  • boring 2.1.0/src/rsa.rs
    73
        /// Returns the integer representation of `Padding`.
    74
        #[allow(clippy::trivially_copy_pass_by_ref)]
    75
        pub fn as_raw(&self) -> c_int {
  • cage 0.3.6/src/args/act_on.rs
    40
    /// structs, because the types get too complicated.
    41
    #[allow(clippy::trivially_copy_pass_by_ref)]
    42
    fn all_except_tasks(pod: &&Pod) -> bool {
  • cap-async-std 0.26.1/src/net/udp_socket.rs
    167
        /// This corresponds to [`async_std::net::UdpSocket::join_multicast_v4`].
    168
        #[allow(clippy::trivially_copy_pass_by_ref)]
    169
        #[inline]
    176
        /// This corresponds to [`async_std::net::UdpSocket::join_multicast_v6`].
    177
        #[allow(clippy::trivially_copy_pass_by_ref)]
    178
        #[inline]
    185
        /// This corresponds to [`async_std::net::UdpSocket::leave_multicast_v4`].
    186
        #[allow(clippy::trivially_copy_pass_by_ref)]
    187
        #[inline]
    194
        /// This corresponds to [`async_std::net::UdpSocket::leave_multicast_v6`].
    195
        #[allow(clippy::trivially_copy_pass_by_ref)]
    196
        #[inline]
  • cap-std 1.0.4/src/net/udp_socket.rs
    205
        /// This corresponds to [`std::net::UdpSocket::join_multicast_v4`].
    206
        #[allow(clippy::trivially_copy_pass_by_ref)]
    207
        #[inline]
    214
        /// This corresponds to [`std::net::UdpSocket::join_multicast_v6`].
    215
        #[allow(clippy::trivially_copy_pass_by_ref)]
    216
        #[inline]
    223
        /// This corresponds to [`std::net::UdpSocket::leave_multicast_v4`].
    224
        #[allow(clippy::trivially_copy_pass_by_ref)]
    225
        #[inline]
    232
        /// This corresponds to [`std::net::UdpSocket::leave_multicast_v6`].
    233
        #[allow(clippy::trivially_copy_pass_by_ref)]
    234
        #[inline]
  • caps 0.5.5/src/lib.rs
    252
        /// Returns the bitmask corresponding to this capability value.
    253
        #[allow(clippy::trivially_copy_pass_by_ref)]
    254
        pub fn bitmask(&self) -> u64 {
    258
        /// Returns the index of this capability, i.e. its kernel-defined value.
    259
        #[allow(clippy::trivially_copy_pass_by_ref)]
    260
        pub fn index(&self) -> u8 {
  • capsule 0.1.5/src/dpdk/mod.rs
    103
        /// Returns the raw value needed for FFI calls.
    104
        #[allow(clippy::trivially_copy_pass_by_ref)]
    105
        #[inline]
    138
        /// Returns the ID of the socket the core is on.
    139
        #[allow(clippy::trivially_copy_pass_by_ref)]
    140
        #[inline]
    145
        /// Returns the raw value.
    146
        #[allow(clippy::trivially_copy_pass_by_ref)]
    147
        #[inline]
    152
        /// Sets the current thread's affinity to this core.
    153
        #[allow(clippy::trivially_copy_pass_by_ref)]
    154
        #[inline]
  • capsule 0.1.5/src/dpdk/port.rs
    58
        /// Returns the raw value needed for FFI calls.
    59
        #[allow(clippy::trivially_copy_pass_by_ref)]
    60
        #[inline]
    77
        /// Returns the raw value needed for FFI calls.
    78
        #[allow(clippy::trivially_copy_pass_by_ref, dead_code)]
    79
        #[inline]
    90
        /// Returns the raw value needed for FFI calls.
    91
        #[allow(clippy::trivially_copy_pass_by_ref, dead_code)]
    92
        #[inline]
  • capsule 0.1.5/src/net/mac.rs
    39
        /// Returns the six bytes the MAC address consists of.
    40
        #[allow(clippy::trivially_copy_pass_by_ref)]
    41
        pub fn octets(&self) -> [u8; 6] {
  • capsule 0.1.5/src/packets/ethernet.rs
    385
    #[allow(clippy::trivially_copy_pass_by_ref)]
    386
    impl VlanTag {
  • carapax-access 0.2.1/examples/access.rs
    7
    #[allow(clippy::trivially_copy_pass_by_ref)]
    8
    #[handler]
  • carapax-access 0.2.1/src/handler.rs
    51
        #[allow(clippy::trivially_copy_pass_by_ref)]
    52
        #[async_trait]
  • carapax-ratelimit 0.2.1/examples/ratelimit.rs
    14
    #[allow(clippy::trivially_copy_pass_by_ref)]
    15
    #[handler]
  • cargo-deny 0.13.7/src/diag/grapher.rs
    31
    #[allow(clippy::trivially_copy_pass_by_ref)]
    32
    fn is_false(v: &bool) -> bool {
  • casperlabs-contract-ffi 0.22.0/src/value/protocol_version.rs
    56
        #[allow(clippy::trivially_copy_pass_by_ref)] //TODO: remove attr after switch to SemVer
    57
        pub fn value(&self) -> SemVer {
  • cbe-program 1.15.0/src/slot_hashes.rs
    49
        }
    50
        #[allow(clippy::trivially_copy_pass_by_ref)]
    51
        pub fn get(&self, slot: &Slot) -> Option<&Hash> {
  • ckb-sentry-types 0.21.0/src/protocol/session.rs
    82
    #[allow(clippy::trivially_copy_pass_by_ref)]
    83
    fn is_false(val: &bool) -> bool {
  • cogo 0.1.36/src/net/udp.rs
    273
        #[allow(clippy::trivially_copy_pass_by_ref)]
    274
        pub fn join_multicast_v4(&self, multiaddr: &Ipv4Addr, interface: &Ipv4Addr) -> io::Result<()> {
    282
        #[allow(clippy::trivially_copy_pass_by_ref)]
    283
        pub fn leave_multicast_v4(&self, multiaddr: &Ipv4Addr, interface: &Ipv4Addr) -> io::Result<()> {
  • completion 0.2.1/src/macros/future/tests.rs
    78
    #[completion(crate = crate)]
    79
    #[allow(single_use_lifetimes, clippy::trivially_copy_pass_by_ref)]
    80
    async fn lifetimes_async<'a, 'b, T>(x: &'a T, y: &&&String, z: &mut Cow<'a, str>) -> &'a T {
    97
        #[completion(crate = crate)]
    98
        #[allow(clippy::trivially_copy_pass_by_ref)]
    99
        async fn method(&self, param: &'static i32) -> impl Clone {
  • compose_yml 0.0.59/src/v2/helpers.rs
    16
    /// things.
    17
    #[allow(clippy::trivially_copy_pass_by_ref)]
    18
    pub fn is_false(b: &bool) -> bool {
  • conserve 23.1.1/src/misc.rs
    34
    /// This trivial function exists as a predicate for serde.
    35
    #[allow(clippy::trivially_copy_pass_by_ref)]
    36
    pub(crate) fn zero_u32(a: &u32) -> bool {
    42
    /// This trivial function exists as a predicate for serde.
    43
    #[allow(clippy::trivially_copy_pass_by_ref)]
    44
    pub(crate) fn zero_u64(a: &u64) -> bool {
  • const_closure 0.3.0/src/lib.rs
    98
    #[cfg(test)]
    99
    #[allow(clippy::trivially_copy_pass_by_ref)]
    100
    mod test;
  • cord-message 0.3.0/src/message.rs
    29
        // `Option::filter`, which passes all args by ref.
    30
        #[allow(clippy::trivially_copy_pass_by_ref)]
    31
        pub fn test_poor_mans_discriminant(discriminant: &u8) -> bool {
  • core_arch 0.1.5/src/x86/avx.rs
    1454
    #[stable(feature = "simd_x86", since = "1.27.0")]
    1455
    #[allow(clippy::trivially_copy_pass_by_ref)]
    1456
    pub unsafe fn _mm256_broadcast_ss(f: &f32) -> __m256 {
    1467
    #[stable(feature = "simd_x86", since = "1.27.0")]
    1468
    #[allow(clippy::trivially_copy_pass_by_ref)]
    1469
    pub unsafe fn _mm_broadcast_ss(f: &f32) -> __m128 {
    1480
    #[stable(feature = "simd_x86", since = "1.27.0")]
    1481
    #[allow(clippy::trivially_copy_pass_by_ref)]
    1482
    pub unsafe fn _mm256_broadcast_sd(f: &f64) -> __m256d {
  • cpclib-disc 0.6.0/src/edsk.rs
    643
    #[allow(missing_docs)]
    644
    #[allow(clippy::trivially_copy_pass_by_ref)]
    645
    impl SectorInformation {
  • cpp_demangle 0.4.0/src/lib.rs
    273
        /// ```
    274
        #[allow(clippy::trivially_copy_pass_by_ref)]
    275
        pub fn demangle(
    294
        /// syntactic structure.
    295
        #[allow(clippy::trivially_copy_pass_by_ref)]
    296
        pub fn structured_demangle<W: DemangleWrite>(
  • crev-data 0.23.2/src/proof/review/package.rs
    359
        #[allow(clippy::trivially_copy_pass_by_ref)]
    360
        fn is_all_ref(&self) -> bool {
  • crystal_packing 0.6.0/src/basis/shared_value.rs
    102
        ///
    103
        #[allow(clippy::trivially_copy_pass_by_ref)]
    104
        pub fn new(val: f64) -> SharedValue {
  • cyfs-raptorq 1.6.1/src/base.rs
    27
        #[allow(clippy::trivially_copy_pass_by_ref)]
    28
        pub fn deserialize(data: &[u8]) -> PayloadId {
  • definitely-not-piet-direct2d-please-ignore 0.6.0/src/d2d.rs
    704
        #[allow(clippy::trivially_copy_pass_by_ref)]
    705
        pub(crate) fn create_linear_gradient(
    866
        #[allow(clippy::trivially_copy_pass_by_ref)]
    867
        pub(crate) fn draw_bitmap(
  • diffsitter 0.7.3/src/formatting.rs
    465
        #[allow(clippy::trivially_copy_pass_by_ref)]
    466
        pub fn serialize<S>(value: &Option<Color>, serializer: S) -> Result<S::Ok, S::Error>
  • displaythis 1.0.23/tests/test_display.rs
    119
        #[allow(clippy::trivially_copy_pass_by_ref)]
    120
        fn not(bool: &bool) -> bool {
  • domain 0.7.1/src/base/net/nostd.rs
    18
        #[allow(clippy::trivially_copy_pass_by_ref)]
    19
        pub fn octets(&self) -> [u8; 4] {
  • domino_program 0.1.2/src/slot_hashes.rs
    43
        }
    44
        #[allow(clippy::trivially_copy_pass_by_ref)]
    45
        pub fn get(&self, slot: &Slot) -> Option<&Hash> {
  • domino-program-dp 0.1.11/src/slot_hashes.rs
    43
        }
    44
        #[allow(clippy::trivially_copy_pass_by_ref)]
    45
        pub fn get(&self, slot: &Slot) -> Option<&Hash> {
  • drone-core 0.14.3/src/heap/allocator.rs
    13
    /// the implementation.
    14
    #[allow(clippy::trivially_copy_pass_by_ref)]
    15
    pub trait Allocator: Sized {
  • drone-stm32 0.8.3/src/fib/stack/yielder.rs
    45
      /// Yields from the enclosing stackful fiber.
    46
      #[cfg_attr(feature = "cargo-clippy", allow(trivially_copy_pass_by_ref))]
    47
      pub fn stack_yield(&self, output: Y) -> I {
  • druid 0.8.2/src/text/backspace.rs
    198
    /// are unique to backspace.
    199
    #[allow(clippy::trivially_copy_pass_by_ref)]
    200
    pub fn offset_for_delete_backwards(region: &Selection, text: &impl EditableText) -> usize {
  • druid-derive 0.5.0/tests/with_lens.rs
    85
    }
    86
    #[allow(clippy::trivially_copy_pass_by_ref)]
    87
    fn same_sign(one: &f64, two: &f64) -> bool {
  • druid-derive 0.5.0/tests/with_same.rs
    82
    }
    83
    #[allow(clippy::trivially_copy_pass_by_ref)]
    84
    fn same_sign(one: &f64, two: &f64) -> bool {
  • druid-shell 0.8.0/src/backend/x11/window.rs
    1192
        #[allow(clippy::trivially_copy_pass_by_ref)]
    1193
        pub fn handle_destroy_notify(&self, _destroy_notify: &xproto::DestroyNotifyEvent) {
  • duang 0.1.2/src/lib.rs
    966
          fn outer(self) -> Self::Ret {
    967
            #[cfg_attr(feature = "cargo-clippy", allow(trivially_copy_pass_by_ref))]
    968
            fn is_outer(attr: &&Attribute) -> bool {
    977
          fn inner(self) -> Self::Ret {
    978
            #[cfg_attr(feature = "cargo-clippy", allow(trivially_copy_pass_by_ref))]
    979
            fn is_inner(attr: &&Attribute) -> bool {
  • duplicate_macrotest 1.0.0/src/dependencies.rs
    131
    #[allow(clippy::trivially_copy_pass_by_ref)]
    132
    fn is_true(boolean: &bool) -> bool {
  • dw-query 0.1.0/src/datatype.rs
    30
    #[allow(clippy::trivially_copy_pass_by_ref)]
    31
    fn serialize_function<S>(
  • elrond-sdk-erdrs 0.2.1/src/data/transaction.rs
    27
    /// This is only used for serialize
    28
    #[allow(clippy::trivially_copy_pass_by_ref)]
    29
    fn is_zero(num: &u32) -> bool {
  • enocoro128v2 0.1.6/src/lib.rs
    162
        /// Constructor, note key and IV length are compile-time enforced.
    163
        #[allow(clippy::trivially_copy_pass_by_ref)]
    164
        pub fn new(key: &[u8; E128_KEY_LEN], iv: &[u8; E128_IV_LEN]) -> Enocoro128 {
    218
        /// For usecases where the entirety of the plaintext or ciphertext is in-memory at once.
    219
        #[allow(clippy::trivially_copy_pass_by_ref)]
    220
        pub fn apply_keystream_static(
  • ethbloom 0.13.0/src/lib.rs
    226
    impl<'a> BloomRef<'a> {
    227
    	#[allow(clippy::trivially_copy_pass_by_ref)]
    228
    	pub fn is_empty(&self) -> bool {
    232
    	#[allow(clippy::trivially_copy_pass_by_ref)]
    233
    	pub fn contains_input(&self, input: Input<'_>) -> bool {
    238
    	#[allow(clippy::trivially_copy_pass_by_ref)]
    239
    	pub fn contains_bloom<'b, B>(&self, bloom: B) -> bool
    256
    	#[allow(clippy::trivially_copy_pass_by_ref)]
    257
    	pub fn data(&self) -> &'a [u8; BLOOM_SIZE] {
  • eva-common 0.1.185/src/acl.rs
    606
    #[allow(clippy::trivially_copy_pass_by_ref)]
    607
    fn is_false(val: &bool) -> bool {
  • everscale-raptorq 1.7.0/src/base.rs
    27
        #[allow(clippy::trivially_copy_pass_by_ref)]
    28
        pub fn deserialize(data: &[u8; 4]) -> PayloadId {
  • exonum 1.0.0/src/runtime/dispatcher/schema.rs
    64
    impl MigrationTransition {
    65
        #[allow(clippy::wrong_self_convention, clippy::trivially_copy_pass_by_ref)]
    66
        fn to_pb(value: &Option<Self>) -> PbMigrationTransition {
  • exonum-explorer-service 1.0.0/src/lib.rs
    150
    impl ExplorerFactory {
    151
        #[allow(clippy::trivially_copy_pass_by_ref)]
    152
        fn new_instance(&self) -> Box<dyn Service> {
  • extrahop 0.3.0-alpha.1/src/activitymap/query.rs
    314
        // This function is used by serde, which requires the target be a ref.
    315
        #[allow(clippy::trivially_copy_pass_by_ref)]
    316
        fn is_default(&self) -> bool {
  • fasteval 0.2.4/src/slab.rs
    293
        #[cfg(feature="unsafe-vars")]
    294
        #[allow(clippy::trivially_copy_pass_by_ref)]
    295
        pub unsafe fn add_unsafe_var(&mut self, name:String, ptr:&f64) {
  • fasteval2 2.1.1/src/slab.rs
    303
        #[cfg(feature = "unsafe-vars")]
    304
        #[allow(clippy::trivially_copy_pass_by_ref)]
    305
        pub unsafe fn add_unsafe_var(&mut self, name: String, ptr: &f64) {
  • flowcore 0.91.0/src/model/input.rs
    71
    #[allow(clippy::trivially_copy_pass_by_ref)] // As this is imposed on us by serde
    72
    fn is_default_array_order(order: &i32) -> bool {
    76
    #[allow(clippy::trivially_copy_pass_by_ref)] // As this is imposed on us by serde
    77
    fn is_not_generic(generic: &bool) -> bool {
  • flowrstructs 0.34.6/src/output_connection.rs
    40
    #[allow(clippy::trivially_copy_pass_by_ref)] // As this is imposed on us by serde
    41
    fn is_default_array_level_serde(order: &i32) -> bool {
    49
    #[allow(clippy::trivially_copy_pass_by_ref)] // As this is imposed on us by serde
    50
    fn is_not_generic(generic: &bool) -> bool {
  • flutter-engine 0.3.5/src/lib.rs
    395
    #[allow(clippy::trivially_copy_pass_by_ref)]
    396
    fn glfw_error_callback(error: glfw::Error, description: String, _: &()) {
  • forest_ipld 0.1.1/src/selector/walk.rs
    70
    impl LinkResolver for () {
    71
        #[allow(unused_variables, clippy::trivially_copy_pass_by_ref)]
    72
        async fn load_link(&mut self, link: &Cid) -> Result<Option<Ipld>, String> {
  • frugalos_raft 1.2.0/src/node.rs
    269
        #[allow(clippy::trivially_copy_pass_by_ref)]
    270
        pub fn serialize<S>(value: &[u8; NODE_ID_SIZE], serializer: S) -> Result<S::Ok, S::Error>
  • gdnative-core 0.11.3/src/core_types/rid.rs
    71
        // pointer. See https://github.com/godot-rust/godot-rust/issues/562.
    72
        #[allow(clippy::trivially_copy_pass_by_ref)]
    73
        pub fn sys(&self) -> *const sys::godot_rid {
  • gdnative-core 0.11.3/src/object/instance.rs
    350
        #[inline]
    351
        #[allow(clippy::trivially_copy_pass_by_ref)]
    352
        pub unsafe fn is_instance_sane(&self) -> bool {
  • gdnative-core 0.11.3/src/object/mod.rs
    582
        #[inline]
    583
        #[allow(clippy::trivially_copy_pass_by_ref)]
    584
        pub unsafe fn is_instance_sane(&self) -> bool {
    599
        #[inline]
    600
        #[allow(clippy::trivially_copy_pass_by_ref)]
    601
        pub unsafe fn assume_safe_if_sane<'a>(&self) -> Option<TRef<'a, T, Shared>> {
  • gemachain-program 1.8.2/src/slot_hashes.rs
    25
        }
    26
        #[allow(clippy::trivially_copy_pass_by_ref)]
    27
        pub fn get(&self, slot: &Slot) -> Option<&Hash> {
  • gemachain-program 1.8.2/src/stake_history.rs
    22
    impl StakeHistory {
    23
        #[allow(clippy::trivially_copy_pass_by_ref)]
    24
        pub fn get(&self, epoch: &Epoch) -> Option<&StakeHistoryEntry> {
  • gflags 0.3.12/src/state.rs
    101
    impl Flag<bool> {
    102
        #[allow(clippy::trivially_copy_pass_by_ref)]
    103
        pub(crate) fn set_bool(&self, value: &'static bool) {
  • gflags 0.3.12/src/value.rs
    11
    /// for an example of implementing `Value` for your own types.
    12
    #[allow(clippy::trivially_copy_pass_by_ref)]
    13
    pub trait Value: Sized + 'static {
  • girt-input 2.2.0/src/event_handler.rs
    21
    	#[inline]
    22
    	#[allow(clippy::trivially_copy_pass_by_ref)]
    23
    	pub fn read_event<F>(
  • glib 0.16.7/src/quark.rs
    20
        #[allow(clippy::trivially_copy_pass_by_ref)]
    21
        #[doc(alias = "g_quark_to_string")]
  • graphql_client_codegen 0.12.0/src/query/selection.rs
    77
    #[allow(clippy::trivially_copy_pass_by_ref)]
    78
    impl SelectionParent {
  • gst-plugin-closedcaption 0.9.3/src/lib.rs
    21
    #[allow(clippy::redundant_static_lifetimes, clippy::unreadable_literal)]
    22
    #[allow(clippy::useless_transmute, clippy::trivially_copy_pass_by_ref)]
    23
    mod ffi;
  • gst-plugin-closedcaption 0.9.3/src/tttocea608/imp.rs
    36
    #[allow(clippy::trivially_copy_pass_by_ref)]
    37
    fn eia608_from_utf8_1(c: &[u8; 5]) -> u16 {
  • gstreamer 0.19.7/src/utils.rs
    9
    impl<'a> MutexGuard<'a> {
    10
        #[allow(clippy::trivially_copy_pass_by_ref)]
    11
        #[doc(alias = "g_mutex_lock")]
  • gstreamer-audio 0.19.4/src/utils.rs
    9
    impl<'a> MutexGuard<'a> {
    10
        #[allow(clippy::trivially_copy_pass_by_ref)]
    11
        #[allow(dead_code)]
  • gstreamer-base 0.19.3/src/utils.rs
    9
    impl<'a> MutexGuard<'a> {
    10
        #[allow(clippy::trivially_copy_pass_by_ref)]
    11
        #[doc(alias = "g_mutex_lock")]
  • gstreamer-video 0.19.5/src/utils.rs
    16
    impl<'a> MutexGuard<'a> {
    17
        #[allow(clippy::trivially_copy_pass_by_ref)]
    18
        #[allow(dead_code)]
  • gurkle_codegen 0.3.0/src/query/selection.rs
    77
    #[allow(clippy::trivially_copy_pass_by_ref)]
    78
    impl SelectionParent {
  • hacl-star 0.1.0/src/salsa20.rs
    16
    impl Key {
    17
        #[allow(clippy::trivially_copy_pass_by_ref)]
    18
        #[inline]
  • hamst 0.1.0/src/lib.rs
    152
        #[allow(clippy::trivially_copy_pass_by_ref)]
    153
        fn next_u32(x: &u32) -> Result<Option<u32>, ()> {
  • harfbuzz_rs 2.0.1/src/buffer.rs
    96
    #[allow(clippy::trivially_copy_pass_by_ref)]
    97
    impl GlyphFlags {
  • hbase-thrift 1.1.0/src/hbase.rs
    38
      ];
    39
      #[allow(clippy::trivially_copy_pass_by_ref)]
    40
      pub fn write_to_out_protocol(&self, o_prot: &mut dyn TOutputProtocol) -> thrift::Result<()> {
    86
      ];
    87
      #[allow(clippy::trivially_copy_pass_by_ref)]
    88
      pub fn write_to_out_protocol(&self, o_prot: &mut dyn TOutputProtocol) -> thrift::Result<()> {
  • hdf5 0.8.1/src/hl/plist/file_access.rs
    1290
        #[allow(clippy::trivially_copy_pass_by_ref)]
    1291
        fn set_family(id: hid_t, drv: &FamilyDriver) -> Result<()> {
  • heed 0.20.0-alpha.0/src/mdb/lmdb_error.rs
    95
        /// Converts an `Error` to the raw error code.
    96
        #[allow(clippy::trivially_copy_pass_by_ref)]
    97
        pub fn to_err_code(&self) -> c_int {
  • heim-disk 0.1.0-rc.1/src/sys/windows/bindings/perf.rs
    21
    #[allow(trivial_casts)]
    22
    #[allow(clippy::trivially_copy_pass_by_ref)]
    23
    pub fn disk_performance(volume_path: &Path) -> Result<Option<winioctl::DISK_PERFORMANCE>> {
  • hexavalent 0.2.1/src/ffi.rs
    70
    /// `word` must be valid for the entire lifetime `'a`.
    71
    #[allow(clippy::trivially_copy_pass_by_ref)]
    72
    pub(crate) unsafe fn word_to_iter<'a>(
  • hey_listen 0.5.0/src/rc/mod.rs
    109
            /// This is used by the dispatcher and must be a `&T`.
    110
            #[allow(clippy::trivially_copy_pass_by_ref)]
    111
            const fn map_usize_to_request(x: &usize) -> Option<DispatcherRequest> {
  • hey_listen 0.5.0/src/sync/mod.rs
    131
            /// This is used by the dispatcher and must be a `&T`.
    132
            #[allow(clippy::trivially_copy_pass_by_ref)]
    133
            const fn map_usize_to_request(x: &usize) -> Option<PriorityDispatcherResult> {
  • himpp 0.3.1/src/mpi/sys.rs
    19
    #[cfg(feature = "hi3531v100")]
    20
    #[allow(clippy::trivially_copy_pass_by_ref)]
    21
    pub fn set_config(cfg: &ffi::MPP_SYS_CONF_S) -> Result<(), HiError> {
    26
    #[cfg(not(feature = "hi3531v100"))]
    27
    #[allow(clippy::trivially_copy_pass_by_ref)]
    28
    pub fn set_config(cfg: &ffi::MPP_SYS_CONFIG_S) -> Result<(), HiError> {
    624
        #[allow(clippy::trivially_copy_pass_by_ref)]
    625
        pub fn set_config(&self, cfg: &MppSysConfig) -> Result<(), HiError> {
  • himpp 0.3.1/src/mpi/types.rs
    1824
        /// 返回计算所得的面积。
    1825
        #[allow(clippy::trivially_copy_pass_by_ref)]
    1826
        pub fn area(&self) -> u32 {
    1830
        /// 检测尺寸是否为空。
    1831
        #[allow(clippy::trivially_copy_pass_by_ref)]
    1832
        pub fn is_empty(&self) -> bool {
  • himpp 0.3.1/src/mpi/vb.rs
    175
    /// /// 设置 VB 内存的附加信息。
    176
    #[allow(clippy::trivially_copy_pass_by_ref)]
    177
    pub fn set_supplement_config<T>(cfg: &T) -> HiResult<()>
  • himpp 0.3.1/src/mpi/vdec.rs
    190
    /// 将解码通道绑定到某个视频缓存 VB 池中。
    191
    #[allow(clippy::trivially_copy_pass_by_ref)]
    192
    pub fn attach_vb_pool<T>(chn: ffi::VDEC_CHN, pool: &T) -> HiResult<()>
  • himpp 0.3.1/src/mpi/venc.rs
    42
    /// 开启编码通道接收输入图像,允许指定接收帧数,超出指定的帧数后自动停止接收图像。
    43
    #[allow(clippy::trivially_copy_pass_by_ref)]
    44
    pub fn start_recv_frame(
    166
    /// 设置 H.264/H.265 通道的非 ROI 区域帧率属性。
    167
    #[allow(clippy::trivially_copy_pass_by_ref)]
    168
    pub fn set_roi_bg_framerate(
    181
    /// 设置 H.264 通道的 slice 分割属性。
    182
    #[allow(clippy::trivially_copy_pass_by_ref)]
    183
    pub fn set_h264_slice_split(
  • hirofa_utils 0.5.7/src/auto_id_map.rs
    107
        /// replace an element, this will panic if you pass an id that is not present
    108
        #[allow(clippy::trivially_copy_pass_by_ref)]
    109
        pub fn replace(&mut self, id: &usize, elem: T) {
    117
        /// get an element based on it's id
    118
        #[allow(clippy::trivially_copy_pass_by_ref)]
    119
        pub fn get(&self, id: &usize) -> Option<&T> {
    123
        /// get an element based on it's id
    124
        #[allow(clippy::trivially_copy_pass_by_ref)]
    125
        pub fn get_mut(&mut self, id: &usize) -> Option<&mut T> {
    129
        /// remove an element based on its id
    130
        #[allow(clippy::trivially_copy_pass_by_ref)]
    131
        pub fn remove(&mut self, id: &usize) -> T {
    135
        /// remove an element based on its id
    136
        #[allow(clippy::trivially_copy_pass_by_ref)]
    137
        pub fn remove_opt(&mut self, id: &usize) -> Option<T> {
  • http_halforms 0.1.0/src/hal/link.rs
    126
    #[allow(clippy::trivially_copy_pass_by_ref)] // Needed for Serde.
    127
    fn is_false(t: &bool) -> bool {
  • http_halforms 0.1.0/src/hal/property.rs
    248
    #[allow(clippy::trivially_copy_pass_by_ref)] // Needed for Serde.
    249
    fn is_false(t: &bool) -> bool {
  • ichen-openprotocol 0.5.0/src/types.rs
    60
        /// ~~~
    61
        #[allow(clippy::trivially_copy_pass_by_ref)]
    62
        pub fn is_unknown(&self) -> bool {
    114
        /// ~~~
    115
        #[allow(clippy::trivially_copy_pass_by_ref)]
    116
        pub fn is_unknown(&self) -> bool {
    128
        /// ~~~
    129
        #[allow(clippy::trivially_copy_pass_by_ref)]
    130
        pub fn is_offline(&self) -> bool {
    144
        /// ~~~
    145
        #[allow(clippy::trivially_copy_pass_by_ref)]
    146
        pub fn is_online(&self) -> bool {
    163
        /// ~~~
    164
        #[allow(clippy::trivially_copy_pass_by_ref)]
    165
        pub fn is_producing(&self) -> bool {
  • ichen-openprotocol 0.5.0/src/utils.rs
    54
    /// Used to suppress serialization numeric fields that are zero (e.g. priority).
    55
    #[allow(clippy::trivially_copy_pass_by_ref)]
    56
    pub fn is_zero(num: &i32) -> bool {
    90
    #[allow(clippy::option_option)]
    91
    #[allow(clippy::trivially_copy_pass_by_ref)]
    92
    pub fn serialize_some_none_to_invalid<S, T>(
  • imdl 0.1.12/src/bytes.rs
    66
      fn from_str(text: &str) -> Result<Self, Self::Err> {
    67
        #[allow(clippy::trivially_copy_pass_by_ref)]
    68
        fn is_digit(c: &char) -> bool {
  • interledger-http 0.4.0/src/error/mod.rs
    86
    // This should be OK because serde serializer MUST be `fn<S>(&T, S)`
    87
    #[allow(clippy::trivially_copy_pass_by_ref)]
    88
    fn serialize_status_code<S>(status: &http::StatusCode, s: S) -> Result<S::Ok, S::Error>
  • iotdb 0.0.7/src/rpc.rs
    39
      ];
    40
      #[allow(clippy::trivially_copy_pass_by_ref)]
    41
      pub fn write_to_out_protocol(&self, o_prot: &mut dyn TOutputProtocol) -> thrift::Result<()> {
  • iotdb-client-rs 0.3.11/src/client/rpc.rs
    59
      ];
    60
      #[allow(clippy::trivially_copy_pass_by_ref)]
    61
      pub fn write_to_out_protocol(&self, o_prot: &mut dyn TOutputProtocol) -> thrift::Result<()> {
  • keclc-httpauth 0.1.0/src/headers/www_authenticate/challenge/bearer/errors.rs
    26
        /// [HTTP status code]: `kayrx::http::StatusCode`
    27
        #[allow(clippy::trivially_copy_pass_by_ref)]
    28
        pub fn status_code(&self) -> StatusCode {
    36
        #[doc(hidden)]
    37
        #[allow(clippy::trivially_copy_pass_by_ref)]
    38
        pub fn as_str(&self) -> &str {
  • kibi 0.2.2/src/windows.rs
    37
    /// Set the terminal mode.
    38
    #[allow(clippy::trivially_copy_pass_by_ref)]
    39
    pub fn set_term_mode((stdin_mode, stdout_mode): &TermMode) -> Result<(), io::Error> {
  • kurobako_core 0.1.12/src/domain.rs
    239
    #[allow(clippy::trivially_copy_pass_by_ref)]
    240
    fn is_not_finite(x: &f64) -> bool {
  • kurobako_solvers 0.2.2/src/optuna.rs
    19
    #[allow(clippy::trivially_copy_pass_by_ref)]
    20
    fn is_false(b: &bool) -> bool {
  • kurobako_solvers 0.2.2/src/random.rs
    14
    #[allow(clippy::trivially_copy_pass_by_ref)]
    15
    fn is_false(b: &bool) -> bool {
  • ledb 0.4.0/src/collection.rs
    835
    #[allow(clippy::trivially_copy_pass_by_ref)]
    836
    fn order_primary_asc(a: &Primary, b: &Primary) -> Ordering {
    840
    #[allow(clippy::trivially_copy_pass_by_ref)]
    841
    fn order_primary_desc(a: &Primary, b: &Primary) -> Ordering {
  • ledb 0.4.0/src/filter.rs
    182
        #[allow(clippy::trivially_copy_pass_by_ref)]
    183
        pub fn serialize<S: Serializer>(field: &Identifier, op: &OrderKind, serializer: S) -> Result<S::Ok, S::Error> {
  • ledb 0.4.0/src/modify.rs
    330
        #[allow(clippy::ptr_arg, clippy::trivially_copy_pass_by_ref)]
    331
        pub fn serialize<S: Serializer>(
  • ledb 0.4.0/src/selection.rs
    19
        #[allow(clippy::trivially_copy_pass_by_ref)]
    20
        pub fn has(&self, id: &Primary) -> bool {
  • ledb 0.4.0/src/value.rs
    28
        #[allow(clippy::trivially_copy_pass_by_ref)]
    29
        pub fn serialize<S: Serializer>(
  • lib3h 0.0.42/src/rrdht_util/location.rs
    13
        /// this distance is processed forward taking wrapping into account
    14
        #[allow(clippy::trivially_copy_pass_by_ref)]
    15
        pub fn forward_distance_to(&self, other: Location) -> u32 {
  • libafl 0.9.0/src/feedbacks/map.rs
    662
        #[allow(clippy::needless_range_loop)]
    663
        #[allow(clippy::trivially_copy_pass_by_ref)]
    664
        fn is_interesting_default<EM, OT>(
  • libfrugalos 0.7.0/src/entity/object.rs
    70
        #[allow(clippy::trivially_copy_pass_by_ref)]
    71
        pub fn serialize<S>(x: &u64, s: S) -> Result<S::Ok, S::Error>
  • lightning-sys 0.2.2/src/lib.rs
    171
    #[allow(clippy::unreadable_literal)]
    172
    #[allow(clippy::trivially_copy_pass_by_ref)]
    173
    #[allow(clippy::useless_transmute)]
  • lmdb-rkv 0.14.0/src/database.rs
    48
        /// environment, or after the database has been closed.
    49
        #[allow(clippy::trivially_copy_pass_by_ref)]
    50
        pub fn dbi(&self) -> ffi::MDB_dbi {
  • lmdb-rkv 0.14.0/src/error.rs
    88
        /// Converts an `Error` to the raw error code.
    89
        #[allow(clippy::trivially_copy_pass_by_ref)]
    90
        pub fn to_err_code(&self) -> c_int {
  • lofty 0.11.0/src/id3/v2/restrictions.rs
    113
    	/// Convert a [`TagRestrictions`] into a `u8`
    114
    	#[allow(clippy::trivially_copy_pass_by_ref)]
    115
    	pub fn as_bytes(&self) -> u8 {
  • lofty 0.11.0/src/ogg/write.rs
    24
    impl OGGFormat {
    25
    	#[allow(clippy::trivially_copy_pass_by_ref)]
    26
    	pub(crate) fn comment_signature(&self) -> Option<&[u8]> {
  • logical 0.2.1/src/logicbit/ieee1164.rs
    70
    #[allow(clippy::trivially_copy_pass_by_ref)]
    71
    fn and(a: &Ieee1164, b: &Ieee1164) -> Ieee1164 {
    89
    #[allow(clippy::trivially_copy_pass_by_ref)]
    90
    fn or(a: &Ieee1164, b: &Ieee1164) -> Ieee1164 {
    108
    #[allow(clippy::trivially_copy_pass_by_ref)]
    109
    fn xor(a: &Ieee1164, b: &Ieee1164) -> Ieee1164 {
    155
    #[allow(clippy::trivially_copy_pass_by_ref)]
    156
    fn resolve(a: &Ieee1164, b: &Ieee1164) -> Ieee1164 {
  • logical 0.2.1/src/logicbit/tvlogic.rs
    77
    #[allow(clippy::trivially_copy_pass_by_ref)]
    78
    fn and(a: &Ie, b: &Ie) -> Ie {
    87
    #[allow(clippy::trivially_copy_pass_by_ref)]
    88
    fn or(a: &Ie, b: &Ie) -> Ie {
    117
    #[allow(clippy::trivially_copy_pass_by_ref)]
    118
    fn xor(a: &Ie, b: &Ie) -> Ie {
    127
    #[allow(clippy::trivially_copy_pass_by_ref)]
    128
    fn resolve(a: &Ie, b: &Ie) -> Ie {
  • lokacore 0.3.0/src/arch/sse.rs
    542
      /// Loads the `f32` address into all lanes.
    543
      #[allow(clippy::trivially_copy_pass_by_ref)]
    544
      #[inline(always)]
    549
      /// Loads the `f32` address into lane 0, other lanes are `0.0`.
    550
      #[allow(clippy::trivially_copy_pass_by_ref)]
    551
      #[inline(always)]
  • lokacore 0.3.0/src/arch/sse2.rs
    1751
      /// Load the `f64` addressed into the low lane, high lane `0.0`.
    1752
      #[allow(clippy::trivially_copy_pass_by_ref)]
    1753
      #[inline(always)]
    1758
      /// Replace high lane with the float referenced, low lane unaffected.
    1759
      #[allow(clippy::trivially_copy_pass_by_ref)]
    1760
      #[inline(always)]
    1765
      /// Replace low lane with the float referenced, high lane unaffected.
    1766
      #[allow(clippy::trivially_copy_pass_by_ref)]
    1767
      #[inline(always)]
  • lokacore 0.3.0/src/arch/sse3.rs
    111
      #[inline(always)]
    112
      #[allow(clippy::trivially_copy_pass_by_ref)]
    113
      pub fn load_splat(addr: &f64) -> Self {
  • lv2-atom 2.0.0/src/space.rs
    31
        /// Since the body is not included in the atom reference, this method has to assume that it is valid memory and therefore is unsafe but sound.
    32
        #[allow(clippy::trivially_copy_pass_by_ref)]
    33
        pub unsafe fn from_atom(atom: &sys::LV2_Atom) -> Self {
  • macaddr 1.0.1/src/addr6.rs
    60
        /// ```
    61
        #[allow(clippy::trivially_copy_pass_by_ref)]
    62
        pub fn is_nil(&self) -> bool {
    75
        /// ```
    76
        #[allow(clippy::trivially_copy_pass_by_ref)]
    77
        pub fn is_broadcast(&self) -> bool {
    90
        /// ```
    91
        #[allow(clippy::trivially_copy_pass_by_ref)]
    92
        pub const fn is_unicast(&self) -> bool {
    105
        /// ```
    106
        #[allow(clippy::trivially_copy_pass_by_ref)]
    107
        pub const fn is_multicast(&self) -> bool {
    120
        /// ```
    121
        #[allow(clippy::trivially_copy_pass_by_ref)]
    122
        pub const fn is_universal(&self) -> bool {
  • macaddr 1.0.1/src/addr8.rs
    60
        /// ```
    61
        #[allow(clippy::trivially_copy_pass_by_ref)]
    62
        pub fn is_nil(&self) -> bool {
    75
        /// ```
    76
        #[allow(clippy::trivially_copy_pass_by_ref)]
    77
        pub fn is_broadcast(&self) -> bool {
    90
        /// ```
    91
        #[allow(clippy::trivially_copy_pass_by_ref)]
    92
        pub const fn is_unicast(&self) -> bool {
    105
        /// ```
    106
        #[allow(clippy::trivially_copy_pass_by_ref)]
    107
        pub const fn is_multicast(&self) -> bool {
    120
        /// ```
    121
        #[allow(clippy::trivially_copy_pass_by_ref)]
    122
        pub const fn is_universal(&self) -> bool {
  • macrotest 1.0.9/src/dependencies.rs
    131
    #[allow(clippy::trivially_copy_pass_by_ref)]
    132
    fn is_true(boolean: &bool) -> bool {
  • may 0.3.36/src/net/udp.rs
    251
        #[allow(clippy::trivially_copy_pass_by_ref)]
    252
        pub fn join_multicast_v4(&self, multiaddr: &Ipv4Addr, interface: &Ipv4Addr) -> io::Result<()> {
    260
        #[allow(clippy::trivially_copy_pass_by_ref)]
    261
        pub fn leave_multicast_v4(&self, multiaddr: &Ipv4Addr, interface: &Ipv4Addr) -> io::Result<()> {
  • mco 0.1.44/src/net/udp.rs
    273
        #[allow(clippy::trivially_copy_pass_by_ref)]
    274
        pub fn join_multicast_v4(&self, multiaddr: &Ipv4Addr, interface: &Ipv4Addr) -> io::Result<()> {
    282
        #[allow(clippy::trivially_copy_pass_by_ref)]
    283
        pub fn leave_multicast_v4(&self, multiaddr: &Ipv4Addr, interface: &Ipv4Addr) -> io::Result<()> {
  • medea 0.2.0/src/signalling/elements/endpoints/webrtc/publish_endpoint.rs
    104
        #[allow(clippy::trivially_copy_pass_by_ref)]
    105
        fn remove_peer_id(&mut self, peer_id: &PeerId) {
  • millennium-bundler 1.0.0-beta.3/src/bundle/settings.rs
    67
    	/// Gets the short name of this PackageType.
    68
    	#[allow(clippy::trivially_copy_pass_by_ref)]
    69
    	pub fn short_name(&self) -> &'static str {
  • mio 0.8.5/src/net/udp.rs
    503
        /// interface is chosen by the system.
    504
        #[allow(clippy::trivially_copy_pass_by_ref)]
    505
        pub fn join_multicast_v4(&self, multiaddr: &Ipv4Addr, interface: &Ipv4Addr) -> io::Result<()> {
    513
        /// index of the interface to join/leave (or 0 to indicate any interface).
    514
        #[allow(clippy::trivially_copy_pass_by_ref)]
    515
        pub fn join_multicast_v6(&self, multiaddr: &Ipv6Addr, interface: u32) -> io::Result<()> {
    524
        /// [link]: #method.join_multicast_v4
    525
        #[allow(clippy::trivially_copy_pass_by_ref)]
    526
        pub fn leave_multicast_v4(&self, multiaddr: &Ipv4Addr, interface: &Ipv4Addr) -> io::Result<()> {
    535
        /// [link]: #method.join_multicast_v6
    536
        #[allow(clippy::trivially_copy_pass_by_ref)]
    537
        pub fn leave_multicast_v6(&self, multiaddr: &Ipv6Addr, interface: u32) -> io::Result<()> {
    541
        /// Get the value of the `IPV6_V6ONLY` option on this socket.
    542
        #[allow(clippy::trivially_copy_pass_by_ref)]
    543
        pub fn only_v6(&self) -> io::Result<bool> {
  • mio 0.8.5/src/sys/shell/selector.rs
    82
    #[allow(clippy::trivially_copy_pass_by_ref)]
    83
    pub mod event {
  • mio 0.8.5/src/sys/unix/selector/epoll.rs
    246
        pub fn debug_details(f: &mut fmt::Formatter<'_>, event: &Event) -> fmt::Result {
    247
            #[allow(clippy::trivially_copy_pass_by_ref)]
    248
            fn check_events(got: &u32, want: &libc::c_int) -> bool {
  • mio 0.8.5/src/sys/unix/selector/kqueue.rs
    475
            #[allow(clippy::trivially_copy_pass_by_ref)]
    476
            fn check_flag(got: &Flags, want: &Flags) -> bool {
    506
            #[allow(clippy::trivially_copy_pass_by_ref)]
    507
            fn check_fflag(got: &u32, want: &u32) -> bool {
  • mio 0.8.5/src/sys/wasi/mod.rs
    321
            #[allow(clippy::trivially_copy_pass_by_ref)]
    322
            fn check_flag(got: &wasi::Eventrwflags, want: &wasi::Eventrwflags) -> bool {
  • mio_wasi 0.8.4/src/net/udp.rs
    503
        /// interface is chosen by the system.
    504
        #[allow(clippy::trivially_copy_pass_by_ref)]
    505
        pub fn join_multicast_v4(&self, multiaddr: &Ipv4Addr, interface: &Ipv4Addr) -> io::Result<()> {
    513
        /// index of the interface to join/leave (or 0 to indicate any interface).
    514
        #[allow(clippy::trivially_copy_pass_by_ref)]
    515
        pub fn join_multicast_v6(&self, multiaddr: &Ipv6Addr, interface: u32) -> io::Result<()> {
    524
        /// [link]: #method.join_multicast_v4
    525
        #[allow(clippy::trivially_copy_pass_by_ref)]
    526
        pub fn leave_multicast_v4(&self, multiaddr: &Ipv4Addr, interface: &Ipv4Addr) -> io::Result<()> {
    535
        /// [link]: #method.join_multicast_v6
    536
        #[allow(clippy::trivially_copy_pass_by_ref)]
    537
        pub fn leave_multicast_v6(&self, multiaddr: &Ipv6Addr, interface: u32) -> io::Result<()> {
    541
        /// Get the value of the `IPV6_V6ONLY` option on this socket.
    542
        #[allow(clippy::trivially_copy_pass_by_ref)]
    543
        pub fn only_v6(&self) -> io::Result<bool> {
  • mio_wasi 0.8.4/src/sys/shell/selector.rs
    82
    #[allow(clippy::trivially_copy_pass_by_ref)]
    83
    pub mod event {
  • mio_wasi 0.8.4/src/sys/unix/selector/epoll.rs
    246
        pub fn debug_details(f: &mut fmt::Formatter<'_>, event: &Event) -> fmt::Result {
    247
            #[allow(clippy::trivially_copy_pass_by_ref)]
    248
            fn check_events(got: &u32, want: &libc::c_int) -> bool {
  • mio_wasi 0.8.4/src/sys/unix/selector/kqueue.rs
    475
            #[allow(clippy::trivially_copy_pass_by_ref)]
    476
            fn check_flag(got: &Flags, want: &Flags) -> bool {
    506
            #[allow(clippy::trivially_copy_pass_by_ref)]
    507
            fn check_fflag(got: &u32, want: &u32) -> bool {
  • mio_wasi 0.8.4/src/sys/wasi/wasmedge.rs
    309
            #[allow(clippy::trivially_copy_pass_by_ref)]
    310
            fn check_flag(got: &wasi::Eventrwflags, want: &wasi::Eventrwflags) -> bool {
  • molecule-codegen 0.7.3/src/ir/mod.rs
    124
    #[allow(clippy::trivially_copy_pass_by_ref)]
    125
    const fn is_zero(value: &usize) -> bool {
  • monero-lmdb-rkv 0.1.0/src/database.rs
    45
        /// environment, or after the database has been closed.
    46
        #[allow(clippy::trivially_copy_pass_by_ref)]
    47
        pub fn dbi(&self) -> ffi::MDB_dbi {
  • monero-lmdb-rkv 0.1.0/src/error.rs
    84
        /// Converts an `Error` to the raw error code.
    85
        #[allow(clippy::trivially_copy_pass_by_ref)]
    86
        pub fn to_err_code(&self) -> c_int {
  • mongodb 2.4.0-beta.1/src/bson_util/mod.rs
    133
    #[allow(clippy::trivially_copy_pass_by_ref)]
    134
    pub(crate) fn serialize_u32_option_as_i32<S: Serializer>(
    144
    #[allow(clippy::trivially_copy_pass_by_ref)]
    145
    pub(crate) fn serialize_u32_option_as_batch_size<S: Serializer>(
  • mp4parse 0.12.0/src/tests.rs
    29
    #[allow(clippy::trivially_copy_pass_by_ref)] // TODO: Consider reworking to a copy
    30
    fn make_box<F>(size: BoxSize, name: &[u8; 4], func: F) -> Cursor<Vec<u8>>
    86
    #[allow(clippy::trivially_copy_pass_by_ref)] // TODO: Consider reworking to a copy
    87
    fn make_fullbox<F>(size: BoxSize, name: &[u8; 4], version: u8, func: F) -> Cursor<Vec<u8>>
  • multiversx-sdk 0.1.1/src/data/transaction.rs
    27
    /// This is only used for serialize
    28
    #[allow(clippy::trivially_copy_pass_by_ref)]
    29
    fn is_zero(num: &u32) -> bool {
  • mwa_hyperdrive 0.2.1/src/srclist/types/flux_density/mod.rs
    69
    // https://stackoverflow.com/questions/53900612/how-do-i-avoid-generating-json-when-serializing-a-value-that-is-null-or-a-defaul
    70
    #[allow(clippy::trivially_copy_pass_by_ref)]
    71
    fn is_zero(num: &f64) -> bool {
  • namecom_ddns 0.6.1/src/getip/hostip.rs
    189
    /// Filter function that removes loopback/link local/unspecified IPv4 addresses
    190
    #[allow(clippy::trivially_copy_pass_by_ref)]
    191
    fn filter_nonroute_ipv4(addr: &&IpAddr) -> bool {
    202
    /// Filter function that removes loopback/link local/unspecified IPv6 addresses
    203
    #[allow(clippy::trivially_copy_pass_by_ref)]
    204
    fn filter_nonroute_ipv6(addr: &&IpAddr) -> bool {
    210
    /// Filter function that prefers global IPv4 addresses
    211
    #[allow(clippy::trivially_copy_pass_by_ref)]
    212
    fn filter_nonlocal_ipv4(addr: &&&IpAddr) -> bool {
    216
    /// Filter function that prefers global IPv6 addresses
    217
    #[allow(clippy::trivially_copy_pass_by_ref)]
    218
    fn filter_nonlocal_ipv6(_addr: &&&IpAddr) -> bool {
  • named_return 0.1.1/src/resyn/item_fn.rs
    121
            fn outer(self) -> Self::Ret {
    122
                #[cfg_attr(feature = "cargo-clippy", allow(trivially_copy_pass_by_ref))]
    123
                fn is_outer(attr: &&syn::Attribute) -> bool {
    132
            fn inner(self) -> Self::Ret {
    133
                #[cfg_attr(feature = "cargo-clippy", allow(trivially_copy_pass_by_ref))]
    134
                fn is_inner(attr: &&syn::Attribute) -> bool {
  • namegen 0.1.3/src/markov.rs
    519
    /// This is only used for serialize
    520
    #[allow(clippy::trivially_copy_pass_by_ref, dead_code)]
    521
    fn is_false(v: &bool) -> bool {
    525
    /// This is only used for serialize
    526
    #[allow(clippy::trivially_copy_pass_by_ref, dead_code)]
    527
    fn is_zero(v: &usize) -> bool {
  • nats_test_server 0.3.0/src/lib.rs
    25
    #[allow(clippy::trivially_copy_pass_by_ref)]
    26
    const fn is_true(field: &bool) -> bool {
    30
    #[allow(clippy::trivially_copy_pass_by_ref)]
    31
    #[inline]
  • natsio 0.4.1/src/connect.rs
    71
    #[allow(clippy::trivially_copy_pass_by_ref)]
    72
    const fn is_true(field: &bool) -> bool {
    76
    #[allow(clippy::trivially_copy_pass_by_ref)]
    77
    #[inline]
  • navitia-poi-model 0.6.2/src/io.rs
    115
    #[allow(clippy::trivially_copy_pass_by_ref)]
    116
    fn ser_from_bool<S>(v: &bool, serializer: S) -> std::result::Result<S::Ok, S::Error>
  • near-paperclip-core 0.3.0/src/v2/models.rs
    947
    #[allow(clippy::trivially_copy_pass_by_ref)]
    948
    fn is_false(val: &bool) -> bool {
  • netaddr2 0.10.0/src/netv4addr.rs
    24
    	#[allow(clippy::trivially_copy_pass_by_ref)]
    25
    	pub fn is_cidr(&self) -> bool {
  • nimble 0.2.1/src/encode.rs
    75
        #[allow(clippy::trivially_copy_pass_by_ref)]
    76
        async fn encode_to<W>(&self, config: &Config, writer: W) -> Result<usize>
    91
        #[allow(clippy::trivially_copy_pass_by_ref)]
    92
        async fn encode_to<W>(&self, config: &Config, writer: W) -> Result<usize>
    366
        #[allow(clippy::trivially_copy_pass_by_ref)]
    367
        async fn encode_to<W>(&self, _config: &Config, _writer: W) -> Result<usize>
    434
        #[allow(clippy::trivially_copy_pass_by_ref)]
    435
        async fn encode_to<W>(&self, _config: &Config, _writer: W) -> Result<usize>
  • nitrokey 0.9.0/src/device/mod.rs
    116
        // to borrow SerialNumber instead of copying it even if it might be less efficient.
    117
        #[allow(clippy::trivially_copy_pass_by_ref)]
    118
        pub fn as_u32(&self) -> u32 {
  • openapiv3 1.0.2/src/util.rs
    10
    #[allow(clippy::trivially_copy_pass_by_ref)] // needs to match signature for use in serde attribute
    11
    #[inline]
  • openapiv3-extended 2.0.2/src/util.rs
    14
    /// }
    15
    #[allow(clippy::trivially_copy_pass_by_ref)] // needs to match signature for use in serde attribute
    16
    #[inline]
  • openpnp_capture 0.2.4/src/format.rs
    62
    impl FourCC {
    63
        #[allow(clippy::trivially_copy_pass_by_ref)]
    64
        /// Returns a pixelformat as four character code
  • openssl 0.10.45/src/ex_data.rs
    28
        #[allow(clippy::trivially_copy_pass_by_ref)]
    29
        pub fn as_raw(&self) -> c_int {
  • openssl 0.10.45/src/hash.rs
    170
        #[allow(clippy::trivially_copy_pass_by_ref)]
    171
        pub fn as_ptr(&self) -> *const ffi::EVP_MD {
    175
        /// The block size of the digest in bytes.
    176
        #[allow(clippy::trivially_copy_pass_by_ref)]
    177
        pub fn block_size(&self) -> usize {
    181
        /// The size of the digest in bytes.
    182
        #[allow(clippy::trivially_copy_pass_by_ref)]
    183
        pub fn size(&self) -> usize {
    187
        /// The name of the digest.
    188
        #[allow(clippy::trivially_copy_pass_by_ref)]
    189
        pub fn type_(&self) -> Nid {
  • openssl 0.10.45/src/nid.rs
    58
        /// Return the integer representation of a `Nid`.
    59
        #[allow(clippy::trivially_copy_pass_by_ref)]
    60
        pub fn as_raw(&self) -> c_int {
    84
        #[corresponds(OBJ_find_sigid_algs)]
    85
        #[allow(clippy::trivially_copy_pass_by_ref)]
    86
        pub fn signature_algorithms(&self) -> Option<SignatureAlgorithms> {
    102
        #[corresponds(OBJ_nid2ln)]
    103
        #[allow(clippy::trivially_copy_pass_by_ref)]
    104
        pub fn long_name(&self) -> Result<&'static str, ErrorStack> {
    112
        #[corresponds(OBJ_nid2sn)]
    113
        #[allow(clippy::trivially_copy_pass_by_ref)]
    114
        pub fn short_name(&self) -> Result<&'static str, ErrorStack> {
  • openssl 0.10.45/src/ocsp.rs
    54
        #[allow(clippy::trivially_copy_pass_by_ref)]
    55
        pub fn as_raw(&self) -> c_int {
  • openstack 0.4.2/src/compute/protocol.rs
    176
    #[allow(clippy::trivially_copy_pass_by_ref)]
    177
    fn config_drive_string_to_bool<S>(has_config_drive: &Option<bool>, s: S) -> Result<S::Ok, S::Error>
  • opg 0.2.0/src/models.rs
    388
    /// helper for serde
    389
    #[allow(clippy::trivially_copy_pass_by_ref)]
    390
    fn is_false(value: &bool) -> bool {
  • osauth 0.4.0/src/error.rs
    129
        /// Short description of the error kind.
    130
        #[allow(clippy::trivially_copy_pass_by_ref)]
    131
        #[inline]
  • osquery-rust 0.1.1/src/_osquery/osquery.rs
    39
      ];
    40
      #[allow(clippy::trivially_copy_pass_by_ref)]
    41
      pub fn write_to_out_protocol(&self, o_prot: &mut dyn TOutputProtocol) -> thrift::Result<()> {
  • other-pocket 0.1.0/src/serialization.rs
    143
    #[allow(clippy::trivially_copy_pass_by_ref)]
    144
    pub fn optional_bool_to_int<S>(x: &Option<bool>, serializer: S) -> Result<S::Ok, S::Error>
    250
    #[allow(clippy::trivially_copy_pass_by_ref)]
    251
    pub fn bool_to_int<S>(x: &bool, serializer: S) -> Result<S::Ok, S::Error>
  • oxygengine-ignite 0.30.0/src/pipeline.rs
    14
    #[allow(clippy::trivially_copy_pass_by_ref)]
    15
    fn bool_is_false(value: &bool) -> bool {
  • paperclip-core 0.6.0/src/v2/models.rs
    1044
    #[allow(clippy::trivially_copy_pass_by_ref)]
    1045
    fn is_false(val: &bool) -> bool {
  • parquet 32.0.0/src/format.rs
    55
    impl TSerializable for Type {
    56
      #[allow(clippy::trivially_copy_pass_by_ref)]
    57
      fn write_to_out_protocol(&self, o_prot: &mut dyn TOutputProtocol) -> thrift::Result<()> {
    224
    impl TSerializable for ConvertedType {
    225
      #[allow(clippy::trivially_copy_pass_by_ref)]
    226
      fn write_to_out_protocol(&self, o_prot: &mut dyn TOutputProtocol) -> thrift::Result<()> {
    301
    impl TSerializable for FieldRepetitionType {
    302
      #[allow(clippy::trivially_copy_pass_by_ref)]
    303
      fn write_to_out_protocol(&self, o_prot: &mut dyn TOutputProtocol) -> thrift::Result<()> {
    399
    impl TSerializable for Encoding {
    400
      #[allow(clippy::trivially_copy_pass_by_ref)]
    401
      fn write_to_out_protocol(&self, o_prot: &mut dyn TOutputProtocol) -> thrift::Result<()> {
    476
    impl TSerializable for CompressionCodec {
    477
      #[allow(clippy::trivially_copy_pass_by_ref)]
    478
      fn write_to_out_protocol(&self, o_prot: &mut dyn TOutputProtocol) -> thrift::Result<()> {
  • parquet-format-async-temp 0.3.1/src/parquet_format.rs
    53
      ];
    54
      #[allow(clippy::trivially_copy_pass_by_ref)]
    55
      pub fn write_to_out_protocol<T: TOutputProtocol>(&self, o_prot: &mut T) -> thrift::Result<usize> {
    57
      }
    58
      #[allow(clippy::trivially_copy_pass_by_ref)]
    59
      pub async fn write_to_out_stream_protocol<T: TOutputStreamProtocol>(&self, o_prot: &mut T) -> thrift::Result<usize> {
    227
      ];
    228
      #[allow(clippy::trivially_copy_pass_by_ref)]
    229
      pub fn write_to_out_protocol<T: TOutputProtocol>(&self, o_prot: &mut T) -> thrift::Result<usize> {
    231
      }
    232
      #[allow(clippy::trivially_copy_pass_by_ref)]
    233
      pub async fn write_to_out_stream_protocol<T: TOutputStreamProtocol>(&self, o_prot: &mut T) -> thrift::Result<usize> {
    309
      ];
    310
      #[allow(clippy::trivially_copy_pass_by_ref)]
    311
      pub fn write_to_out_protocol<T: TOutputProtocol>(&self, o_prot: &mut T) -> thrift::Result<usize> {
  • parquet-format-safe 0.2.4/src/parquet_format.rs
    45
      ];
    46
      #[allow(clippy::trivially_copy_pass_by_ref)]
    47
      pub fn write_to_out_protocol<T: TOutputProtocol>(&self, o_prot: &mut T) -> thrift::Result<usize> {
    49
      }
    50
      #[allow(clippy::trivially_copy_pass_by_ref)]
    51
      #[cfg(feature = "async")]
    228
      ];
    229
      #[allow(clippy::trivially_copy_pass_by_ref)]
    230
      pub fn write_to_out_protocol<T: TOutputProtocol>(&self, o_prot: &mut T) -> thrift::Result<usize> {
    232
      }
    233
      #[allow(clippy::trivially_copy_pass_by_ref)]
    234
      #[cfg(feature = "async")]
    319
      ];
    320
      #[allow(clippy::trivially_copy_pass_by_ref)]
    321
      pub fn write_to_out_protocol<T: TOutputProtocol>(&self, o_prot: &mut T) -> thrift::Result<usize> {
  • passwordmaker-rs 0.2.1/src/passwordmaker/mod.rs
    204
    #[allow(clippy::trivially_copy_pass_by_ref)] //signature is actually determined by Iterator::skip_while(). There's simply no choice.
    205
    fn is_zero(i : &usize) -> bool {
  • pathfinder_renderer 0.5.0/src/paint.rs
    339
    impl Palette {
    340
        #[allow(clippy::trivially_copy_pass_by_ref)]
    341
        pub fn push_paint(&mut self, paint: &Paint) -> PaintId {
  • pathfinder_renderer 0.5.0/src/scene.rs
    153
        #[allow(clippy::trivially_copy_pass_by_ref)]
    154
        pub fn push_paint(&mut self, paint: &Paint) -> PaintId {
  • picky-asn1 0.7.0/src/wrapper.rs
    434
    #[allow(clippy::trivially_copy_pass_by_ref)]
    435
    fn serialize_header_only<S, Phantom>(
  • piet-direct2d 0.6.2/src/d2d.rs
    704
        #[allow(clippy::trivially_copy_pass_by_ref)]
    705
        pub(crate) fn create_linear_gradient(
    866
        #[allow(clippy::trivially_copy_pass_by_ref)]
    867
        pub(crate) fn draw_bitmap(
  • pime 0.0.17/src/lib.rs
    499
        }
    500
        #[allow(clippy::trivially_copy_pass_by_ref)]
    501
        #[allow(clippy::too_many_lines)]
  • pkcs11 0.5.0/src/types.rs
    771
        #[allow(clippy::trivially_copy_pass_by_ref)]
    772
        pub fn with_bool(mut self, b: &CK_BBOOL) -> Self {
    778
        #[allow(clippy::trivially_copy_pass_by_ref)]
    779
        pub fn set_bool(&mut self, b: &CK_BBOOL) {
    792
        #[allow(clippy::trivially_copy_pass_by_ref)]
    793
        pub fn with_ck_ulong(mut self, val: &CK_ULONG) -> Self {
    799
        #[allow(clippy::trivially_copy_pass_by_ref)]
    800
        pub fn set_ck_ulong(&mut self, val: &CK_ULONG) {
    812
        #[allow(clippy::trivially_copy_pass_by_ref)]
    813
        pub fn with_ck_long(mut self, val: &CK_LONG) -> Self {
  • poem-openapi 2.0.23/src/registry/mod.rs
    17
    #[allow(clippy::trivially_copy_pass_by_ref)]
    18
    #[inline]
  • protobuf-convert 0.5.0/tests/pb_convert.rs
    105
        #[allow(clippy::trivially_copy_pass_by_ref)]
    106
        pub(super) fn to_pb(v: &Option<CustomId>) -> u32 {
  • public-api 0.27.1/src/render.rs
    317
        #[allow(clippy::ref_option_ref, clippy::trivially_copy_pass_by_ref)] // Because of `render_sequence()` arg types
    318
        fn render_option_type(&self, ty: &Option<&Type>) -> Vec<Token> {
  • pwbox 0.5.0/src/utils.rs
    67
    impl LogNTransform {
    68
        #[allow(clippy::trivially_copy_pass_by_ref)]
    69
        pub fn serialize<S: Serializer>(value: &u8, serializer: S) -> Result<S::Ok, S::Error> {
  • qcs 0.10.0-rc.1/src/qpu/quilc/isa/edge.rs
    22
    // Gross hack to not include `dead` if unneeded, to follow pyQuil's implementation
    23
    #[allow(clippy::trivially_copy_pass_by_ref)]
    24
    fn is_false(val: &bool) -> bool {
  • qcs 0.10.0-rc.1/src/qpu/quilc/isa/qubit.rs
    23
    // Gross hack to not include `dead` if unneeded, to follow pyQuil's implementation
    24
    #[allow(clippy::trivially_copy_pass_by_ref)]
    25
    fn is_false(val: &bool) -> bool {
  • qsv 0.87.0/src/select.rs
    392
            #[allow(clippy::unnecessary_wraps)]
    393
            #[allow(clippy::trivially_copy_pass_by_ref)]
    394
            fn get_field<'c>(row: &mut &'c csv::ByteRecord, idx: &usize) -> Option<&'c [u8]> {
  • quicksilver 0.4.0/src/input.rs
    84
        /// The state of the given pointer
    85
        #[allow(clippy::trivially_copy_pass_by_ref)]
    86
        pub fn pointer(&self, id: &PointerId) -> Option<PointerState> {
  • radix64 0.6.2/src/decode/block.rs
    40
        // according to the benchmarks on my machine. Ignore the clippy warning.
    41
        #[allow(clippy::trivially_copy_pass_by_ref)]
    42
        fn decode_chunk(self, input: &[u8; 8], output: &mut [u8; 6]) -> Result<(), u8> {
  • raptorq 1.7.0/src/base.rs
    27
        #[allow(clippy::trivially_copy_pass_by_ref)]
    28
        pub fn deserialize(data: &[u8; 4]) -> PayloadId {
  • rhai 1.12.0/src/serde/serialize.rs
    101
            #[allow(clippy::trivially_copy_pass_by_ref)]
    102
            fn is_false(value: &bool) -> bool {
  • roa 0.6.1/src/compress.rs
    143
    impl<'a, S> Middleware<'a, S> for Compress {
    144
        #[allow(clippy::trivially_copy_pass_by_ref)]
    145
        #[inline]
  • roa-core 0.6.1/src/middleware.rs
    182
    impl<'a, S> Middleware<'a, S> for () {
    183
        #[allow(clippy::trivially_copy_pass_by_ref)]
    184
        #[inline]
    192
    impl<'a, S> Endpoint<'a, S> for () {
    193
        #[allow(clippy::trivially_copy_pass_by_ref)]
    194
        #[inline]
  • root-io 0.3.0/src/core/parsers.rs
    28
    #[allow(clippy::trivially_copy_pass_by_ref)]
    29
    fn is_byte_count(v: &u32) -> bool {
  • ruma-client-api 0.15.3/src/context/get_context.rs
    106
        #[allow(clippy::trivially_copy_pass_by_ref)]
    107
        fn is_default_limit(val: &UInt) -> bool {
  • ruma-client-api 0.15.3/src/message/get_message_events.rs
    167
        #[allow(clippy::trivially_copy_pass_by_ref)]
    168
        fn is_default_limit(val: &UInt) -> bool {
  • ruma-client-api 0.15.3/src/search/search_events.rs
    162
        #[allow(clippy::trivially_copy_pass_by_ref)]
    163
        fn is_default_event_context_limit(val: &UInt) -> bool {
  • ruma-common 0.10.5/src/events/room/power_levels.rs
    141
    /// Used with `#[serde(skip_serializing_if)]` to omit default power levels.
    142
    #[allow(clippy::trivially_copy_pass_by_ref)]
    143
    fn is_default_power_level(l: &Int) -> bool {
  • ruma-common 0.10.5/src/serde.rs
    54
    /// Useful for `#[serde(skip_serializing_if = ...)]`.
    55
    #[allow(clippy::trivially_copy_pass_by_ref)]
    56
    pub fn is_true(b: &bool) -> bool {
  • ruma-events 0.26.1/src/room/power_levels.rs
    166
    /// Used with `#[serde(skip_serializing_if)]` to omit default power levels.
    167
    #[allow(clippy::trivially_copy_pass_by_ref)]
    168
    fn is_default_power_level(l: &Int) -> bool {
  • ruma-serde 0.6.1/src/lib.rs
    61
    /// Useful for `#[serde(skip_serializing_if = ...)]`.
    62
    #[allow(clippy::trivially_copy_pass_by_ref)]
    63
    pub fn is_true(b: &bool) -> bool {
  • rust_filen 0.3.0/src/v1/mod.rs
    119
    #[allow(clippy::trivially_copy_pass_by_ref)]
    120
    pub(crate) fn bool_to_string<S>(value: &bool, serializer: S) -> Result<S::Ok, S::Error>
    142
    #[allow(clippy::trivially_copy_pass_by_ref)]
    143
    pub(crate) fn bool_to_int<S>(value: &bool, serializer: S) -> Result<S::Ok, S::Error>
    161
    #[allow(clippy::trivially_copy_pass_by_ref)]
    162
    pub(crate) fn optional_bool_to_int<S>(value: &Option<bool>, serializer: S) -> Result<S::Ok, S::Error>
  • rustpython-vm 0.1.2/src/obj/objfloat.rs
    175
    #[pyimpl(flags(BASETYPE))]
    176
    #[allow(clippy::trivially_copy_pass_by_ref)]
    177
    impl PyFloat {
  • rusty-gql 0.1.2/src/resolver/mod.rs
    54
    impl<T: FieldResolver> FieldResolver for &T {
    55
        #[allow(clippy::trivially_copy_pass_by_ref)]
    56
        async fn resolve_field(&self, ctx: &Context<'_>) -> ResolverResult<Option<GqlValue>> {
    67
    impl<T: FieldResolver> FieldResolver for Arc<T> {
    68
        #[allow(clippy::trivially_copy_pass_by_ref)]
    69
        async fn resolve_field(&self, ctx: &Context<'_>) -> ResolverResult<Option<GqlValue>> {
    80
    impl<T: FieldResolver> FieldResolver for Box<T> {
    81
        #[allow(clippy::trivially_copy_pass_by_ref)]
    82
        async fn resolve_field(&self, ctx: &Context<'_>) -> ResolverResult<Option<GqlValue>> {
  • safe_arch 0.6.0/src/x86_x64/sse.rs
    694
    #[inline(always)]
    695
    #[allow(clippy::trivially_copy_pass_by_ref)]
    696
    #[cfg_attr(docs_rs, doc(cfg(target_feature = "sse")))]
    710
    #[inline(always)]
    711
    #[allow(clippy::trivially_copy_pass_by_ref)]
    712
    #[cfg_attr(docs_rs, doc(cfg(target_feature = "sse")))]
  • safe_arch 0.6.0/src/x86_x64/sse2.rs
    1469
    #[inline(always)]
    1470
    #[allow(clippy::trivially_copy_pass_by_ref)]
    1471
    #[cfg_attr(docs_rs, doc(cfg(target_feature = "sse2")))]
    1484
    #[inline(always)]
    1485
    #[allow(clippy::trivially_copy_pass_by_ref)]
    1486
    #[cfg_attr(docs_rs, doc(cfg(target_feature = "sse2")))]
  • safe-regex 0.2.5/src/bin/compilable/matcher.rs
    25
        #[must_use]
    26
        #[allow(clippy::trivially_copy_pass_by_ref)]
    27
        pub fn byte(&self) -> Option<u8> {
    33
        #[must_use]
    34
        #[allow(clippy::trivially_copy_pass_by_ref)]
    35
        pub fn consume(self) -> Self {
  • safe-regex 0.2.5/src/bin/uncompilable/matcher.rs
    25
        #[must_use]
    26
        #[allow(clippy::trivially_copy_pass_by_ref)]
    27
        pub fn byte(&self) -> Option<u8> {
    33
        #[must_use]
    34
        #[allow(clippy::trivially_copy_pass_by_ref)]
    35
        pub fn consume(self) -> Self {
  • safecoin-program 1.14.3/src/slot_hashes.rs
    49
        }
    50
        #[allow(clippy::trivially_copy_pass_by_ref)]
    51
        pub fn get(&self, slot: &Slot) -> Option<&Hash> {
  • scancode-rs 0.1.0/src/models.rs
    166
    /// Serialize a boolean true as "yes".
    167
    #[allow(clippy::trivially_copy_pass_by_ref)]
    168
    fn yes_from_bool<S>(boolean: &bool, s: S) -> std::result::Result<S::Ok, S::Error>
    178
    /// Check if false.
    179
    #[allow(clippy::trivially_copy_pass_by_ref)]
    180
    fn is_false(boolean: &bool) -> bool {
  • schemars 0.8.11/src/schema.rs
    309
    #[allow(clippy::trivially_copy_pass_by_ref)]
    310
    fn is_false(b: &bool) -> bool {
  • scribec 0.1.0/src/fb303.rs
    46
      ];
    47
      #[allow(clippy::trivially_copy_pass_by_ref)]
    48
      pub fn write_to_out_protocol(&self, o_prot: &mut dyn TOutputProtocol) -> thrift::Result<()> {
  • scribec 0.1.0/src/scribe.rs
    39
      ];
    40
      #[allow(clippy::trivially_copy_pass_by_ref)]
    41
      pub fn write_to_out_protocol(&self, o_prot: &mut dyn TOutputProtocol) -> thrift::Result<()> {
  • sdl2 0.35.2/src/sdl2/rect.rs
    413
        // https://github.com/rust-lang/rust-clippy/issues/5953 is fixed
    414
        #[allow(clippy::trivially_copy_pass_by_ref)]
    415
        pub fn raw(&self) -> *const sys::SDL_Rect {
    777
        // https://github.com/rust-lang/rust-clippy/issues/5953 is fixed
    778
        #[allow(clippy::trivially_copy_pass_by_ref)]
    779
        pub fn raw(&self) -> *const sys::SDL_Point {
  • sdl2 0.35.2/src/sdl2/render.rs
    244
        // https://github.com/rust-lang/rust-clippy/issues/5953 is fixed
    245
        #[allow(clippy::trivially_copy_pass_by_ref)]
    246
        pub fn raw(&self) -> *mut sys::SDL_Renderer {
    829
        // https://github.com/rust-lang/rust-clippy/issues/5953 is fixed
    830
        #[allow(clippy::trivially_copy_pass_by_ref)]
    831
        pub fn raw(&self) -> *mut sys::SDL_Renderer {
    977
        // https://github.com/rust-lang/rust-clippy/issues/5953 is fixed
    978
        #[allow(clippy::trivially_copy_pass_by_ref)]
    979
        pub fn raw(&self) -> *mut sys::SDL_Renderer {
    2343
        // https://github.com/rust-lang/rust-clippy/issues/5953 is fixed
    2344
        #[allow(clippy::trivially_copy_pass_by_ref)]
    2345
        pub const fn raw(&self) -> *mut sys::SDL_Texture {
    2540
        // https://github.com/rust-lang/rust-clippy/issues/5953 is fixed
    2541
        #[allow(clippy::trivially_copy_pass_by_ref)]
    2542
        pub const fn raw(&self) -> *mut sys::SDL_Texture {
  • sdl2 0.35.2/src/sdl2/rwops.rs
    20
        // https://github.com/rust-lang/rust-clippy/issues/5953 is fixed
    21
        #[allow(clippy::trivially_copy_pass_by_ref)]
    22
        pub unsafe fn raw(&self) -> *mut sys::SDL_RWops {
  • sdl2 0.35.2/src/sdl2/surface.rs
    332
        // https://github.com/rust-lang/rust-clippy/issues/5953 is fixed
    333
        #[allow(clippy::trivially_copy_pass_by_ref)]
    334
        #[doc(alias = "SDL_Surface")]
  • sdl2 0.35.2/src/sdl2/ttf/font.rs
    313
        // https://github.com/rust-lang/rust-clippy/issues/5953 is fixed
    314
        #[allow(clippy::trivially_copy_pass_by_ref)]
    315
        unsafe fn raw(&self) -> *mut ttf::TTF_Font {
  • seaslug 0.0.0/src/ebr/atomic.rs
    714
        /// Converts the pointer to a raw pointer (without the tag).
    715
        #[allow(clippy::trivially_copy_pass_by_ref)]
    716
        pub(crate) fn as_raw(&self) -> *const T {
    728
        /// Returns `true` if the pointer is null.
    729
        #[allow(clippy::trivially_copy_pass_by_ref)]
    730
        pub(crate) fn is_null(&self) -> bool {
    751
        /// `Release` and `Acquire` orderings.
    752
        #[allow(clippy::trivially_copy_pass_by_ref)]
    753
        #[allow(clippy::should_implement_trait)]
    775
        /// `Release` and `Acquire` orderings.
    776
        #[allow(clippy::trivially_copy_pass_by_ref)]
    777
        pub(crate) unsafe fn as_ref(&self) -> Option<&'g T> {
    804
        /// Returns the tag stored within the pointer.
    805
        #[allow(clippy::trivially_copy_pass_by_ref)]
    806
        pub(crate) fn tag(&self) -> usize {
  • secure-reliable-transport 0.2.1/src/protocol/mod.rs
    151
        #[allow(clippy::trivially_copy_pass_by_ref)]
    152
        pub fn timestamp_from(&self, instant: Instant) -> TimeStamp {
    162
        // Get Instant closest to `now` that is consistent with `timestamp`
    163
        #[allow(clippy::trivially_copy_pass_by_ref)]
    164
        pub fn instant_from(&self, now: Instant, timestamp: TimeStamp) -> Instant {
  • sentry-types 0.29.2/src/protocol/session.rs
    139
    #[allow(clippy::trivially_copy_pass_by_ref)]
    140
    fn is_zero(val: &u32) -> bool {
  • serenity 0.11.5/src/model/guild/role.rs
    329
        #[allow(clippy::trivially_copy_pass_by_ref)]
    330
        pub fn serialize<S: Serializer>(_: &bool, serializer: S) -> Result<S::Ok, S::Error> {
  • serenity 0.11.5/src/model/id.rs
    287
        #[allow(clippy::trivially_copy_pass_by_ref)]
    288
        pub fn serialize<S: Serializer>(id: &u64, serializer: S) -> Result<S::Ok, S::Error> {
  • serenity 0.11.5/src/model/user.rs
    73
        #[allow(clippy::trivially_copy_pass_by_ref)]
    74
        pub fn serialize<S: Serializer>(value: &u16, serializer: S) -> Result<S::Ok, S::Error> {
    133
            #[allow(clippy::trivially_copy_pass_by_ref)]
    134
            pub fn serialize<S: Serializer>(
  • serenity 0.11.5/src/model/utils.rs
    26
    /// Helper function for `#[serde(skip_serializing_if = "is_false")]`
    27
    #[allow(clippy::trivially_copy_pass_by_ref)]
    28
    pub fn is_false(v: &bool) -> bool {
  • sgx-quote 0.1.0/src/parsers.rs
    118
    #[allow(clippy::trivially_copy_pass_by_ref)] // The macro inserts a ref and rustc won't deref it.
    119
    fn is_valid_cd_type(t: &u16) -> bool {
  • sgx_tdh 1.1.1/src/ecp.rs
    27
    #[allow(clippy::trivially_copy_pass_by_ref)]
    28
    pub fn derive_key(shared_key: &sgx_ec256_dh_shared_t,
  • shine-gltf 0.2.0/src/accessor.rs
    228
    // Help serde avoid serializing this glTF 2.0 default value.
    229
    #[allow(clippy::trivially_copy_pass_by_ref)]
    230
    fn is_normalized_default(b: &bool) -> bool {
  • shine-gltf 0.2.0/src/mesh.rs
    111
    // Help serde avoid serializing this glTF 2.0 default value.
    112
    #[allow(clippy::trivially_copy_pass_by_ref)]
    113
    fn is_primitive_mode_default(mode: &Checked<Mode>) -> bool {
  • sim2h 0.0.52-alpha2/src/sim2h_im_state.rs
    188
    #[allow(clippy::trivially_copy_pass_by_ref)]
    189
    pub fn serialize_location<S>(loc: &Location, serializer: S) -> Result<S::Ok, S::Error>
  • simble 0.1.3/src/lib.rs
    314
        /// Obtain a pointer to the first byte.
    315
        #[cfg_attr(feature = "cargo-clippy", allow(trivially_copy_pass_by_ref))]
    316
        #[inline]
    321
        /// Borrow as a byte slice.
    322
        #[cfg_attr(feature = "cargo-clippy", allow(trivially_copy_pass_by_ref))]
    323
        #[inline]
    329
        /// Borrow as a &[`str`].
    330
        #[cfg_attr(feature = "cargo-clippy", allow(trivially_copy_pass_by_ref))]
    331
        #[inline]
  • simd-json 0.7.0/tests/serenity.rs
    15
            #[allow(clippy::trivially_copy_pass_by_ref)]
    16
            pub fn serialize<S: Serializer>(id: &u64, serializer: S) -> Result<S::Ok, S::Error> {
  • simd-json 0.7.0/tests/weird_type.rs
    33
        // passed by reference because that's what serde does.
    34
        #[allow(clippy::trivially_copy_pass_by_ref)]
    35
        pub fn serialize<S: Serializer>(_: &bool, serializer: S) -> Result<S::Ok, S::Error> {
    44
    // Clippy situation is the same as above.
    45
    #[allow(clippy::trivially_copy_pass_by_ref)]
    46
    fn is_false(value: &bool) -> bool {
  • simple_libc 0.5.0/src/pollers/poll.rs
    69
        #[allow(clippy::trivially_copy_pass_by_ref)]
    70
        fn translate_pollfd_event(pfd: &PollFd) -> Option<(RawFd, Events)> {
  • simple_libc 0.5.0/src/prctl.rs
    489
    #[allow(clippy::trivially_copy_pass_by_ref)]
    490
    #[cfg(feature = "serde")]
    506
    #[allow(clippy::trivially_copy_pass_by_ref)]
    507
    #[cfg(all(
  • simple_libc 0.5.0/src/resource.rs
    135
    #[allow(clippy::trivially_copy_pass_by_ref)]
    136
    #[cfg(feature = "serde")]
  • simulated_annealing 0.2.0/src/sa.rs
    116
        // Define the objective function
    117
        #[allow(clippy::trivially_copy_pass_by_ref)]
    118
        #[allow(clippy::unnecessary_wraps)]
  • smolheed 0.1.0/src/mdb/lmdb_error.rs
    92
        /// Converts an `Error` to the raw error code.
    93
        #[allow(clippy::trivially_copy_pass_by_ref)]
    94
        pub fn to_err_code(&self) -> c_int {
  • smolsocket 0.3.0/src/lib.rs
    239
        #[allow(clippy::len_without_is_empty)]
    240
        #[allow(clippy::trivially_copy_pass_by_ref)]
    241
        impl SocketAddrV4 {
    325
        #[allow(clippy::len_without_is_empty)]
    326
        #[allow(clippy::trivially_copy_pass_by_ref)]
    327
        impl SocketAddrV6 {
  • solana-program 1.14.13/src/slot_hashes.rs
    49
        }
    50
        #[allow(clippy::trivially_copy_pass_by_ref)]
    51
        pub fn get(&self, slot: &Slot) -> Option<&Hash> {
  • solang 0.2.1/src/abi/ethereum.rs
    40
    #[allow(clippy::trivially_copy_pass_by_ref)]
    41
    fn is_false(boolean: &bool) -> bool {
  • source-span 2.7.0/src/fmt.rs
    586
    	#[allow(clippy::trivially_copy_pass_by_ref)]
    587
    	const fn is_span_horizontal(&self) -> bool {
    594
    	#[allow(clippy::trivially_copy_pass_by_ref)]
    595
    	const fn is_span_margin(&self) -> bool {
  • spandex 0.0.4/src/document/configuration.rs
    17
    // This is required to use in macro `serialize_with`.
    18
    #[allow(clippy::trivially_copy_pass_by_ref)]
    19
    pub fn serialize_pt<S: Serializer>(pt: &Pt, serializer: S) -> result::Result<S::Ok, S::Error> {
  • spirit-reqwest 0.5.1/src/lib.rs
    146
    #[allow(clippy::trivially_copy_pass_by_ref)]
    147
    fn is_false(b: &bool) -> bool {
  • starlark 0.8.0/src/syntax/mod.rs
    39
    #[allow(clippy::inefficient_to_string)]
    40
    #[allow(clippy::trivially_copy_pass_by_ref)]
    41
    #[allow(clippy::too_many_arguments)]
  • starlark 0.8.0/src/values/layout/value.rs
    820
        // Because of this cheating, we don't expose it outside Starlark.
    821
        #[allow(clippy::trivially_copy_pass_by_ref)]
    822
        pub(crate) fn unpack_str<'v>(&'v self) -> Option<&'v str> {
  • starlark 0.8.0/src/values/types/dict.rs
    192
        /// Obtain the [`FrozenDict`] pointed at by a [`FrozenValue`].
    193
        #[allow(clippy::trivially_copy_pass_by_ref)]
    194
        // We need a lifetime because FrozenValue doesn't contain the right lifetime
  • starlark 0.8.0/src/values/types/list.rs
    305
        /// Obtain the [`FrozenList`] pointed at by a [`FrozenValue`].
    306
        #[allow(clippy::trivially_copy_pass_by_ref)]
    307
        // We need a lifetime because FrozenValue doesn't contain the right lifetime
  • stork-lib 1.6.0/src/index_v3/build/fill_containers.rs
    163
    #[allow(clippy::trivially_copy_pass_by_ref)]
    164
    fn char_is_cjk_ideograph(c: &char) -> bool {
  • strife 0.3.0/src/model/gateway/presence.rs
    58
        /// Used in serde `skip_serializing_if` attribute.
    59
        #[allow(clippy::trivially_copy_pass_by_ref)]
    60
        #[inline]
  • strife 0.3.0/src/model/utils.rs
    1
    /// Used in serde `skip_serializing_if` attribute.
    2
    #[allow(clippy::trivially_copy_pass_by_ref)]
    3
    #[inline]
  • syn-pub-items 0.15.30/src/attr.rs
    517
        fn outer(self) -> Self::Ret {
    518
            #[cfg_attr(feature = "cargo-clippy", allow(trivially_copy_pass_by_ref))]
    519
            fn is_outer(attr: &&Attribute) -> bool {
    528
        fn inner(self) -> Self::Ret {
    529
            #[cfg_attr(feature = "cargo-clippy", allow(trivially_copy_pass_by_ref))]
    530
            fn is_inner(attr: &&Attribute) -> bool {
  • tai64 4.0.0/src/lib.rs
    185
        /// Convert `SystemTime` to `TAI64N`.
    186
        #[allow(clippy::trivially_copy_pass_by_ref)]
    187
        #[cfg(feature = "std")]
  • tamasfe-schemars 0.8.1/src/schema.rs
    291
    #[allow(clippy::trivially_copy_pass_by_ref)]
    292
    fn is_false(b: &bool) -> bool {
  • tame-gcs 0.12.0/src/util.rs
    24
    #[allow(clippy::trivially_copy_pass_by_ref)]
    25
    pub(crate) fn if_false(v: &bool) -> bool {
  • tame-gcs 0.12.0/src/v1/common.rs
    5
    #[allow(clippy::trivially_copy_pass_by_ref)]
    6
    fn pretty_on(pretty_print: &bool) -> bool {
  • tarpc 0.31.0/src/util/serde.rs
    10
    /// Serializes [`io::ErrorKind`] as a `u32`.
    11
    #[allow(clippy::trivially_copy_pass_by_ref)] // Exact fn signature required by serde derive
    12
    pub fn serialize_io_error_kind_as_u32<S>(
  • tarpc-lib 0.7.0/src/util/serde.rs
    33
    /// Serializes [`io::ErrorKind`] as a `u32`.
    34
    #[allow(clippy::trivially_copy_pass_by_ref)] // Exact fn signature required by serde derive
    35
    pub fn serialize_io_error_kind_as_u32<S>(
  • tauri-bundler 2.0.0-alpha.0/src/bundle/settings.rs
    72
      /// Gets the short name of this PackageType.
    73
      #[allow(clippy::trivially_copy_pass_by_ref)]
    74
      pub fn short_name(&self) -> &'static str {
  • termusic 0.7.8/src/player/mpv_backend/libmpv/mpv.rs
    379
    impl Format {
    380
        #[allow(clippy::trivially_copy_pass_by_ref)]
    381
        fn as_mpv_format(&self) -> MpvFormat {
  • termusic 0.7.8/src/player/rusty_backend/mod.rs
    13
        clippy::missing_safety_doc,
    14
        clippy::trivially_copy_pass_by_ref,
    15
        clippy::unnecessary_wraps,
  • test-cdylib 1.1.0/src/dependencies.rs
    131
    #[allow(clippy::trivially_copy_pass_by_ref)]
    132
    fn is_true(boolean: &bool) -> bool {
  • test-fuzz-macro 3.0.5/src/lib.rs
    218
        clippy::too_many_arguments,
    219
        clippy::trivially_copy_pass_by_ref
    220
    )]
  • test-shisho-datasource 0.1.3/src/gqlgen/query/selection.rs
    77
    #[allow(clippy::trivially_copy_pass_by_ref)]
    78
    impl SelectionParent {
  • test-shisho-policy-sdk 0.1.16/src/gqlgen/query/selection.rs
    77
    #[allow(clippy::trivially_copy_pass_by_ref)]
    78
    impl SelectionParent {
  • thetvdb 0.1.0-beta.2/src/serialization.rs
    83
        #[allow(clippy::trivially_copy_pass_by_ref)]
    84
        pub fn serialize<S>(ond: &Option<NaiveDate>, serializer: S) -> Result<S::Ok, S::Error>
    144
        #[allow(clippy::trivially_copy_pass_by_ref)]
    145
        pub fn serialize<S>(u: &u16, serializer: S) -> Result<S::Ok, S::Error>
    192
        #[allow(clippy::trivially_copy_pass_by_ref)]
    193
        pub fn serialize<S>(b: &bool, serializer: S) -> Result<S::Ok, S::Error>
  • thiserror 1.0.38/tests/test_display.rs
    117
        #[allow(clippy::trivially_copy_pass_by_ref)]
    118
        fn not(bool: &bool) -> bool {
  • thiserror-core 1.0.37/tests/test_display.rs
    117
        #[allow(clippy::trivially_copy_pass_by_ref)]
    118
        fn not(bool: &bool) -> bool {
  • thiserror_core2 2.0.1/tests/test_display.rs
    119
        #[allow(clippy::trivially_copy_pass_by_ref)]
    120
        fn not(bool: &bool) -> bool {
  • thiserror-no-std 2.0.2/tests/test_display.rs
    117
        #[allow(clippy::trivially_copy_pass_by_ref)]
    118
        fn not(bool: &bool) -> bool {
  • tls-parser 0.11.0/src/tls.rs
    907
    #[rustfmt::skip]
    908
    #[allow(clippy::trivially_copy_pass_by_ref)] // TlsRecordHeader is only 6 bytes, but we prefer not breaking current API
    909
    pub fn parse_tls_record_with_header<'i, 'hdr>(i:&'i [u8], hdr:&'hdr TlsRecordHeader ) -> IResult<&'i [u8], Vec<TlsMessage<'i>>> {
  • toml-parse 0.2.11/src/common/mod.rs
    3
    /// FIXME fix pass by ref
    4
    #[allow(clippy::trivially_copy_pass_by_ref)]
    5
    pub fn cmp_tokens(ch: &char, chars: &[char]) -> bool {
  • tough 0.12.5/src/transport.rs
    222
        #[cfg(not(feature = "http"))]
    223
        #[allow(clippy::trivially_copy_pass_by_ref, clippy::unused_self)]
    224
        fn handle_http(&self, url: Url) -> Result<Box<dyn Read + Send>, TransportError> {
  • trace4rs-config 0.5.0/src/config.rs
    252
        #[cfg(feature = "serde")]
    253
        #[allow(clippy::trivially_copy_pass_by_ref)]
    254
        fn is_normal(&self) -> bool {
  • tracers-codegen 0.1.0/src/serde_helpers.rs
    96
        #[allow(clippy::trivially_copy_pass_by_ref)] //serde requires by ref here
    97
        pub(crate) fn serialize<S: Serializer>(_x: &Span, s: S) -> Result<S::Ok, S::Error> {
  • tracing-forest 0.1.5/src/tree/ser.rs
    8
    #[allow(clippy::trivially_copy_pass_by_ref)]
    9
    pub(super) fn level<S: Serializer>(level: &Level, serializer: S) -> Result<S::Ok, S::Error> {
  • trapmail 0.4.0/src/serde_pid.rs
    6
    /// Serialization function, to be used with `serialize_with`.
    7
    #[allow(clippy::trivially_copy_pass_by_ref)]
    8
    pub fn serialize<S>(pid: &Pid, ser: S) -> Result<S::Ok, S::Error>
  • trimothy 0.1.6/src/lib.rs
    118
    #[allow(clippy::trivially_copy_pass_by_ref)] // It's the signature iterator wants.
    119
    #[inline]
  • trippy 0.6.0/src/report.rs
    98
    #[allow(clippy::trivially_copy_pass_by_ref)]
    99
    fn fixed_width<S>(val: &f64, serializer: S) -> Result<S::Ok, S::Error>
  • twilight-model 0.15.0-rc.1/src/user/mod.rs
    52
        // Allow this lint because taking a reference is required by serde.
    53
        #[allow(clippy::trivially_copy_pass_by_ref)]
    54
        pub fn serialize<S: Serializer>(value: &u16, serializer: S) -> Result<S::Ok, S::Error> {
  • twilight-model 0.15.0-rc.1/src/util/mod.rs
    8
    #[allow(clippy::trivially_copy_pass_by_ref)]
    9
    pub(crate) fn is_false(value: &bool) -> bool {
  • twilight-model 0.15.0-rc.1/src/visitor.rs
    44
        // passed by reference because that's what serde does.
    45
        #[allow(clippy::trivially_copy_pass_by_ref)]
    46
        pub fn serialize<S: Serializer>(_: &bool, serializer: S) -> Result<S::Ok, S::Error> {
  • twitter-stream 0.13.0/src/builder.rs
    343
    #[allow(clippy::trivially_copy_pass_by_ref)]
    344
    fn not(p: &bool) -> bool {
  • uvm_core 0.13.1/src/unity/version/module.rs
    543
        #[allow(clippy::trivially_copy_pass_by_ref)]
    544
        pub fn serialize<S>(c: &Component, serializer: S) -> Result<S::Ok, S::Error>
    565
        #[allow(clippy::trivially_copy_pass_by_ref)]
    566
        pub fn serialize<S>(c: &Option<Component>, serializer: S) -> Result<S::Ok, S::Error>
    592
        #[allow(clippy::trivially_copy_pass_by_ref)]
    593
        pub fn serialize<S>(c: &Option<Component>, serializer: S) -> Result<S::Ok, S::Error>
  • v4l 0.13.1/src/format/fourcc.rs
    9
    impl FourCC {
    10
        #[allow(clippy::trivially_copy_pass_by_ref)]
    11
        /// Returns a pixelformat as four character code
  • vapbloom 0.11.1/src/lib.rs
    227
    impl<'a> BloomRef<'a> {
    228
    	#[allow(clippy::trivially_copy_pass_by_ref)]
    229
    	pub fn is_empty(&self) -> bool {
    233
    	#[allow(clippy::trivially_copy_pass_by_ref)]
    234
    	pub fn contains_input(&self, input: Input<'_>) -> bool {
    239
    	#[allow(clippy::trivially_copy_pass_by_ref)]
    240
    	pub fn contains_bloom<'b, B>(&self, bloom: B) -> bool
    257
    	#[allow(clippy::trivially_copy_pass_by_ref)]
    258
    	pub fn data(&self) -> &'a [u8; BLOOM_SIZE] {
  • vdso 0.2.2/src/lib.rs
    40
    impl Header {
    41
        #[allow(clippy::trivially_copy_pass_by_ref)]
    42
        pub unsafe fn from_ptr(ptr: &()) -> Option<&Self> {
  • vergen 8.0.0-beta.3/src/emitter.rs
    96
            clippy::unnecessary_wraps,
    97
            clippy::trivially_copy_pass_by_ref,
    98
            clippy::unused_self
    121
            clippy::unnecessary_wraps,
    122
            clippy::trivially_copy_pass_by_ref,
    123
            clippy::unused_self
    161
            clippy::unnecessary_wraps,
    162
            clippy::trivially_copy_pass_by_ref,
    163
            clippy::unused_self
    186
            clippy::unnecessary_wraps,
    187
            clippy::trivially_copy_pass_by_ref,
    188
            clippy::unused_self
    202
            clippy::unnecessary_wraps,
    203
            clippy::trivially_copy_pass_by_ref,
    204
            clippy::unused_self
  • vhost 0.6.0/src/vhost_kern/vhost_binding.rs
    102
        #[inline]
    103
        #[allow(clippy::trivially_copy_pass_by_ref)]
    104
        #[allow(clippy::useless_transmute)]
  • vswhere 0.1.0/src/lib.rs
    174
    #[cfg_attr(feature = "cargo-clippy", allow(trivially_copy_pass_by_ref))]
    175
    fn serialize_uppercase_bool<S: Serializer>(
  • waffles-solana-program 1.15.0/src/slot_hashes.rs
    49
        }
    50
        #[allow(clippy::trivially_copy_pass_by_ref)]
    51
        pub fn get(&self, slot: &Slot) -> Option<&Hash> {
  • wallabag-api 0.4.1/src/utils/serde.rs
    11
    /// works.
    12
    #[allow(clippy::trivially_copy_pass_by_ref)]
    13
    pub(crate) fn bool_to_int<S>(x: &Option<bool>, serializer: S) -> Result<S::Ok, S::Error>
  • wampire 0.2.1/src/messages/types/mod.rs
    15
    #[allow(clippy::trivially_copy_pass_by_ref)]
    16
    fn is_not(b: &bool) -> bool {
    53
    impl MatchingPolicy {
    54
        #[allow(clippy::trivially_copy_pass_by_ref)]
    55
        #[inline]
    61
    impl InvocationPolicy {
    62
        #[allow(clippy::trivially_copy_pass_by_ref)]
    63
        #[inline]
  • wasmer-wasi-near 1.0.1/src/syscalls/types.rs
    292
    impl __wasi_prestat_t {
    293
        #[allow(clippy::trivially_copy_pass_by_ref)]
    294
        pub fn tagged(&self) -> Option<PrestatEnum> {
  • wasmer-wasi-types 3.2.0-alpha.1/src/wasi/extra_manual.rs
    275
    impl Prestat {
    276
        #[allow(clippy::trivially_copy_pass_by_ref)]
    277
        pub fn tagged(&self) -> Option<PrestatEnum> {
  • watchman_client 0.8.0/src/pdu.rs
    119
    #[allow(clippy::trivially_copy_pass_by_ref)]
    120
    fn is_false(v: &bool) -> bool {
  • winit-gfx-hal 0.0.0/src/arch/sse.rs
    509
      /// Loads the `f32` address into all lanes.
    510
      #[allow(clippy::trivially_copy_pass_by_ref)]
    511
      #[inline(always)]
    516
      /// Loads the `f32` address into lane 0, other lanes are `0.0`.
    517
      #[allow(clippy::trivially_copy_pass_by_ref)]
    518
      #[inline(always)]
  • winit-gfx-hal 0.0.0/src/arch/sse2.rs
    1506
      /// Load the `f64` addressed into the low lane, high lane `0.0`.
    1507
      #[allow(clippy::trivially_copy_pass_by_ref)]
    1508
      #[inline(always)]
    1513
      /// Replace high lane with the float referenced, low lane unaffected.
    1514
      #[allow(clippy::trivially_copy_pass_by_ref)]
    1515
      #[inline(always)]
    1520
      /// Replace low lane with the float referenced, high lane unaffected.
    1521
      #[allow(clippy::trivially_copy_pass_by_ref)]
    1522
      #[inline(always)]
  • winit-gfx-hal 0.0.0/src/arch/sse3.rs
    109
      #[inline(always)]
    110
      #[allow(clippy::trivially_copy_pass_by_ref)]
    111
      pub fn load_splat(addr: &f64) -> Self {
  • world-map-gen 0.1.1/src/board.rs
    39
    // So using `self` argument is efficient on wasm32, but not on x86_64.
    40
    #[allow(clippy::trivially_copy_pass_by_ref)]
    41
    impl Pos {
  • world-map-gen 0.1.1/src/large_gen.rs
    31
    // So using `self` argument is efficient on wasm32, but not on x86_64.
    32
    #[allow(clippy::trivially_copy_pass_by_ref)]
    33
    impl<'a, R: Rng> LargeBoardGen<'a, R> {
  • x-lint 0.1.0/src/project.rs
    15
        // it that way for consistency reasons.
    16
        #[allow(clippy::trivially_copy_pass_by_ref)]
    17
        /// Executes the lint against the given project context.
  • x509-parser 0.14.0/src/time.rs
    91
    fn parse_malformed_date(i: &[u8]) -> ParseResult<OffsetDateTime> {
    92
        #[allow(clippy::trivially_copy_pass_by_ref)]
    93
        // fn check_char(b: &u8) -> bool {
  • xlint 0.2.2/src/project.rs
    14
        // it that way for consistency reasons.
    15
        #[allow(clippy::trivially_copy_pass_by_ref)]
    16
        /// Executes the lint against the given project context.
  • yarte_hir 0.15.6/src/validator.rs
    73
    #[allow(clippy::trivially_copy_pass_by_ref)]
    74
    pub(super) fn partial_assign<T: AsRef<syn::Expr>>(
  • yew-router-min 0.8.0/src/matcher/matcher_impl.rs
    51
    #[allow(clippy::trivially_copy_pass_by_ref)]
    52
    pub(super) fn match_into_map<'a, 'b: 'a>(
    59
    #[allow(clippy::trivially_copy_pass_by_ref)]
    60
    pub(super) fn match_into_vec<'a, 'b: 'a>(
  • yew-router-nested 0.16.1/src/matcher/matcher_impl.rs
    51
    #[allow(clippy::trivially_copy_pass_by_ref)]
    52
    pub(super) fn match_into_map<'a, 'b: 'a>(
    59
    #[allow(clippy::trivially_copy_pass_by_ref)]
    60
    pub(super) fn match_into_vec<'a, 'b: 'a>(
  • zengine_ecs 0.1.2/src/event.rs
    115
        /// with the given SubscriptionToken
    116
        #[allow(clippy::trivially_copy_pass_by_ref)]
    117
        pub fn read(&self, token: &SubscriptionToken) -> impl Iterator<Item = &E> {
  • zenoh 0.7.0-rc/src/net/routing/face.rs
    68
        #[inline]
    69
        #[allow(clippy::trivially_copy_pass_by_ref)]
    70
        pub(super) fn get_mapping(&self, prefixid: &ZInt) -> Option<&std::sync::Arc<Resource>> {
  • zenoh 0.7.0-rc/src/net/routing/router.rs
    107
        #[inline]
    108
        #[allow(clippy::trivially_copy_pass_by_ref)]
    109
        pub(crate) fn get_mapping<'a>(
  • zenoh-router 0.5.0-beta.7/src/routing/broker.rs
    146
        #[allow(clippy::trivially_copy_pass_by_ref)]
    147
        pub(crate) fn get_mapping<'a>(
  • zenoh-router 0.5.0-beta.7/src/routing/face.rs
    58
        #[allow(clippy::trivially_copy_pass_by_ref)]
    59
        pub(super) fn get_mapping(&self, prefixid: &ZInt) -> Option<&std::sync::Arc<Resource>> {
  • alt_serde_derive 1.0.119/src/lib.rs
    25
        clippy::too_many_arguments,
    26
        clippy::trivially_copy_pass_by_ref,
    27
        clippy::used_underscore_binding,
  • amadeus-types 0.4.3/src/time.rs
    3
    #![allow(clippy::trivially_copy_pass_by_ref)]
  • ascii 1.1.0/src/lib.rs
    52
    // for compatibility with methods on char and u8
    53
    #![allow(clippy::trivially_copy_pass_by_ref)]
    54
    // In preparation for feature `unsafe_block_in_unsafe_fn` (https://github.com/rust-lang/rust/issues/71668)
  • ash 0.37.2+1.3.238/src/device.rs
    1
    #![allow(clippy::trivially_copy_pass_by_ref)]
    2
    use crate::prelude::*;
  • askama_shared 0.12.2/src/filters/mod.rs
    5
    //! For more information, read the [book](https://djc.github.io/askama/filters.html).
    6
    #![allow(clippy::trivially_copy_pass_by_ref)]
  • async-graphql 5.0.5/src/lib.rs
    177
    #![warn(missing_docs)]
    178
    #![allow(clippy::trivially_copy_pass_by_ref)]
    179
    #![allow(clippy::upper_case_acronyms)]
  • async-resol-vbus 0.1.0/src/lib.rs
    82
    #![allow(clippy::needless_pass_by_value)]
    83
    #![allow(clippy::trivially_copy_pass_by_ref)]
    84
    #![allow(clippy::write_with_newline)]
  • async-trait 0.1.64/tests/test.rs
    10
        clippy::needless_return,
    11
        clippy::trivially_copy_pass_by_ref,
    12
        clippy::unused_async
  • async-trait-fn 0.1.64/tests/test.rs
    10
        clippy::needless_return,
    11
        clippy::trivially_copy_pass_by_ref,
    12
        clippy::unused_async
  • blinkt 0.7.0/src/lib.rs
    146
    #![doc(html_root_url = "https://docs.rs/blinkt/0.7.0")]
    147
    #![allow(clippy::trivially_copy_pass_by_ref)]
  • bmp085-driver 0.1.4/src/lib.rs
    20
    #![deny(missing_docs)]
    21
    #![allow(clippy::trivially_copy_pass_by_ref, clippy::new_ret_no_self)]
  • broker-tokio 0.2.16/src/time/instant.rs
    1
    #![allow(clippy::trivially_copy_pass_by_ref)]
  • cargo-expand 1.0.40/src/main.rs
    13
        clippy::too_many_lines,
    14
        clippy::trivially_copy_pass_by_ref
    15
    )]
  • chinillaclvm_tools_rs 0.1.25/src/classic/platform/argparse.rs
    3
        clippy::redundant_clone,
    4
        clippy::trivially_copy_pass_by_ref
    5
    )]
  • chrono-wasi 0.4.11/src/lib.rs
    400
            redundant_field_names,
    401
            trivially_copy_pass_by_ref,
    402
        )
  • chrono-wasi07 0.4.10/src/lib.rs
    400
            redundant_field_names,
    401
            trivially_copy_pass_by_ref,
    402
        )
  • ckb-sentry-types 0.21.0/src/protocol/v7.rs
    6
    //! to similar values on the rust side.
    7
    #![allow(clippy::trivially_copy_pass_by_ref)]
  • clvm_tools_rs 0.1.30/src/classic/platform/argparse.rs
    3
        clippy::redundant_clone,
    4
        clippy::trivially_copy_pass_by_ref
    5
    )]
  • coarsetime 0.1.22/src/lib.rs
    24
    #![allow(clippy::trivially_copy_pass_by_ref)]
    25
    #![cfg_attr(feature = "nightly", feature(test))]
  • coarsetime-saturated 0.1.21/src/lib.rs
    24
    #![allow(clippy::trivially_copy_pass_by_ref)]
    25
    #![cfg_attr(feature = "nightly", feature(test))]
  • colorous 1.0.9/src/lib.rs
    283
        clippy::shadow_unrelated,
    284
        clippy::trivially_copy_pass_by_ref,
    285
        clippy::unreadable_literal
  • constellation-internal 0.2.0-alpha.2/src/lib.rs
    14
    	clippy::or_fun_call,
    15
    	clippy::trivially_copy_pass_by_ref,
    16
    	clippy::option_option,
  • db-dump-concat 0.1.1/main.rs
    23
        clippy::too_many_lines,
    24
        clippy::trivially_copy_pass_by_ref
    25
    )]
  • derivative 2.2.0/tests/derive-clone.rs
    1
    #![allow(clippy::blacklisted_name, clippy::redundant_clone, clippy::trivially_copy_pass_by_ref)]
  • derivative 2.2.0/tests/derive-ord-packed.rs
    3
    #![allow(clippy::cognitive_complexity)]
    4
    #![allow(clippy::trivially_copy_pass_by_ref)]
    5
    #![allow(clippy::unknown_clippy_lints)]
  • derivative 2.2.0/tests/derive-ord.rs
    3
    #![allow(clippy::cognitive_complexity)]
    4
    #![allow(clippy::trivially_copy_pass_by_ref)]
    5
    #![allow(clippy::unknown_clippy_lints)]
  • derivative 2.2.0/tests/derive-partial-eq-packed.rs
    1
    #![allow(clippy::eq_op, clippy::trivially_copy_pass_by_ref)]
  • derivative 2.2.0/tests/derive-partial-eq.rs
    1
    #![allow(clippy::eq_op, clippy::trivially_copy_pass_by_ref, dead_code)]
  • directx_math 0.2.2/src/lib.rs
    86
    #![allow(clippy::transmute_ptr_to_ptr)]
    87
    #![allow(clippy::trivially_copy_pass_by_ref)]
    88
    #![allow(clippy::many_single_char_names)]
  • druid-shell 0.8.0/src/keyboard.rs
    18
    // bitflags implementation of the inner Modifiers type.
    19
    #![allow(clippy::trivially_copy_pass_by_ref)]
  • efuse 0.1.0/src/lib.rs
    27
    #![deny(missing_docs)]
    28
    #![allow(clippy::trivially_copy_pass_by_ref)]
    29
    #![allow(clippy::derive_hash_xor_eq)]
  • egui-ark 0.38.1-pre.15/src/lib.rs
    3
    // crate-specific exceptions:
    4
    #![allow(clippy::trivially_copy_pass_by_ref)] // for &ark::applet::Applet
  • emo 0.5.2/src/lua_funcs.rs
    1
    #![allow(clippy::trivially_copy_pass_by_ref)]
    2
    use crate::prelude::*;
  • emo 0.5.2/src/lua_request.rs
    1
    #![allow(clippy::trivially_copy_pass_by_ref)]
    2
    use crate::prelude::*;
  • eosio 0.3.1/src/lib.rs
    28
        clippy::module_inception,
    29
        clippy::trivially_copy_pass_by_ref
    30
    )]
  • eosio_core 0.2.1/src/lib.rs
    28
        clippy::module_name_repetitions,
    29
        clippy::trivially_copy_pass_by_ref
    30
    )]
  • esr 0.1.0/src/lib.rs
    1
    #![recursion_limit="128"]
    2
    #![cfg_attr(feature = "cargo-clippy", allow(trivially_copy_pass_by_ref))]
  • exonum 1.0.0/benches/criterion/crypto.rs
    16
    // to `ParameterizedBenchmark::new()`.
    17
    #![allow(clippy::trivially_copy_pass_by_ref)]
  • exonum-node 1.0.0/benches/transactions.rs
    16
    // to `ParameterizedBenchmark::new()`.
    17
    #![allow(clippy::trivially_copy_pass_by_ref)]
  • fitsio-sys-bindgen 0.0.6/src/lib.rs
    63
        clippy::useless_transmute,
    64
        clippy::trivially_copy_pass_by_ref,
    65
        clippy::too_many_arguments,
  • frosty 0.0.3/src/time/instant.rs
    1
    #![allow(clippy::trivially_copy_pass_by_ref)]
  • gear 0.7.0/src/funcs.rs
    15
    */
    16
    #![allow(clippy::trivially_copy_pass_by_ref, clippy::ptr_arg)]
  • gear 0.7.0/src/ik.rs
    15
    */
    16
    #![allow(clippy::trivially_copy_pass_by_ref)]
  • gear 0.7.0/src/planner/ik_planner.rs
    15
    */
    16
    #![allow(clippy::trivially_copy_pass_by_ref)]
    17
    use super::joint_path_planner::JointPathPlanner;
  • gfx_glow 0.11.6/src/lib.rs
    2
    #![allow(clippy::too_many_arguments)]
    3
    #![allow(clippy::trivially_copy_pass_by_ref)]
    4
    #![allow(clippy::unreadable_literal)]
  • glow 0.12.0/src/lib.rs
    2
    #![allow(clippy::too_many_arguments)]
    3
    #![allow(clippy::trivially_copy_pass_by_ref)]
    4
    #![allow(clippy::unreadable_literal)]
  • himpi-sys 0.1.21/src/lib.rs
    14
    #![allow(clippy::transmute_ptr_to_ptr)]
    15
    #![allow(clippy::trivially_copy_pass_by_ref)]
    16
    #![allow(clippy::unreadable_literal)]
  • imageproc 0.23.0/src/lib.rs
    19
        clippy::range_plus_one,
    20
        clippy::trivially_copy_pass_by_ref,
    21
        clippy::nonminimal_bool,
  • imageproc-patched 0.22.0-unofficial.1-foresterre/src/lib.rs
    19
        clippy::range_plus_one,
    20
        clippy::trivially_copy_pass_by_ref,
    21
        clippy::nonminimal_bool,
  • indoc 2.0.0/src/lib.rs
    129
        clippy::needless_pass_by_value,
    130
        clippy::trivially_copy_pass_by_ref,
    131
        clippy::type_complexity
  • kai 0.7.0/src/lib.rs
    485
    pub mod close {
    486
        #![allow(clippy::trivially_copy_pass_by_ref)]
    487
        /// Check if two `f32`s are close enough to be considered equal
  • kayrx-timer 0.1.1/src/instant.rs
    1
    #![allow(clippy::trivially_copy_pass_by_ref)]
  • laminar 0.5.0/src/lib.rs
    22
    #![warn(missing_docs)]
    23
    #![allow(clippy::trivially_copy_pass_by_ref)]
  • libhydrogen 0.4.1/src/lib.rs
    1
    #![allow(clippy::trivially_copy_pass_by_ref)]
    2
    use libhydrogen_sys as ffi;
  • lignin 0.1.0/src/lib.rs
    526
    	#![allow(clippy::inline_always)] // Trivial bit manipulation.
    527
    	#![allow(clippy::trivially_copy_pass_by_ref)] // Erased by inlining.
  • linkme 0.3.7/tests/fn_element.rs
    1
    #![cfg_attr(feature = "used_linker", feature(used_with_arg))]
    2
    #![allow(clippy::needless_lifetimes, clippy::trivially_copy_pass_by_ref)]
  • livesplit-core 0.13.0/src/hotkey_config.rs
    1
    #![allow(clippy::trivially_copy_pass_by_ref)]
  • mach 0.3.2/src/lib.rs
    11
        clippy::cast_possible_truncation,
    12
        clippy::trivially_copy_pass_by_ref
    13
    )]
  • mach2 0.4.1/src/lib.rs
    8
        clippy::cast_possible_truncation,
    9
        clippy::trivially_copy_pass_by_ref
    10
    )]
  • monoio 0.0.9/src/time/instant.rs
    1
    #![allow(clippy::trivially_copy_pass_by_ref)]
  • ncursesw 0.6.4/src/normal/attributes.rs
    23
    #![allow(deprecated)]
    24
    #![allow(clippy::trivially_copy_pass_by_ref)]
    25
    #![allow(clippy::from_over_into)]
  • ncursesw 0.6.4/src/softlabeltype.rs
    23
    #![allow(clippy::trivially_copy_pass_by_ref)]
  • ntapi 0.4.0/src/lib.rs
    12
    #![warn(unused_attributes)]
    13
    #![allow(bad_style, deprecated, overflowing_literals, unused_macros, clippy::cast_lossless, clippy::cast_ptr_alignment, clippy::len_without_is_empty, clippy::trivially_copy_pass_by_ref, clippy::unreadable_literal)]
    14
    #[doc(hidden)]
  • nuki 0.6.3/src/lib.rs
    4
    #![cfg_attr(feature = "cargo-clippy", allow(too_many_arguments))] // API requirement
    5
    #![cfg_attr(feature = "cargo-clippy", allow(trivially_copy_pass_by_ref))] // API requirement
    6
    #![cfg_attr(feature = "cargo-clippy", allow(cast_ptr_alignment))] // required by allocator
  • nuklear-rust 0.6.3/src/lib.rs
    4
    #![cfg_attr(feature = "cargo-clippy", allow(too_many_arguments))] // API requirement
    5
    #![cfg_attr(feature = "cargo-clippy", allow(trivially_copy_pass_by_ref))] // API requirement
    6
    #![cfg_attr(feature = "cargo-clippy", allow(cast_ptr_alignment))] // required by allocator
  • openrr-planner 0.0.7/src/funcs.rs
    15
    */
    16
    #![allow(clippy::trivially_copy_pass_by_ref, clippy::ptr_arg)]
  • openrr-planner 0.0.7/src/ik.rs
    15
    */
    16
    #![allow(clippy::trivially_copy_pass_by_ref)]
  • openrr-planner 0.0.7/src/planner/ik_planner.rs
    15
    */
    16
    #![allow(clippy::trivially_copy_pass_by_ref)]
    17
    use k::nalgebra as na;
  • pg-extend 0.2.1/src/pg_sys.rs
    13
    #![allow(clippy::useless_transmute)]
    14
    #![allow(clippy::trivially_copy_pass_by_ref)]
    15
    #![allow(clippy::cast_lossless)]
  • proc-macro0 1.0.40-dev.1/src/lib.rs
    10
        clippy::shadow_unrelated,
    11
        clippy::trivially_copy_pass_by_ref,
    12
        clippy::unnecessary_wraps,
  • proc-macro2 1.0.50/src/lib.rs
    105
        clippy::shadow_unrelated,
    106
        clippy::trivially_copy_pass_by_ref,
    107
        clippy::unnecessary_wraps,
  • py-spy 0.3.14/src/python_bindings/v2_7_15.rs
    8
    #![allow(clippy::cast_lossless)]
    9
    #![allow(clippy::trivially_copy_pass_by_ref)]
  • py-spy 0.3.14/src/python_bindings/v3_10_0.rs
    8
    #![allow(clippy::cast_lossless)]
    9
    #![allow(clippy::trivially_copy_pass_by_ref)]
  • py-spy 0.3.14/src/python_bindings/v3_11_0.rs
    8
    #![allow(clippy::cast_lossless)]
    9
    #![allow(clippy::trivially_copy_pass_by_ref)]
  • py-spy 0.3.14/src/python_bindings/v3_3_7.rs
    8
    #![allow(clippy::cast_lossless)]
    9
    #![allow(clippy::trivially_copy_pass_by_ref)]
  • py-spy 0.3.14/src/python_bindings/v3_4_8.rs
    8
    #![allow(clippy::cast_lossless)]
    9
    #![allow(clippy::trivially_copy_pass_by_ref)]
  • py-spy 0.3.14/src/python_bindings/v3_5_5.rs
    8
    #![allow(clippy::cast_lossless)]
    9
    #![allow(clippy::trivially_copy_pass_by_ref)]
  • py-spy 0.3.14/src/python_bindings/v3_6_6.rs
    8
    #![allow(clippy::cast_lossless)]
    9
    #![allow(clippy::trivially_copy_pass_by_ref)]
  • py-spy 0.3.14/src/python_bindings/v3_7_0.rs
    8
    #![allow(clippy::cast_lossless)]
    9
    #![allow(clippy::trivially_copy_pass_by_ref)]
  • py-spy 0.3.14/src/python_bindings/v3_8_0.rs
    8
    #![allow(clippy::cast_lossless)]
    9
    #![allow(clippy::trivially_copy_pass_by_ref)]
  • py-spy 0.3.14/src/python_bindings/v3_9_5.rs
    8
    #![allow(clippy::cast_lossless)]
    9
    #![allow(clippy::trivially_copy_pass_by_ref)]
  • py-spy-for-datakit 0.3.15/src/python_bindings/v2_7_15.rs
    8
    #![allow(clippy::cast_lossless)]
    9
    #![allow(clippy::trivially_copy_pass_by_ref)]
  • py-spy-for-datakit 0.3.15/src/python_bindings/v3_10_0.rs
    8
    #![allow(clippy::cast_lossless)]
    9
    #![allow(clippy::trivially_copy_pass_by_ref)]
  • py-spy-for-datakit 0.3.15/src/python_bindings/v3_11_0.rs
    8
    #![allow(clippy::cast_lossless)]
    9
    #![allow(clippy::trivially_copy_pass_by_ref)]
  • py-spy-for-datakit 0.3.15/src/python_bindings/v3_3_7.rs
    8
    #![allow(clippy::cast_lossless)]
    9
    #![allow(clippy::trivially_copy_pass_by_ref)]
  • py-spy-for-datakit 0.3.15/src/python_bindings/v3_4_8.rs
    8
    #![allow(clippy::cast_lossless)]
    9
    #![allow(clippy::trivially_copy_pass_by_ref)]
  • py-spy-for-datakit 0.3.15/src/python_bindings/v3_5_5.rs
    8
    #![allow(clippy::cast_lossless)]
    9
    #![allow(clippy::trivially_copy_pass_by_ref)]
  • py-spy-for-datakit 0.3.15/src/python_bindings/v3_6_6.rs
    8
    #![allow(clippy::cast_lossless)]
    9
    #![allow(clippy::trivially_copy_pass_by_ref)]
  • py-spy-for-datakit 0.3.15/src/python_bindings/v3_7_0.rs
    8
    #![allow(clippy::cast_lossless)]
    9
    #![allow(clippy::trivially_copy_pass_by_ref)]
  • py-spy-for-datakit 0.3.15/src/python_bindings/v3_8_0.rs
    8
    #![allow(clippy::cast_lossless)]
    9
    #![allow(clippy::trivially_copy_pass_by_ref)]
  • py-spy-for-datakit 0.3.15/src/python_bindings/v3_9_5.rs
    8
    #![allow(clippy::cast_lossless)]
    9
    #![allow(clippy::trivially_copy_pass_by_ref)]
  • reflect 0.0.9/src/lib.rs
    330
        clippy::return_self_not_must_use,
    331
        clippy::trivially_copy_pass_by_ref,
    332
        clippy::unused_self,
  • relative 0.2.2/src/lib.rs
    60
    	clippy::inline_always,
    61
    	clippy::trivially_copy_pass_by_ref,
    62
    	clippy::must_use_candidate
  • remoteprocess 0.4.11/src/freebsd/kinfo_proc.rs
    9
    #![allow(clippy::cast_lossless)]
    10
    #![allow(clippy::trivially_copy_pass_by_ref)]
  • remoteprocess 0.4.11/src/linux/libunwind/bindings_arm.rs
    11
    #![allow(clippy::cast_lossless)]
    12
    #![allow(clippy::trivially_copy_pass_by_ref)]
  • remoteprocess 0.4.11/src/linux/libunwind/bindings_x86_64.rs
    11
    #![allow(clippy::cast_lossless)]
    12
    #![allow(clippy::trivially_copy_pass_by_ref)]
  • remoteprocess 0.4.11/src/osx/mach_thread_bindings.rs
    14
    #![allow(clippy::cast_lossless)]
    15
    #![allow(clippy::trivially_copy_pass_by_ref)]
  • resol-vbus 0.2.1/src/lib.rs
    134
    #![allow(clippy::needless_pass_by_value)]
    135
    #![allow(clippy::trivially_copy_pass_by_ref)]
    136
    #![allow(clippy::write_with_newline)]
  • rubble 0.0.4/src/lib.rs
    27
    // The claims of this lint are dubious, disable it
    28
    #![allow(clippy::trivially_copy_pass_by_ref)]
  • safe-proc-macro2 1.0.36/src/lib.rs
    100
        clippy::shadow_unrelated,
    101
        clippy::trivially_copy_pass_by_ref,
    102
        clippy::unnecessary_wraps,
  • serde_derive 1.0.152/src/lib.rs
    31
        clippy::too_many_arguments,
    32
        clippy::trivially_copy_pass_by_ref,
    33
        clippy::used_underscore_binding,
  • serde_derive_internals 0.26.0/lib.rs
    12
        clippy::should_implement_trait,
    13
        clippy::trivially_copy_pass_by_ref,
    14
        clippy::wildcard_in_or_patterns,
  • serde_derive_state 0.4.10/src/lib.rs
    25
        clippy::too_many_arguments,
    26
        clippy::trivially_copy_pass_by_ref,
    27
        clippy::used_underscore_binding,
  • syn 1.0.107/src/lib.rs
    286
        clippy::too_many_lines,
    287
        clippy::trivially_copy_pass_by_ref,
    288
        clippy::unnecessary_unwrap,
  • syn-impersonated 0.1.18/src/lib.rs
    259
        clippy::too_many_arguments,
    260
        clippy::trivially_copy_pass_by_ref
    261
    )]
  • syn-next 1.0.0-rc4/src/lib.rs
    258
        clippy::too_many_arguments,
    259
        clippy::trivially_copy_pass_by_ref
    260
    )]
  • syn-pub-items 0.15.30/src/gen/visit.rs
    3
    #![cfg_attr(feature = "cargo-clippy", allow(trivially_copy_pass_by_ref))]
    4
    #[cfg(any(feature = "full", feature = "derive"))]
  • taml 0.0.11/src/lib.rs
    5
    	clippy::semicolon_if_nothing_returned,
    6
    	clippy::trivially_copy_pass_by_ref
    7
    )]
  • tokio 1.25.0/src/time/instant.rs
    1
    #![allow(clippy::trivially_copy_pass_by_ref)]
  • tokio_wasi 1.23.0/src/time/instant.rs
    1
    #![allow(clippy::trivially_copy_pass_by_ref)]
  • trybuild 1.0.77/src/lib.rs
    228
        clippy::too_many_lines,
    229
        clippy::trivially_copy_pass_by_ref,
    230
        clippy::unused_self,
  • trybuild2 1.0.0/src/lib.rs
    238
        clippy::too_many_lines,
    239
        clippy::trivially_copy_pass_by_ref,
    240
        clippy::unused_self
  • tulip-derivative 2.2.1/tests/derive-clone.rs
    1
    #![allow(clippy::blacklisted_name, clippy::redundant_clone, clippy::trivially_copy_pass_by_ref)]
  • tulip-derivative 2.2.1/tests/derive-ord-packed.rs
    3
    #![allow(clippy::cognitive_complexity)]
    4
    #![allow(clippy::trivially_copy_pass_by_ref)]
    5
    #![allow(clippy::unknown_clippy_lints)]
  • tulip-derivative 2.2.1/tests/derive-ord.rs
    3
    #![allow(clippy::cognitive_complexity)]
    4
    #![allow(clippy::trivially_copy_pass_by_ref)]
    5
    #![allow(clippy::unknown_clippy_lints)]
  • tulip-derivative 2.2.1/tests/derive-partial-eq-packed.rs
    1
    #![allow(clippy::eq_op, clippy::trivially_copy_pass_by_ref)]
  • tulip-derivative 2.2.1/tests/derive-partial-eq.rs
    1
    #![allow(clippy::eq_op, clippy::trivially_copy_pass_by_ref, dead_code)]
  • unindent 0.2.0/src/lib.rs
    52
        clippy::must_use_candidate,
    53
        clippy::trivially_copy_pass_by_ref,
    54
        clippy::type_complexity
  • vapoursynth 0.4.0/src/lib.rs
    164
    #![allow(unused, dead_code)]
    165
    #![allow(clippy::trivially_copy_pass_by_ref)]
  • vkcargo 0.45.1/src/cargo/lib.rs
    25
    // less clear and harder to read.
    26
    #![allow(clippy::trivially_copy_pass_by_ref)]
    27
    // exhaustively destructuring ensures future fields are handled
  • wf2_core 0.31.0/src/lib.rs
    86
    #![allow(
    87
        clippy::trivially_copy_pass_by_ref,
    88
        clippy::float_cmp,
  • wpilib-sys 0.4.0/src/bindings.rs
    14
    #![allow(clippy::cast_lossless)]
    15
    #![allow(clippy::trivially_copy_pass_by_ref)]
  • 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)]