• abstalg 0.1.6/src/matrix_ring.rs
    17
    #[allow(clippy::len_without_is_empty)]
    18
    impl<A> MatrixRing<A>
  • abstalg 0.1.6/src/vector_algebra.rs
    17
    #[allow(clippy::len_without_is_empty)]
    18
    impl<A> VectorAlgebra<A>
  • accessor 0.3.3/src/array.rs
    76
    }
    77
    #[allow(clippy::len_without_is_empty)] // Array is never empty.
    78
    impl<T, M, A> Generic<T, M, A>
  • actyx_sdk 0.3.0/src/tags.rs
    98
    #[allow(clippy::len_without_is_empty)]
    99
    impl Tag {
  • advantage 0.1.0/src/function.rs
    82
    #[allow(clippy::len_without_is_empty)]
    83
    impl FunctionChain {
  • aether_primitives 0.1.0/src/fft.rs
    41
    /// FFT and input must be the same length
    42
    #[allow(clippy::len_without_is_empty)]
    43
    pub trait Fft {
  • aftermath 1.1.3/src/eval.rs
    283
        #[must_use]
    284
        #[allow(clippy::len_without_is_empty)]
    285
        pub fn len(&self) -> usize {
  • agb 0.13.0/src/save/mod.rs
    161
        #[must_use]
    162
        #[allow(clippy::len_without_is_empty)] // is_empty() would always be false
    163
        pub fn len(&self) -> usize {
    238
        #[must_use]
    239
        #[allow(clippy::len_without_is_empty)] // is_empty() would always be false
    240
        pub fn len(&self) -> usize {
  • alacritty_terminal 0.17.0/src/grid/row.rs
    115
    #[allow(clippy::len_without_is_empty)]
    116
    impl<T> Row<T> {
  • alkyne 0.1.0/src/eval/value/seq.rs
    37
    /// For example, `[T]` implements this trait.
    38
    #[allow(clippy::len_without_is_empty)]
    39
    pub trait Seq {
  • aluvm 0.9.0/src/data/number.rs
    651
        #[inline]
    652
        #[allow(clippy::len_without_is_empty)]
    653
        pub fn len(&self) -> u16 { self.layout.bytes() }
  • amadeus-core 0.4.3/src/file.rs
    208
    }
    209
    #[allow(clippy::len_without_is_empty)]
    210
    pub trait Page {
    280
    }
    281
    #[allow(clippy::len_without_is_empty)]
    282
    impl<P> Reader<P>
  • angsd-saf 0.1.0/src/record.rs
    103
        /// This correspond to the number of likelihoods in the band.
    104
        #[allow(clippy::len_without_is_empty)]
    105
        pub fn len(&self) -> usize {
  • anni-flac 0.2.2/src/header.rs
    468
        #[allow(clippy::len_without_is_empty)]
    469
        pub fn len(&self) -> usize {
  • arae 0.2.0/src/lib.rs
    107
    /// [`Sequence`]: trait.Sequence.html
    108
    #[allow(clippy::len_without_is_empty)]
    109
    pub trait Bounded<T>: Sequence<T> {
  • arcon_state 0.2.1/src/backend/handles.rs
    390
        #[inline]
    391
        #[allow(clippy::len_without_is_empty)]
    392
        pub fn len(&self) -> Result<usize> {
    395
        #[inline]
    396
        #[allow(clippy::len_without_is_empty)]
    397
        pub fn is_empty(&self) -> Result<bool> {
    427
        #[inline]
    428
        #[allow(clippy::len_without_is_empty)]
    429
        pub fn is_empty(&self) -> Result<bool> {
    432
        #[inline]
    433
        #[allow(clippy::len_without_is_empty)]
    434
        pub fn len(&self) -> Result<usize> {
  • arrow-data 32.0.0/src/data.rs
    1764
        #[inline]
    1765
        #[allow(clippy::len_without_is_empty)]
    1766
        pub const fn len(mut self, n: usize) -> Self {
  • asdi 0.2.5/src/idb/query/relational.rs
    877
    #[allow(clippy::len_without_is_empty)]
    878
    impl Projection {
    953
    #[allow(clippy::len_without_is_empty)]
    954
    impl Selection {
  • asefile 0.3.5/src/tileset.rs
    266
        /// Number of entries.
    267
        #[allow(clippy::len_without_is_empty)]
    268
        pub fn len(&self) -> u32 {
  • asparit 0.1.0/src/core/producer.rs
    60
    /// [20671]: https://github.com/rust-lang/rust/issues/20671
    61
    #[allow(clippy::len_without_is_empty)]
    62
    pub trait IndexedProducer: WithSetup + Send + Sized {
  • async-std 1.12.0/src/stream/exact_size_stream.rs
    77
    /// ```
    78
    #[allow(clippy::len_without_is_empty)] // ExactSizeIterator::is_empty is unstable
    79
    #[cfg(feature = "unstable")]
  • atglib 0.2.0/src/models/codon.rs
    212
        ///
    213
        #[allow(clippy::len_without_is_empty)]
    214
        pub fn len(&self) -> u32 {
  • atsamd-hal 0.15.1/src/sercom/spi_future.rs
    206
    /// Trait used to verify the [`SpiFuture`] buffer length
    207
    #[allow(clippy::len_without_is_empty)]
    208
    pub trait CheckBufLen: AnySpi {
  • backroll_transport 0.2.0/src/peers.rs
    30
        /// Gets the number of active connections managed by it.
    31
        #[allow(clippy::len_without_is_empty)]
    32
        pub fn len(&self) -> usize {
  • base64ct 1.5.3/src/line_ending.rs
    38
    #[allow(clippy::len_without_is_empty)]
    39
    impl LineEnding {
  • bed-reader 0.2.29/src/lib.rs
    3396
        /// Returns the number of elements in an [`Index`](enum.Index.html).
    3397
        #[allow(clippy::len_without_is_empty)]
    3398
        pub fn len(&self, count: usize) -> Result<usize, BedErrorPlus> {
  • bee-block 1.0.1/src/address/alias.rs
    15
    #[allow(clippy::len_without_is_empty)]
    16
    impl AliasAddress {
  • bee-block 1.0.1/src/address/nft.rs
    15
    #[allow(clippy::len_without_is_empty)]
    16
    impl NftAddress {
  • bee-block 1.0.1/src/parent.rs
    29
    #[allow(clippy::len_without_is_empty)]
    30
    impl Parents {
  • bee-message 0.2.0/src/address/ed25519.rs
    22
    #[allow(clippy::len_without_is_empty)]
    23
    impl Ed25519Address {
  • bee-message 0.2.0/src/parents.rs
    34
    #[allow(clippy::len_without_is_empty)]
    35
    impl Parents {
  • bee-ternary 1.0.0/src/raw.rs
    8
    /// A trait to be implemented by alternative trit encoding scheme slices.
    9
    #[allow(clippy::len_without_is_empty)]
    10
    #[allow(clippy::missing_safety_doc)]
  • bellframe 0.11.5/src/call.rs
    18
    // invariant.
    19
    #[allow(clippy::len_without_is_empty)]
    20
    impl Call {
  • bellframe 0.11.5/src/place_not.rs
    416
    // PnBlocks can't have zero length, so `is_empty` is unnecessary
    417
    #[allow(clippy::len_without_is_empty)]
    418
    impl PnBlock {
  • bevy_asset 0.9.1/src/reflect.rs
    115
        /// Equivalent of [`Assets::len`]
    116
        #[allow(clippy::len_without_is_empty)] // clippy expects the `is_empty` method to have the signature `(&self) -> bool`
    117
        pub fn len(&self, world: &World) -> usize {
  • bevy-atlas-loader 0.1.0/src/lib.rs
    113
        /// Saves you from a lookup into `Asset<TextureAtlas>`.
    114
        #[allow(clippy::len_without_is_empty)]
    115
        pub fn len<B: std::borrow::Borrow<T>>(&self, index: B) -> usize {
  • bevy_ecs 0.9.1/src/event.rs
    339
    #[allow(clippy::len_without_is_empty)] // Check fails since the is_empty implementation has a signature other than `(&self) -> bool`
    340
    impl<E: Event> ManualEventReader<E> {
  • binary-stream 3.3.2/src/lib.rs
    56
    /// Trait for streams that can seek.
    57
    #[allow(clippy::len_without_is_empty)]
    58
    pub trait SeekStream {
  • bitcoin 0.29.2/src/consensus/encode.rs
    405
    #[allow(clippy::len_without_is_empty)] // VarInt has on concept of 'is_empty'.
    406
    impl VarInt {
  • bitcoin_slices 0.4.3/src/visit.rs
    8
    /// eg `TxOuts(&[0u8])` is considered empty because there are no tx outputs but is not an empty slice.
    9
    #[allow(clippy::len_without_is_empty)]
    10
    pub trait Parse<'a>: Sized + AsRef<[u8]> {
    22
    /// while consuming the slice it calls methods on the provided visitor.
    23
    #[allow(clippy::len_without_is_empty)]
    24
    pub trait Visit<'a>: Sized + AsRef<[u8]> {
  • bitcoincash 0.29.2/src/consensus/encode.rs
    405
    #[allow(clippy::len_without_is_empty)] // VarInt has on concept of 'is_empty'.
    406
    impl VarInt {
  • bitstring 0.1.2/src/bit_length_string.rs
    52
    	/// [`BitString::len()`](bit_string/trait.BitString.html#tymethod.len))
    53
    	#[allow(clippy::len_without_is_empty)]
    54
    	pub fn len(&self) -> usize {
  • bitstring 0.1.2/src/bit_string/traits.rs
    22
    /// bits or change the length.
    23
    #[allow(clippy::len_without_is_empty)]
    24
    pub trait BitString {
    48
    	/// Current length of the bit string in bits.
    49
    	#[allow(clippy::len_without_is_empty)]
    50
    	fn len(&self) -> usize;
  • bl808-pac 0.0.0/src/generic.rs
    596
    }
    597
    #[allow(clippy::len_without_is_empty)]
    598
    impl<T, const C: usize, const S: usize> ArrayProxy<T, C, S> {
  • block-id 0.1.2/src/alphabet.rs
    59
        #[allow(clippy::len_without_is_empty)]
    60
        pub fn len(&self) -> u8 {
  • boring 2.1.0/src/derive.rs
    17
    #[allow(clippy::len_without_is_empty)]
    18
    impl<'a> Deriver<'a> {
  • boring 2.1.0/src/sign.rs
    93
    #[allow(clippy::len_without_is_empty)]
    94
    impl<'a> Signer<'a> {
  • boyer-moore-magiclen 0.2.16/src/byte.rs
    11
    #[allow(clippy::len_without_is_empty)]
    12
    pub trait BMByteSearchable {
  • boyer-moore-magiclen 0.2.16/src/character.rs
    10
    #[allow(clippy::len_without_is_empty)]
    11
    pub trait BMCharacterSearchable {
  • cannyls 0.10.0/src/storage/allocator/free_portion.rs
    18
    #[allow(clippy::len_without_is_empty)]
    19
    impl FreePortion {
  • cap-primitives 1.0.4/src/fs/metadata.rs
    24
    #[allow(clippy::len_without_is_empty)]
    25
    impl Metadata {
  • capstone 0.11.0/src/instruction.rs
    206
    #[allow(clippy::len_without_is_empty)]
    207
    impl<'a> Insn<'a> {
  • capsule 0.1.5/src/packets/mod.rs
    69
    /// ```
    70
    #[allow(clippy::len_without_is_empty)]
    71
    pub trait Packet {
  • cash_tx_builder 0.3.1/src/types/var_int.rs
    81
    #[allow(clippy::len_without_is_empty)]
    82
    impl VarInt {
  • causal-hub 0.1.0/src/data/ravel_multi_index.rs
    63
        /// Gets the maximum len of the associated one-dimensional axis.
    64
        #[allow(clippy::len_without_is_empty)]
    65
        #[inline]
  • causal-hub 0.1.0/src/utils/union_find.rs
    51
        ///
    52
        #[allow(clippy::len_without_is_empty)]
    53
        #[inline]
  • cec1712-pac 0.0.2/src/generic.rs
    590
    }
    591
    #[allow(clippy::len_without_is_empty)]
    592
    impl<T, const C: usize, const S: usize> ArrayProxy<T, C, S> {
  • cec1734-pac 0.0.22/src/generic.rs
    590
    }
    591
    #[allow(clippy::len_without_is_empty)]
    592
    impl<T, const C: usize, const S: usize> ArrayProxy<T, C, S> {
  • cec1736-pac 0.0.2/src/generic.rs
    590
    }
    591
    #[allow(clippy::len_without_is_empty)]
    592
    impl<T, const C: usize, const S: usize> ArrayProxy<T, C, S> {
  • ceres-solver 0.1.2/src/parameters.rs
    13
    #[allow(clippy::len_without_is_empty)]
    14
    impl Parameters {
  • cervo-core 0.4.0/src/batcher/scratch.rs
    217
        /// The batch size of this view.
    218
        #[allow(clippy::len_without_is_empty)]
    219
        pub fn len(&self) -> usize {
  • cge 0.1.1/src/network/mod.rs
    739
        /// Returns the number of [`Gene`]s in the `Network`.
    740
        #[allow(clippy::len_without_is_empty)]
    741
        pub fn len(&self) -> usize {
  • chd 0.2.3/src/chdfile.rs
    427
        #[allow(clippy::len_without_is_empty)]
    428
        /// Returns the length of this hunk in bytes.
  • chd 0.2.3/src/header.rs
    481
        /// Returns the length of the header.
    482
        #[allow(clippy::len_without_is_empty)]
    483
        pub fn len(&self) -> u32 {
  • chd 0.2.3/src/map.rs
    299
        /// Gets the number of entries in the CHD Map.
    300
        #[allow(clippy::len_without_is_empty)]
    301
        pub fn len(&self) -> usize {
  • chemfiles 0.10.3/src/selection.rs
    20
    #[allow(clippy::len_without_is_empty)]
    21
    impl Match {
  • chumsky 0.8.0/src/chain.rs
    21
    /// See [`Parser::chain`](super::Parser).
    22
    #[allow(clippy::len_without_is_empty)]
    23
    pub trait Chain<T>: private::Sealed<T> {
  • cidr 0.2.1/src/family.rs
    17
    	/// The length of an address (as bitstring) in the given family
    18
    	#[allow(clippy::len_without_is_empty)]
    19
    	pub fn len(&self) -> u8 {
  • citadel_crypt 0.3.0/src/toolset.rs
    168
        /// Returns the number of StackedRatchets internally
    169
        #[allow(clippy::len_without_is_empty)]
    170
        pub fn len(&self) -> usize {
  • citadel_pqcrypto 0.3.0/src/bytes_in_place.rs
    55
    #[allow(clippy::len_without_is_empty)]
    56
    pub trait EzBuffer: AsRef<[u8]> + AsMut<[u8]> + BufMut {
  • cogo-redis 0.1.0/src/bytes/buf/uninit_slice.rs
    140
        #[inline]
    141
        #[allow(clippy::len_without_is_empty)]
    142
        pub fn len(&self) -> usize {
  • condow_core 0.19.0-alpha.3/src/download_range.rs
    73
        /// ```
    74
        #[allow(clippy::len_without_is_empty)]
    75
        #[inline]
    180
        #[allow(clippy::len_without_is_empty)]
    181
        /// Returns the length of the range
  • conllx 0.12.1/src/graph.rs
    122
    #[allow(clippy::len_without_is_empty)]
    123
    impl Sentence {
    364
    #[allow(clippy::len_without_is_empty)]
    365
    impl<'a> DepGraph<'a> {
    430
    #[allow(clippy::len_without_is_empty)]
    431
    impl<'a> DepGraphMut<'a> {
  • consistency_model 0.0.0/src/linearizability.rs
    65
    #[allow(clippy::len_without_is_empty)] // no use case for an emptiness check
    66
    impl<T: Ord, RefObj: SequentialSpec> LinearizabilityTester<T, RefObj> {
  • consistency_model 0.0.0/src/sequential_consistency.rs
    53
    #[allow(clippy::len_without_is_empty)] // no use case for an emptiness check
    54
    impl<T: Ord, RefObj: SequentialSpec> SequentialConsistencyTester<T, RefObj> {
  • const-oid 0.9.1/src/lib.rs
    89
    #[allow(clippy::len_without_is_empty)]
    90
    impl ObjectIdentifier {
  • corstone300-pac 0.2.0/src/generic.rs
    602
    }
    603
    #[allow(clippy::len_without_is_empty)]
    604
    impl<T, const C: usize, const S: usize> ArrayProxy<T, C, S> {
  • cpal 0.15.0/src/lib.rs
    502
    #[allow(clippy::len_without_is_empty)]
    503
    impl Data {
  • crabmole 0.1.5/src/sort.rs
    160
    /// Implement this trait for type to unlock all the sorting methods in Go standard library.
    161
    #[allow(clippy::len_without_is_empty)]
    162
    pub trait Sort {
  • cust 0.3.2/src/memory/mod.rs
    101
    /// or a regular [`DeviceBuffer`].
    102
    #[allow(clippy::len_without_is_empty)]
    103
    pub trait GpuBuffer<T: DeviceCopy>: private::Sealed {
  • cw-asset 2.4.0/src/asset_list.rs
    197
        // it. Must be a clippy bug...
    198
        #[allow(clippy::len_without_is_empty)]
    199
        pub fn len(&self) -> usize {
  • cw-storage-plus 1.0.1/src/deque.rs
    94
        /// Gets the length of the deque.
    95
        #[allow(clippy::len_without_is_empty)]
    96
        pub fn len(&self, storage: &dyn Storage) -> StdResult<u32> {
  • d1-pac 0.0.31/src/generic.rs
    649
    }
    650
    #[allow(clippy::len_without_is_empty)]
    651
    impl<T, const C: usize, const S: usize> ArrayProxy<T, C, S> {
  • dangerous 0.10.0/src/error/expected/length.rs
    15
    #[allow(clippy::len_without_is_empty)]
    16
    impl<'i> ExpectedLength<'i> {
  • darling_core 0.14.2/src/error/mod.rs
    227
    /// Error instance methods
    228
    #[allow(clippy::len_without_is_empty)] // Error can never be empty
    229
    impl Error {
  • dbs-interrupt 0.2.1/src/lib.rs
    187
    /// interrupt source as a distinct InterruptSource.
    188
    #[allow(clippy::len_without_is_empty)]
    189
    pub trait InterruptSourceGroup: Send + Sync {
  • decoded-char 0.1.1/src/lib.rs
    58
    	#[inline(always)]
    59
    	#[allow(clippy::len_without_is_empty)]
    60
    	pub fn len(&self) -> usize {
  • den 0.3.0/src/lib.rs
    1043
        #[must_use]
    1044
        #[allow(clippy::len_without_is_empty)] // that's impossible
    1045
        pub fn len(self, block_size: usize) -> usize {
  • dicom-core 0.5.3/src/header.rs
    55
    /// A trait for a data type containing a DICOM header.
    56
    #[allow(clippy::len_without_is_empty)]
    57
    pub trait Header: HasLength {
  • diesel 2.0.3/src/connection/statement_cache.rs
    134
    #[allow(
    135
        clippy::len_without_is_empty,
    136
        clippy::new_without_default,
  • distant-net 0.20.0-alpha.3/src/common/transport/framed/codec/encryption/key.rs
    70
        /// Returns the length of the key
    71
        #[allow(clippy::len_without_is_empty)]
    72
        pub fn len(&self) -> usize {
    151
        /// Returns the length of the key
    152
        #[allow(clippy::len_without_is_empty)]
    153
        pub fn len(&self) -> usize {
  • divvunspell 1.0.0-beta.1/src/transducer/hfst/header.rs
    20
    #[allow(clippy::len_without_is_empty)]
    21
    impl TransducerHeader {
  • divvunspell 1.0.0-beta.1/src/transducer/hfst/index_table.rs
    30
    #[allow(clippy::len_without_is_empty)]
    31
    impl MappedIndexTable {
  • dnp3 1.3.0-rc3/src/app/measurement.rs
    632
    #[allow(clippy::len_without_is_empty)]
    633
    impl OctetString {
  • domain 0.7.1/src/base/name/traits.rs
    28
    /// [`ToRelativeDname`]: trait ToRelativeDname.html
    29
    #[allow(clippy::len_without_is_empty)]
    30
    pub trait ToLabelIter<'a> {
  • domain 0.7.1/src/base/opt/mod.rs
    470
    #[allow(clippy::len_without_is_empty)]
    471
    impl OptionHeader {
  • drill-press 0.1.1/src/lib.rs
    102
    #[allow(clippy::len_without_is_empty)] // Segments should never be zero length
    103
    impl Segment {
  • druid-shell 0.8.0/src/text.rs
    166
    #[allow(clippy::len_without_is_empty)]
    167
    impl Selection {
  • dynqueue 0.3.0/src/lib.rs
    90
    /// Everything implementing `Queue` can be handled by DynQueue
    91
    #[allow(clippy::len_without_is_empty)]
    92
    pub trait Queue<T>
  • ecdsa 0.16.0-pre.0/src/der.rs
    66
    #[allow(clippy::len_without_is_empty)]
    67
    impl<C> Signature<C>
  • ecdsa-flow 1.0.0/src/der.rs
    73
    #[allow(clippy::len_without_is_empty)]
    74
    impl<C> Signature<C>
  • egg 0.9.2/src/language.rs
    29
    /// See [`SymbolLang`] for quick-and-dirty use cases.
    30
    #[allow(clippy::len_without_is_empty)]
    31
    pub trait Language: Debug + Clone + Eq + Ord + Hash {
  • egui 0.20.1/src/util/cache.rs
    77
    #[allow(clippy::len_without_is_empty)]
    78
    pub trait CacheTrait: 'static + Send + Sync {
  • elastic-elgamal 0.2.1/src/app/choice.rs
    307
    #[allow(clippy::len_without_is_empty)] // `is_empty()` would always be false
    308
    impl<G: Group, S: ProveSum<G>> EncryptedChoice<G, S> {
  • electricui-cli 0.1.2/src/types.rs
    28
        #[allow(clippy::len_without_is_empty)]
    29
        pub fn len(&self) -> usize {
    252
        #[allow(clippy::len_without_is_empty)]
    253
        pub fn len(&self) -> usize {
    320
        #[allow(clippy::len_without_is_empty)]
    321
        pub fn len(&self) -> usize {
    360
        #[allow(clippy::len_without_is_empty)]
    361
        pub fn len(&self) -> usize {
  • electricui-embedded 0.1.5/src/message.rs
    53
        #[allow(clippy::len_without_is_empty)]
    54
        pub fn len(&self) -> usize {
  • elliptic-curve-flow 1.0.0/src/sec1/encoded_point.rs
    55
    #[allow(clippy::len_without_is_empty)]
    56
    impl<C> EncodedPoint<C>
  • embassy-boot 0.1.1/src/lib.rs
    29
        /// Return the length of the partition
    30
        #[allow(clippy::len_without_is_empty)]
    31
        pub const fn len(&self) -> usize {
  • encase 0.4.1/src/core/rw.rs
    149
    #[allow(clippy::len_without_is_empty)]
    150
    pub trait BufferRef {
  • encase 0.4.1/src/core/traits.rs
    219
    #[allow(clippy::len_without_is_empty)]
    220
    pub trait RuntimeSizedArray {
  • enum-map 2.4.2/src/lib.rs
    262
    #[allow(clippy::len_without_is_empty)]
    263
    impl<K: EnumArray<V>, V> EnumMap<K, V> {
  • eosio-scale-info 2.1.3/src/ty/mod.rs
    384
    #[allow(clippy::len_without_is_empty)]
    385
    impl<T> TypeDefArray<T>
  • epics-ca 0.1.0/src/request/base.rs
    12
    /// `Self` and `Self::Raw` must be safely transmutable to each other.
    13
    #[allow(clippy::len_without_is_empty)]
    14
    pub unsafe trait Request: Send + 'static {
  • epics-ca 0.1.0/src/types/value.rs
    146
    /// Should be implemented only for types that represented in memory as [Self::Item].
    147
    #[allow(clippy::len_without_is_empty)]
    148
    pub unsafe trait Value: Send + 'static {
  • erl_dist 0.5.1/src/node.rs
    98
        /// Note that the result will never be less than `3`.
    99
        #[allow(clippy::len_without_is_empty)]
    100
        pub fn len(&self) -> usize {
  • esp32 0.19.0/src/generic.rs
    649
    }
    650
    #[allow(clippy::len_without_is_empty)]
    651
    impl<T, const C: usize, const S: usize> ArrayProxy<T, C, S> {
  • esp32c2 0.7.0/src/generic.rs
    649
    }
    650
    #[allow(clippy::len_without_is_empty)]
    651
    impl<T, const C: usize, const S: usize> ArrayProxy<T, C, S> {
  • esp32c3 0.10.0/src/generic.rs
    649
    }
    650
    #[allow(clippy::len_without_is_empty)]
    651
    impl<T, const C: usize, const S: usize> ArrayProxy<T, C, S> {
  • esp32s2 0.10.0/src/generic.rs
    649
    }
    650
    #[allow(clippy::len_without_is_empty)]
    651
    impl<T, const C: usize, const S: usize> ArrayProxy<T, C, S> {
  • esp32s3 0.13.0/src/generic.rs
    649
    }
    650
    #[allow(clippy::len_without_is_empty)]
    651
    impl<T, const C: usize, const S: usize> ArrayProxy<T, C, S> {
  • ext-php-rs 0.10.0/src/types/array.rs
    54
    // on the alias `ZendStr` :( <https://github.com/rust-lang/rust-clippy/issues/7702>
    55
    #[allow(clippy::len_without_is_empty)]
    56
    impl ZendHashTable {
  • ext-php-rs 0.10.0/src/types/string.rs
    47
    // on the alias `ZendStr` :( <https://github.com/rust-lang/rust-clippy/issues/7702>
    48
    #[allow(clippy::len_without_is_empty)]
    49
    impl ZendStr {
  • factorio-mlua 0.8.0/src/table.rs
    24
    #[allow(clippy::len_without_is_empty)]
    25
    impl<'lua> Table<'lua> {
  • fancy-regex 0.11.0/src/lib.rs
    1018
    #[allow(clippy::len_without_is_empty)] // follow regex's API
    1019
    impl<'t> Captures<'t> {
  • fastvlq 1.1.1/src/lib.rs
    330
    #[allow(clippy::len_without_is_empty)]
    331
    impl Vu64 {
  • fbs-build 0.1.0/src/ir/types.rs
    512
    // empty `QualifiedIdent`.
    513
    #[allow(clippy::len_without_is_empty)]
    514
    impl<'a> QualifiedIdent<'a> {
  • feroxfuzz 1.0.0-rc.8/src/std_ext/ops.rs
    14
    /// simple trait to add a `.len()` equivalent to implementors
    15
    #[allow(clippy::len_without_is_empty)]
    16
    pub trait Len {
  • ferrous-actions 0.1.0-beta.1/src/node/fs.rs
    202
        #[allow(clippy::len_without_is_empty)]
    203
        pub fn len(&self) -> u64 {
  • finalfusion 0.17.2/src/chunks/vocab/mod.rs
    22
    /// Embedding vocabularies.
    23
    #[allow(clippy::len_without_is_empty)]
    24
    pub trait Vocab {
  • finalfusion 0.17.2/src/embeddings.rs
    124
    #[allow(clippy::len_without_is_empty)]
    125
    impl<V, S> Embeddings<V, S>
  • findshlibs 0.10.2/src/lib.rs
    221
    /// A mapped segment in a shared library.
    222
    #[allow(clippy::len_without_is_empty)]
    223
    pub trait Segment: Sized + Debug {
    353
    /// A trait representing a shared library that is loaded in this process.
    354
    #[allow(clippy::len_without_is_empty)]
    355
    pub trait SharedLibrary: Sized + Debug {
  • flatbuffers 23.1.21/src/array.rs
    37
    #[allow(clippy::len_without_is_empty)]
    38
    #[allow(clippy::from_over_into)] // TODO(caspern): Go from From to Into.
  • flex-page 2.1.0/src/lib.rs
    61
        #[inline]
    62
        #[allow(clippy::len_without_is_empty)]
    63
        pub fn len(&self) -> u64 {
  • fluence-fork-libp2p-kad 0.29.2/src/addresses.rs
    37
    #[allow(clippy::len_without_is_empty)]
    38
    impl Addresses {
  • fluvio-spu-schema 0.11.1/src/file.rs
    31
    #[allow(clippy::len_without_is_empty)]
    32
    impl FileRecordSet {
  • fluvio-storage 0.3.0/src/batch.rs
    37
    #[allow(clippy::len_without_is_empty)]
    38
    impl<R> FileBatchPos<R>
  • forma-render 0.1.3/src/segment.rs
    114
        // This type is only used in forma where it does not need `is_empty`.
    115
        #[allow(clippy::len_without_is_empty)]
    116
        #[inline]
  • fs-hdfs 0.1.10/src/hdfs.rs
    756
        /// Get the length of this file, in bytes.
    757
        #[allow(clippy::len_without_is_empty)]
    758
        #[inline]
  • fs-hdfs3 0.1.10/src/hdfs.rs
    756
        /// Get the length of this file, in bytes.
    757
        #[allow(clippy::len_without_is_empty)]
    758
        #[inline]
  • fvm_ipld_blockstore 0.1.1/src/block.rs
    30
        #[allow(clippy::len_without_is_empty)]
    31
        pub fn len(&self) -> usize {
  • fyi_msg 0.10.6/src/msg/buffer.rs
    255
    #[allow(clippy::len_without_is_empty)] // We don't need it.
    256
    /// ## Individual Parts.
  • garage_db 0.8.1/lib.rs
    169
    #[allow(clippy::len_without_is_empty)]
    170
    impl Tree {
    251
    #[allow(clippy::len_without_is_empty)]
    252
    impl<'a> Transaction<'a> {
  • gdbstub_arch 0.2.4/src/aarch64/reg/id.rs
    72
    impl AArch64RegId {
    73
        #[allow(clippy::len_without_is_empty)]
    74
        /// Gives the size of the register.
  • gdnative-core 0.11.3/src/core_types/access.rs
    34
    /// This trait is sealed and has no public members.
    35
    #[allow(clippy::len_without_is_empty)]
    36
    pub unsafe trait Guard: private::Sealed {
  • generic-simd 0.1.0/src/slice.rs
    298
    #[allow(clippy::len_without_is_empty)]
    299
    impl<'a, V> Overlapping<'a, V>
    360
    #[allow(clippy::len_without_is_empty)]
    361
    impl<'a, V> OverlappingMut<'a, V>
  • gfa 0.10.1/src/cigar.rs
    109
    #[allow(clippy::len_without_is_empty)]
    110
    impl CIGARPair {
  • gimli 0.27.1/src/read/cfi.rs
    1736
    /// other signal-unsafe operations.
    1737
    #[allow(clippy::len_without_is_empty)]
    1738
    impl<R: Reader> FrameDescriptionEntry<R> {
  • gimli 0.27.1/src/write/writer.rs
    9
    /// All write operations append to the section unless otherwise specified.
    10
    #[allow(clippy::len_without_is_empty)]
    11
    pub trait Writer {
  • glommio 0.8.0/src/channels/local_channel.rs
    479
    #[allow(clippy::len_without_is_empty)]
    480
    impl<T> LocalSender<T> {
  • gmod 16.0.2/src/lua/lua_state.rs
    512
    	#[inline(always)]
    513
    	#[allow(clippy::len_without_is_empty)]
    514
    	pub unsafe fn len(&self, index: i32) -> i32 {
  • gomez 0.3.1/src/population.rs
    31
    /// Violating any of these invariants results in panic in debug builds.
    32
    #[allow(clippy::len_without_is_empty)]
    33
    pub struct Population<F: Problem>
  • gonk-player 0.1.2/src/cpal/mod.rs
    244
    #[allow(clippy::len_without_is_empty)]
    245
    impl Data {
  • graph 0.3.0/src/wcc.rs
    81
    #[allow(clippy::len_without_is_empty)]
    82
    pub trait UnionFind<NI> {
  • graph_builder 0.3.0/src/input/edgelist.rs
    46
    #[allow(clippy::len_without_is_empty)]
    47
    pub trait Edges {
  • graphics-shapes 0.1.10/src/line.rs
    52
    impl Line {
    53
        #[allow(clippy::len_without_is_empty)] //use start()==end() to check that
    54
        #[inline]
  • graphicsmagick 0.5.0/src/wand/magick.rs
    1417
    #[allow(clippy::len_without_is_empty)]
    1418
    impl<'a, T> MagickWandExportSlice<'a, T>
    3353
    #[allow(clippy::len_without_is_empty)]
    3354
    impl<'a, T> MagickWandImportSlice<'a, T>
  • groestlcoin 0.29.0/src/consensus/encode.rs
    405
    #[allow(clippy::len_without_is_empty)] // VarInt has on concept of 'is_empty'.
    406
    impl VarInt {
  • gurgle 0.5.0/src/roll.rs
    77
        /// Get points count(rolling dice times)
    78
        #[allow(clippy::len_without_is_empty)] // because it can't be empty
    79
        #[must_use]
  • hadouken 0.0.1/src/lib.rs
    118
        // Total length (in frames) of the command
    119
        #[allow(clippy::len_without_is_empty)]
    120
        pub fn len(&self) -> usize {
  • hciraw 1.0.1/src/addr.rs
    29
    #[allow(clippy::len_without_is_empty)]
    30
    impl HciSocketAddr {
  • hdf5 0.8.1/src/hl/plist.rs
    157
    #[allow(clippy::len_without_is_empty)]
    158
    impl PropertyList {
  • hdrs 0.2.0/src/metadata.rs
    53
        /// Keep the same style with `std::fs::File`
    54
        #[allow(clippy::len_without_is_empty)]
    55
        pub fn len(&self) -> u64 {
  • headj 0.1.1/src/key_path.rs
    42
    #[allow(clippy::len_without_is_empty)]
    43
    impl KeyPath {
  • hkd32 0.7.0/src/path.rs
    171
    // Components are not allowed to be empty
    172
    #[allow(clippy::len_without_is_empty)]
    173
    impl<'a> Component<'a> {
  • holochain_state 0.1.0/src/source_chain.rs
    612
        //   chain. This needs to be fixed.
    613
        #[allow(clippy::len_without_is_empty)]
    614
        pub fn len(&self) -> SourceChainResult<u32> {
  • http-downloader 0.1.2/src/chunk_iterator.rs
    209
        #[allow(clippy::len_without_is_empty)]
    210
        pub fn len(&self) -> u64 {
  • http-types 2.12.0/src/content/content_length.rs
    33
    #[allow(clippy::len_without_is_empty)]
    34
    impl ContentLength {
  • http-types 2.12.0/src/other/retry_after.rs
    40
    #[allow(clippy::len_without_is_empty)]
    41
    impl RetryAfter {
  • httproxide-h3 0.0.0/src/proto/headers.rs
    23
    #[allow(clippy::len_without_is_empty)]
    24
    impl Header {
    272
    #[allow(clippy::len_without_is_empty)]
    273
    impl Pseudo {
  • ibverbs-sys 0.1.0/src/lib.rs
    58
    #[cfg_attr(feature = "cargo-clippy", allow(len_without_is_empty))]
    59
    impl ibv_wc {
  • iced-x86 1.18.0/src/instruction.rs
    76
    #[allow(clippy::len_without_is_empty)]
    77
    impl Instruction {
  • icu_capi 1.1.0/src/list.rs
    42
            /// The number of elements in this list
    43
            #[allow(clippy::len_without_is_empty)] // don't need to follow Rust conventions over FFI
    44
            pub fn len(&self) -> usize {
  • identity_core 0.7.0-alpha.4/src/common/one_or_set.rs
    132
      /// Returns the number of elements in the collection.
    133
      #[allow(clippy::len_without_is_empty)]
    134
      pub fn len(&self) -> usize {
  • imara-diff 0.1.5/src/histogram/list_pool.rs
    199
        /// Get the number of elements in the list.
    200
        #[allow(clippy::len_without_is_empty)]
    201
        pub fn len(&self, pool: &ListPool) -> u32 {
  • img-parts 0.3.0/src/common.rs
    17
    #[allow(clippy::len_without_is_empty)]
    18
    impl DynImage {
  • img-parts 0.3.0/src/jpeg/image.rs
    23
    #[allow(clippy::len_without_is_empty)]
    24
    impl Jpeg {
  • img-parts 0.3.0/src/jpeg/segment.rs
    21
    #[allow(clippy::len_without_is_empty)]
    22
    impl JpegSegment {
  • img-parts 0.3.0/src/png/chunk.rs
    19
    #[allow(clippy::len_without_is_empty)]
    20
    impl PngChunk {
  • img-parts 0.3.0/src/png/image.rs
    25
    #[allow(clippy::len_without_is_empty)]
    26
    impl Png {
  • img-parts 0.3.0/src/riff.rs
    31
    #[allow(clippy::len_without_is_empty)]
    32
    impl RiffChunk {
    123
    #[allow(clippy::len_without_is_empty)]
    124
    impl RiffContent {
  • img-parts 0.3.0/src/webp/mod.rs
    36
    #[allow(clippy::len_without_is_empty)]
    37
    impl WebP {
  • indexsort 0.1.0/src/lib.rs
    170
    /// Implement this trait for type to unlock all the sorting methods in Go standard library.
    171
    #[allow(clippy::len_without_is_empty)]
    172
    pub trait IndexSort {
  • indicatif 0.17.3/src/state.rs
    305
        #[allow(clippy::len_without_is_empty)]
    306
        pub fn len(&self) -> Option<u64> {
  • infinitree 0.9.1/src/backends.rs
    101
        #[allow(clippy::len_without_is_empty)]
    102
        impl NullBackend {
  • informalsystems-tonic 0.5.2/src/metadata/value.rs
    285
    // is_empty is defined in the generic impl block above
    286
    #[allow(clippy::len_without_is_empty)]
    287
    impl MetadataValue<Ascii> {
  • ink_metadata 4.0.0-beta.1/src/layout/mod.rs
    413
    #[allow(clippy::len_without_is_empty)]
    414
    impl<F> ArrayLayout<F>
  • intel-spi 0.1.4/src/lib.rs
    39
    #[allow(clippy::len_without_is_empty)]
    40
    pub trait Spi {
  • io-arrays 0.12.0/src/arrays.rs
    34
    #[allow(clippy::len_without_is_empty)]
    35
    impl Metadata {
  • io-uring 0.5.12/src/types.rs
    234
        /// Returns the entry len.
    235
        #[allow(clippy::len_without_is_empty)]
    236
        pub fn len(&self) -> u32 {
  • ion-rs 0.15.0/src/symbol_table.rs
    9
    // SymbolTable instances always have at least system symbols; they are never empty.
    10
    #[allow(clippy::len_without_is_empty)]
    11
    pub struct SymbolTable {
  • iota-crypto 0.15.3/src/encoding/ternary/raw.rs
    8
    /// A trait to be implemented by alternative trit encoding scheme slices.
    9
    #[allow(clippy::len_without_is_empty)]
    10
    #[allow(clippy::missing_safety_doc)]
  • iota-types 1.0.0-rc.4/src/block/address/alias.rs
    15
    #[allow(clippy::len_without_is_empty)]
    16
    impl AliasAddress {
  • iota-types 1.0.0-rc.4/src/block/address/nft.rs
    15
    #[allow(clippy::len_without_is_empty)]
    16
    impl NftAddress {
  • iota-types 1.0.0-rc.4/src/block/parent.rs
    29
    #[allow(clippy::len_without_is_empty)]
    30
    impl Parents {
  • k510-pac 0.0.2/src/generic.rs
    572
    }
    573
    #[allow(clippy::len_without_is_empty)]
    574
    impl<T, const C: usize, const S: usize> ArrayProxy<T, C, S> {
  • kas-core 0.12.1/src/model/data_traits.rs
    175
    /// Provided implementations: `[T]`, `Vec<T>`.
    176
    #[allow(clippy::len_without_is_empty)]
    177
    #[autoimpl(for<T: trait + ?Sized> &T, &mut T, std::rc::Rc<T>, std::sync::Arc<T>, Box<T>)]
  • kazari 0.0.1/src/utils/mmap.rs
    12
    #[allow(clippy::len_without_is_empty)]
    13
    impl MMap {
  • kdam 0.3.0/src/thread/manager.rs
    79
        /// Returns the number of progress bars.
    80
        #[allow(clippy::len_without_is_empty)]
    81
        pub fn len(&self) -> usize {
  • kekbit 0.3.5/src/core/metadata.rs
    33
    #[allow(clippy::len_without_is_empty)]
    34
    impl Metadata {
  • kekbit-core 0.2.3/src/header.rs
    33
    #[allow(clippy::len_without_is_empty)]
    34
    impl Header {
  • klaptik 0.2.0/src/sprites.rs
    9
    #[allow(clippy::len_without_is_empty)]
    10
    impl Glyphs {
  • klondike-rs 1.1.0/src/model/area_list.rs
    55
    // This list is always non-empty
    56
    #[allow(clippy::len_without_is_empty)]
    57
    impl AreaList {
  • kmedoids 0.4.1/src/arrayadapter.rs
    5
    /// Adapter trait for accessing different types of arrays
    6
    #[allow(clippy::len_without_is_empty)]
    7
    pub trait ArrayAdapter<N> {
  • krates 0.12.6/src/lib.rs
    200
    #[allow(clippy::len_without_is_empty)]
    201
    impl<N, E> Krates<N, E> {
  • kurobako_core 0.1.12/src/domain.rs
    14
    #[allow(clippy::len_without_is_empty)]
    15
    impl Domain {
  • las 0.8.0/src/point/format.rs
    76
    #[allow(clippy::len_without_is_empty)]
    77
    impl Format {
  • lattice-qcd-rs 0.2.1/src/field.rs
    33
    #[allow(clippy::len_without_is_empty)]
    34
    impl Su3Adjoint {
  • lawn-9p 0.1.1/src/server.rs
    708
    impl DirEntry {
    709
        #[allow(clippy::len_without_is_empty)]
    710
        pub fn len(&self) -> usize {
  • legacy_pcap_file 0.1.0/src/packet.rs
    80
        #[allow(clippy::len_without_is_empty)]
    81
        pub fn len(&self) -> u32 {
  • legacy_pcap_file 0.1.0/src/writer.rs
    297
        /// Return the size of the file.
    298
        #[allow(clippy::len_without_is_empty)]
    299
        pub fn len(&self) -> u64 {
  • len-trait 0.6.1/src/len.rs
    32
    /// Obtaining the length of the collection must take a constant amount of time and space.
    33
    #[cfg_attr(feature = "cargo-clippy", allow(len_without_is_empty))]
    34
    // TODO: https://github.com/Manishearth/rust-clippy/issues/1740
  • leo-typed 1.0.4/src/input/input.rs
    40
    #[allow(clippy::len_without_is_empty)]
    41
    impl Input {
  • leo-typed 1.0.4/src/input/program_input/main_input.rs
    26
    #[allow(clippy::len_without_is_empty)]
    27
    impl MainInput {
  • leo-typed 1.0.4/src/input/program_input/program_input.rs
    29
    #[allow(clippy::len_without_is_empty)]
    30
    impl ProgramInput {
  • leo-typed 1.0.4/src/input/program_state/private_state/private_state.rs
    29
    #[allow(clippy::len_without_is_empty)]
    30
    impl PrivateState {
  • leo-typed 1.0.4/src/input/program_state/program_state.rs
    29
    #[allow(clippy::len_without_is_empty)]
    30
    impl ProgramState {
  • leo-typed 1.0.4/src/input/program_state/public_state/public_state.rs
    28
    #[allow(clippy::len_without_is_empty)]
    29
    impl PublicState {
  • li-http-types 2.12.0/src/content/content_length.rs
    33
    #[allow(clippy::len_without_is_empty)]
    34
    impl ContentLength {
  • li-http-types 2.12.0/src/other/retry_after.rs
    40
    #[allow(clippy::len_without_is_empty)]
    41
    impl RetryAfter {
  • li-surf 2.3.3/src/request.rs
    277
        /// response length.
    278
        #[allow(clippy::len_without_is_empty)]
    279
        pub fn len(&self) -> Option<usize> {
  • li-surf 2.3.3/src/response.rs
    163
        /// response length.
    164
        #[allow(clippy::len_without_is_empty)]
    165
        pub fn len(&self) -> Option<usize> {
  • libhdfs3-sys 0.2.0/src/hdfs3.rs
    406
        /// Get the length of this file, in bytes.
    407
        #[allow(clippy::len_without_is_empty)]
    408
        #[inline]
  • libipld-cbor 0.16.0/src/cbor.rs
    44
        #[inline(always)]
    45
        #[allow(clippy::len_without_is_empty)]
    46
        pub const fn len(self) -> u8 {
  • libp2p-kad 0.42.1/src/addresses.rs
    31
    #[allow(clippy::len_without_is_empty)]
    32
    impl Addresses {
  • libsfasta 0.3.4/src/datatypes/seq_loc.rs
    753
        #[allow(clippy::len_without_is_empty)]
    754
        pub fn len<R>(&self, seqlocs: &mut SeqLocs, mut in_buf: &mut R, block_size: u32) -> usize
  • lightning_encoding 0.9.0-rc.1/src/big_size.rs
    100
        /// Calculates length of serialized BigSize type
    101
        #[allow(clippy::len_without_is_empty)]
    102
        pub fn len(self) -> usize {
  • lightws 0.6.7/src/handshake/mod.rs
    35
    /// Http header, take two references
    36
    #[allow(clippy::len_without_is_empty)]
    37
    #[derive(Debug, Copy, Clone, Eq, PartialEq)]
  • limelight 0.1.3/src/buffer.rs
    4
    #[allow(clippy::len_without_is_empty)]
    5
    pub trait BufferLike<T: Attribute> {
  • linkle 0.2.11/src/format/nacp.rs
    56
    #[allow(clippy::len_without_is_empty)]
    57
    impl NacpFile {
  • linkle 0.2.11/src/format/romfs.rs
    171
    #[allow(clippy::len_without_is_empty)]
    172
    impl RomFs {
  • listenfd 1.0.0/src/manager.rs
    42
        /// does not change.
    43
        #[allow(clippy::len_without_is_empty)]
    44
        pub fn len(&self) -> usize {
  • lnpbp_identity 0.9.0/src/lib.rs
    87
    impl HashAlgo {
    88
        #[allow(clippy::len_without_is_empty)]
    89
        pub fn len(self) -> u8 {
  • lodepng 3.7.2/src/lib.rs
    1079
        #[inline(always)]
    1080
        #[allow(clippy::len_without_is_empty)]
    1081
        #[must_use]
  • log4rs 1.2.0/src/append/rolling_file/mod.rs
    112
    #[allow(clippy::len_without_is_empty)]
    113
    impl<'a> LogFile<'a> {
  • logicsim 0.1.7/src/data_structures/state.rs
    43
    // It doesn't make sense for State to be empty;
    44
    #[allow(clippy::len_without_is_empty)]
    45
    impl State {
  • logicsim 0.1.7/src/graph/graph_builder.rs
    217
    // The graph always contains OFF and ON.
    218
    #[allow(clippy::len_without_is_empty)]
    219
    impl GateGraphBuilder {
  • logicsim 0.1.7/src/graph/initialized_graph.rs
    62
    // The graph always contains OFF and ON.
    63
    #[allow(clippy::len_without_is_empty)]
    64
    impl InitializedGateGraph {
  • lpc55 0.2.1/src/pki.rs
    457
        #[allow(clippy::len_without_is_empty)]
    458
        pub fn len(&self) -> usize {
  • lurk-ipld-cbor 0.3.0/src/cbor.rs
    44
        #[inline(always)]
    45
        #[allow(clippy::len_without_is_empty)]
    46
        pub const fn len(self) -> u8 {
  • madsim 0.2.14/src/sim/fs.rs
    252
        /// Returns the size of the file, in bytes, this metadata is for.
    253
        #[allow(clippy::len_without_is_empty)]
    254
        pub fn len(&self) -> u64 {
  • maia 0.1.1/src/buffer.rs
    101
    #[allow(clippy::len_without_is_empty)]
    102
    impl Buffer {
  • maia 0.1.1/src/memory.rs
    133
    #[allow(clippy::len_without_is_empty)]
    134
    impl DeviceMemory {
  • mail-parser 0.8.0/src/lib.rs
    1726
    impl<'x> PartType<'x> {
    1727
        #[allow(clippy::len_without_is_empty)]
    1728
        pub fn len(&self) -> usize {
  • mail-parser 0.8.0/src/parsers/mod.rs
    137
        #[allow(clippy::len_without_is_empty)]
    138
        #[inline(always)]
  • makepad-shader-compiler 0.3.0/src/swizzle.rs
    12
    #[allow(clippy::len_without_is_empty)]
    13
    impl Swizzle {
  • mako 0.3.0/src/tokenization/hf_tokenizers/tokenizer/normalizer.rs
    37
    #[allow(clippy::len_without_is_empty)]
    38
    impl<T> Range<T>
  • map1 0.1.2/src/btree_map.rs
    554
    #[allow(clippy::len_without_is_empty)]
    555
    impl<K: Ord, V> BTreeMap1<K, V> {
    689
        /// ```
    690
        #[allow(clippy::len_without_is_empty)]
    691
        pub fn len(&self) -> NonZeroUsize {
  • mc-oblivious-traits 2.2.0/src/lib.rs
    54
    /// simultaneously.
    55
    #[allow(clippy::len_without_is_empty)]
    56
    pub trait ORAMStorage<BlockSize: ArrayLength<u8>, MetaSize: ArrayLength<u8>> {
    115
    /// We don't have a good way for the OMAP to take advantage of that right now.
    116
    #[allow(clippy::len_without_is_empty)]
    117
    #[allow(clippy::upper_case_acronyms)]
    184
    /// TODO: API for resizing it? Changing height?
    185
    #[allow(clippy::len_without_is_empty)]
    186
    pub trait PositionMap {
  • mco-redis 0.1.2/src/bytes/buf/uninit_slice.rs
    140
        #[inline]
    141
        #[allow(clippy::len_without_is_empty)]
    142
        pub fn len(&self) -> usize {
  • memflex 0.4.1/src/pattern/mod.rs
    24
    /// Trait for generalizing static & dynamic memory patterns.
    25
    #[allow(clippy::len_without_is_empty)]
    26
    pub trait Matcher: sealed::Sealed {
  • memvec 0.1.0/src/memory.rs
    3
    #[allow(clippy::len_without_is_empty)]
    4
    pub trait Memory
  • mica 0.7.1/src/ll/ast.rs
    104
        /// Returns the length of the node's children, or `None` if the node has no children.
    105
        #[allow(clippy::len_without_is_empty)]
    106
        pub fn len(&self, node: NodeId) -> Option<usize> {
  • mica-language 0.5.0/src/ast.rs
    106
       /// Returns the length of the node's children, or `None` if the node has no children.
    107
       #[allow(clippy::len_without_is_empty)]
    108
       pub fn len(&self, node: NodeId) -> Option<usize> {
  • minijinja 0.30.2/src/value/mod.rs
    432
    #[allow(clippy::len_without_is_empty)]
    433
    impl Value {
  • minisign 0.7.2/src/keynum.rs
    27
    #[allow(clippy::len_without_is_empty, dead_code)]
    28
    impl KeynumSK {
  • mlua 0.8.7/src/table.rs
    25
    #[allow(clippy::len_without_is_empty)]
    26
    impl<'lua> Table<'lua> {
  • mmtk 0.16.0/src/util/metadata/side_metadata/global.rs
    1037
        /// Get the length of the array.
    1038
        #[allow(clippy::len_without_is_empty)]
    1039
        pub const fn len(&self) -> usize {
  • momoden-password 0.1.0/src/password.rs
    81
        /// 文字数を返す。
    82
        #[allow(clippy::len_without_is_empty)]
    83
        pub fn len(&self) -> usize {
  • momoden-password 0.1.0/src/serialized.rs
    207
        /// バイト数を返す。
    208
        #[allow(clippy::len_without_is_empty)]
    209
        pub fn len(&self) -> usize {
  • monument 0.13.4/src/utils/counts.rs
    26
        #[allow(clippy::len_without_is_empty)]
    27
        pub fn len(&self) -> usize {
  • mpd_protocol 1.0.0/src/command.rs
    97
    #[allow(clippy::len_without_is_empty)]
    98
    impl CommandList {
  • msp430fr2355 0.5.2/src/generic.rs
    733
    }
    734
    #[allow(clippy::len_without_is_empty)]
    735
    impl<T, const C: usize, const S: usize> ArrayProxy<T, C, S> {
  • nakamoto-chain 0.4.0/src/lib.rs
    1
    //! Functionality around proof-of-work chains.
    2
    #[allow(clippy::len_without_is_empty)]
    3
    #[allow(clippy::collapsible_if)]
  • nakamoto-p2p 0.4.0/src/fsm/filter_cache.rs
    8
    /// Cachable block filter.
    9
    #[allow(clippy::len_without_is_empty)]
    10
    pub trait Filter: Eq + PartialEq {
  • napi 2.10.14/src/bindgen_runtime/js_values/array.rs
    68
      #[allow(clippy::len_without_is_empty)]
    69
      pub fn len(&self) -> u32 {
  • ndarray 0.15.6/src/dimension/axes.rs
    62
    // https://github.com/rust-ndarray/ndarray/pull/642#discussion_r296051702
    63
    #[allow(clippy::len_without_is_empty)]
    64
    impl AxisDescription {
  • near-sdk 4.1.1/src/collections/legacy_tree_map.rs
    46
    #[allow(clippy::len_without_is_empty)]
    47
    impl<K, V> LegacyTreeMap<K, V>
    64
        #[allow(clippy::len_without_is_empty)]
    65
        pub fn len(&self) -> u64 {
  • neli 0.7.0-rc1/src/utils.rs
    21
    /// needs to be implemented this way.
    22
    #[allow(clippy::len_without_is_empty)]
    23
    impl NetlinkBitArray {
  • neon 1.0.0-alpha.2/src/types_impl/buffer/mod.rs
    246
        /// Returns the number of elements of type `T` in the region.
    247
        #[allow(clippy::len_without_is_empty)]
    248
        pub fn len(&self) -> usize {
  • neon 1.0.0-alpha.2/src/types_impl/buffer/types.rs
    773
        /// ```
    774
        #[allow(clippy::len_without_is_empty)]
    775
        pub fn len<'cx, C>(&self, cx: &mut C) -> usize
  • neon 1.0.0-alpha.2/src/types_impl/mod.rs
    541
        #[allow(clippy::len_without_is_empty)]
    542
        pub fn len<'a, C: Context<'a>>(&self, cx: &mut C) -> u32 {
  • nephele 0.0.2/src/common/http_types/content/content_length.rs
    9
    #[allow(clippy::len_without_is_empty)]
    10
    impl ContentLength {
  • netcdf 0.7.0/src/dimension.rs
    26
    #[allow(clippy::len_without_is_empty)]
    27
    impl<'g> Dimension<'g> {
  • netcdf 0.7.0/src/variable.rs
    56
    #[allow(clippy::len_without_is_empty)]
    57
    impl<'g> Variable<'g> {
  • netlink-packet-xfrm 0.2.0/src/nlas/mod.rs
    27
    #[allow(clippy::len_without_is_empty)]
    28
    pub mod security_ctx;
  • nextest-runner 0.35.0/src/runner.rs
    913
    #[allow(clippy::len_without_is_empty)] // RunStatuses is never empty
    914
    impl ExecutionStatuses {
  • nix 0.26.2/src/sys/socket/addr.rs
    1100
    /// inner type read-only.
    1101
    #[allow(clippy::len_without_is_empty)]
    1102
    pub trait SockaddrLike: private::SockaddrLikePriv {
  • non-empty-string 0.2.3/src/lib.rs
    25
    #[allow(clippy::len_without_is_empty)] // is_empty would always returns false so it seems a bit silly to have it.
    26
    impl NonEmptyString {
  • noodles-cram 0.22.1/src/container/block.rs
    29
    #[allow(clippy::len_without_is_empty)]
    30
    impl Block {
  • noodles-cram 0.22.1/src/data_container/header.rs
    18
    #[allow(clippy::len_without_is_empty)]
    19
    impl Header {
  • noodles-fasta 0.17.0/src/fai/record.rs
    20
    #[allow(clippy::len_without_is_empty)]
    21
    impl Record {
  • noodles-fastq 0.5.1/src/fai/record.rs
    21
    #[allow(clippy::len_without_is_empty)]
    22
    impl Record {
  • noodles-sam 0.22.1/src/record/read_name.rs
    47
        /// ```
    48
        #[allow(clippy::len_without_is_empty)]
    49
        pub fn len(&self) -> usize {
  • norad 0.8.0/src/layer.rs
    48
    #[allow(clippy::len_without_is_empty)] // never empty
    49
    impl LayerSet {
    101
        /// This is always non-zero.
    102
        #[allow(clippy::len_without_is_empty)]
    103
        pub fn len(&self) -> usize {
  • noria 0.6.1/src/view.rs
    361
    #[allow(clippy::len_without_is_empty)]
    362
    impl View {
  • ntex-bytes 0.1.19/src/buf/uninit_slice.rs
    140
        #[inline]
    141
        #[allow(clippy::len_without_is_empty)]
    142
        pub fn len(&self) -> usize {
  • number2name 1.1.2/src/charset.rs
    54
    /// If case-insensitive, characters must have a single-character lower-case version (can be the same as upper-case).
    55
    #[allow(clippy::len_without_is_empty)]
    56
    impl Charset {
  • object 0.30.3/src/read/pe/data_directory.rs
    31
        /// The number of data directories.
    32
        #[allow(clippy::len_without_is_empty)]
    33
        pub fn len(&self) -> usize {
  • object 0.30.3/src/write/elf/writer.rs
    209
        /// Return the current file length that has been written.
    210
        #[allow(clippy::len_without_is_empty)]
    211
        pub fn len(&self) -> usize {
  • object 0.30.3/src/write/pe.rs
    118
        /// Return the current file length that has been written.
    119
        #[allow(clippy::len_without_is_empty)]
    120
        pub fn len(&self) -> usize {
  • object 0.30.3/src/write/util.rs
    7
    /// Trait for writable buffer.
    8
    #[allow(clippy::len_without_is_empty)]
    9
    pub trait WritableBuffer {
  • obnam 0.8.0/src/fsentry.rs
    70
    #[allow(clippy::len_without_is_empty)]
    71
    impl FilesystemEntry {
  • obnth 0.1.1/src/dir/file_meta.rs
    23
    #[allow(clippy::len_without_is_empty)]
    24
    impl Metadata {
  • ohnomore 0.5.0/src/transform/mod.rs
    3
    #[allow(clippy::len_without_is_empty)]
    4
    pub trait DependencyGraph {
  • openat_ct 0.2.0-pre9/src/metadata.rs
    87
        /// Returns file size
    88
        #[allow(clippy::len_without_is_empty)]
    89
        #[deprecated(since = "0.2.0", note = "use Metadata::size(&self)")]
  • opendal 0.25.2/src/raw/http_util/bytes_content_range.rs
    47
    /// - When BytesContentRange's range is no known, we don't know whethre it's empty.
    48
    #[allow(clippy::len_without_is_empty)]
    49
    #[derive(Debug, Default, Clone, Copy, Eq, PartialEq, serde::Serialize, serde::Deserialize)]
  • openssh-sftp-client 0.12.2/src/metadata.rs
    51
    #[allow(clippy::len_without_is_empty)]
    52
    impl MetaData {
  • openssl 0.10.45/src/derive.rs
    66
    #[allow(clippy::len_without_is_empty)]
    67
    impl<'a> Deriver<'a> {
  • openssl 0.10.45/src/sign.rs
    132
    #[allow(clippy::len_without_is_empty)]
    133
    impl<'a> Signer<'a> {
  • optimum 0.0.4/src/metaheuristics/genetic/population/member.rs
    14
        ///
    15
        #[allow(clippy::len_without_is_empty)]
    16
        pub fn len(&self) -> usize {
  • ordered-multimap 0.6.0/src/list_ordered_multimap.rs
    2045
    #[allow(clippy::len_without_is_empty)]
    2046
    impl<'map, Key, Value> OccupiedEntry<'map, Key, Value> {
  • orion 0.17.3/src/high_level/pwhash.rs
    175
    #[allow(clippy::len_without_is_empty)]
    176
    impl PasswordHash {
  • overlord 0.4.2/src/types.rs
    454
    #[allow(clippy::len_without_is_empty)]
    455
    impl AggregatedChoke {
  • oxhttp 0.1.5/src/model/body.rs
    47
        /// The number of bytes in the body (if known).
    48
        #[allow(clippy::len_without_is_empty)]
    49
        #[inline]
  • p2panda-rs 0.6.0/src/operation/relation.rs
    155
    #[derive(Clone, Debug, Eq, PartialEq, Serialize)]
    156
    #[allow(clippy::len_without_is_empty)]
    157
    pub struct RelationList(Vec<DocumentId>);
    231
    #[derive(Clone, Debug, Eq, PartialEq, Serialize)]
    232
    #[allow(clippy::len_without_is_empty)]
    233
    pub struct PinnedRelationList(Vec<DocumentViewId>);
  • parquet 32.0.0/src/file/reader.rs
    38
    /// It's mainly used to read the metadata, which is at the end of the source.
    39
    #[allow(clippy::len_without_is_empty)]
    40
    pub trait Length {
  • parquet 32.0.0/src/record/api.rs
    51
    #[allow(clippy::len_without_is_empty)]
    52
    impl Row {
    266
    #[allow(clippy::len_without_is_empty)]
    267
    impl List {
    388
    #[allow(clippy::len_without_is_empty)]
    389
    impl Map {
  • password-hash 0.5.0-pre.0/src/lib.rs
    290
    #[cfg(feature = "alloc")]
    291
    #[allow(clippy::len_without_is_empty)]
    292
    impl PasswordHashString {
  • password-hash 0.5.0-pre.0/src/output.rs
    109
    #[allow(clippy::len_without_is_empty)]
    110
    impl Output {
  • password-hash 0.5.0-pre.0/src/salt.rs
    81
    #[allow(clippy::len_without_is_empty)]
    82
    impl<'a> Salt<'a> {
    183
    #[allow(clippy::len_without_is_empty)]
    184
    impl SaltString {
  • pb-jelly 0.0.11/src/buffer.rs
    86
    /// (constant-time) to clone.
    87
    #[allow(clippy::len_without_is_empty)]
    88
    pub trait PbBuffer: Any + Sized {
  • pci-driver 0.1.2/src/regions/mod.rs
    121
    /// users of the crate.
    122
    #[allow(clippy::len_without_is_empty)]
    123
    pub trait PciRegion: Debug + Send + Sync + Sealed {
    558
    #[allow(clippy::len_without_is_empty)]
    559
    impl MappedOwningPciRegion {
  • perf-event 0.4.8/src/lib.rs
    896
        /// Return the number of counters this `Counts` holds results for.
    897
        #[allow(clippy::len_without_is_empty)] // Groups are never empty.
    898
        pub fn len(&self) -> usize {
  • permutations 0.1.1/src/permutations.rs
    40
        /// Even for `n = 0` it contains the empty permutation.
    41
        #[allow(clippy::len_without_is_empty)]
    42
        pub fn len(&self) -> usize {
  • photondb 0.0.4/src/env/mod.rs
    194
    /// Metadata information about a file.
    195
    #[allow(clippy::len_without_is_empty)]
    196
    pub struct Metadata {
  • photonio-tokio 0.0.5/src/fs/metadata.rs
    6
    impl Metadata {
    7
        #[allow(clippy::len_without_is_empty)]
    8
        pub fn len(&self) -> u64 {
  • photonio-uring 0.0.5/src/fs/metadata.rs
    12
        /// See also [`std::fs::Metadata::len`].
    13
        #[allow(clippy::len_without_is_empty)]
    14
        pub fn len(&self) -> u64 {
  • polars-core 0.26.1/src/chunked_array/logical/categorical/builder.rs
    72
    #[allow(clippy::len_without_is_empty)]
    73
    impl RevMapping {
  • polygonical 0.2.0/src/polygon.rs
    9
    /// Polygon describes the
    10
    #[allow(clippy::len_without_is_empty)] // a polygon can never be empty so an is_empty function would always return false.
    11
    #[derive(Debug, Clone)]
  • postgres-protocol 0.6.4/src/message/backend.rs
    42
    #[allow(clippy::len_without_is_empty)]
    43
    impl Header {
  • pro_metadata 3.0.0-rc2/src/layout/mod.rs
    359
    #[allow(clippy::len_without_is_empty)]
    360
    impl<F> ArrayLayout<F>
  • proptest 1.0.0/src/bits.rs
    32
    /// Trait for types which can be handled with `BitSetStrategy`.
    33
    #[cfg_attr(feature = "cargo-clippy", allow(len_without_is_empty))]
    34
    pub trait BitSetLike: Clone + fmt::Debug {
  • public-api 0.27.1/src/tokens.rs
    81
        /// Give the length of the inner text of this token
    82
        #[allow(clippy::len_without_is_empty)]
    83
        #[must_use]
  • puny2d 0.0.2/src/vector/point.rs
    79
    // Point methods
    80
    #[allow(clippy::len_without_is_empty)]
    81
    impl Point {
  • pwbox 0.5.0/src/erased.rs
    69
    // `is_empty()` method wouldn't make much sense; in *all* valid use cases, `len() > 0`.
    70
    #[allow(clippy::len_without_is_empty)]
    71
    impl ErasedPwBox {
  • pwbox 0.5.0/src/lib.rs
    321
    // `is_empty()` method wouldn't make much sense; in *all* valid use cases, `len() > 0`.
    322
    #[allow(clippy::len_without_is_empty)]
    323
    impl<K: DeriveKey, C: Cipher> PwBox<K, C> {
    362
    // `is_empty()` method wouldn't make much sense; in *all* valid use cases, `len() > 0`.
    363
    #[allow(clippy::len_without_is_empty)]
    364
    impl RestoredPwBox {
  • pyke-diffusers 0.2.0/src/clip.rs
    81
    	/// Returns the maximum length of tokens this tokenizer supports. For most CLIP models, this is 77 tokens.
    82
    	#[allow(clippy::len_without_is_empty)]
    83
    	pub fn len(&self) -> usize {
  • pyke-diffusers 0.2.0/src/schedulers/mod.rs
    144
    /// A scheduler to be used in diffusion pipelines.
    145
    #[allow(clippy::len_without_is_empty)]
    146
    pub trait DiffusionScheduler: Default + Clone {
  • pytrace_core 0.2.5/src/internal/vec3.rs
    8
    #[allow(clippy::len_without_is_empty)]
    9
    impl Vec3 {
  • qsv-stats 0.7.0/src/unsorted.rs
    397
        #[must_use]
    398
        #[allow(clippy::len_without_is_empty)]
    399
        pub fn len(&self) -> usize {
  • quad-storage 0.1.3/src/lib.rs
    75
    impl LocalStorage {
    76
        #[allow(clippy::len_without_is_empty)]
    77
        pub fn len(&self) -> usize {
  • quicksilver 0.4.0/src/geom/vector.rs
    32
    #[allow(clippy::len_without_is_empty)]
    33
    impl Vector {
  • r1cs 0.4.7/src/expression.rs
    539
    #[allow(clippy::len_without_is_empty)]
    540
    impl<F: Field> BinaryExpression<F> {
  • r1cs 0.4.7/src/wire.rs
    80
    #[allow(clippy::len_without_is_empty)]
    81
    impl BinaryWire {
  • r528-pac 0.0.3/src/generic.rs
    574
    }
    575
    #[allow(clippy::len_without_is_empty)]
    576
    impl<T, const C: usize, const S: usize> ArrayProxy<T, C, S> {
  • ragged-buffer 0.4.3/src/ragged_buffer_view.rs
    421
        #[allow(clippy::len_without_is_empty)]
    422
        pub fn len(&self) -> PyResult<usize> {
  • range-traits 0.3.0/src/measure.rs
    1
    /// Distance between singletons.
    2
    #[allow(clippy::len_without_is_empty)]
    3
    pub trait Measure<U = Self> {
  • rant 4.0.0-alpha.33/src/value.rs
    204
    #[allow(clippy::len_without_is_empty)]
    205
    impl RantValue {
  • rate-common 0.3.0/src/assignment.rs
    41
    #[allow(clippy::len_without_is_empty)]
    42
    impl Assignment {
  • rayon 1.6.1/src/iter/mod.rs
    2246
    // Waiting for `ExactSizeIterator::is_empty` to be stabilized. See rust-lang/rust#35428
    2247
    #[allow(clippy::len_without_is_empty)]
    2248
    pub trait IndexedParallelIterator: ParallelIterator {
  • rbuf 0.1.3/src/ring.rs
    87
    #[allow(clippy::len_without_is_empty)]
    88
    impl<T> RingBuf<T> {
  • rdisk_shared 0.1.0/src/lib.rs
    136
    #[allow(clippy::len_without_is_empty)]
    137
    impl<T: Sized + Clone + Copy> StructBuffer<T> {
  • read-tree 0.2.0/src/tree.rs
    519
    #[allow(clippy::len_without_is_empty)]
    520
    impl<T> Tree<T> {
    577
    #[allow(clippy::len_without_is_empty)]
    578
    impl<T> PolyTree<T> {
  • realfft 3.2.0/src/lib.rs
    257
    /// spectrum of length N+1.
    258
    #[allow(clippy::len_without_is_empty)]
    259
    pub trait RealToComplex<T>: Sync + Send {
    294
    /// spectrum of length 2*N.
    295
    #[allow(clippy::len_without_is_empty)]
    296
    pub trait ComplexToReal<T>: Sync + Send {
  • recrypt 0.13.1/src/nonemptyvec.rs
    18
    #[allow(clippy::len_without_is_empty)]
    19
    impl<T> NonEmptyVec<T>
  • region 3.0.0/src/alloc.rs
    6
    /// have been created with [`Protection::NONE`].
    7
    #[allow(clippy::len_without_is_empty)]
    8
    pub struct Allocation {
  • ress 0.11.5/src/lib.rs
    115
    #[allow(clippy::len_without_is_empty)]
    116
    impl Span {
  • rgb-core 0.9.0/src/stash/bundle.rs
    234
        #[allow(clippy::len_without_is_empty)]
    235
        pub fn len(&self) -> usize { self.concealed.len() + self.revealed.len() }
  • rorm 0.4.2/src/crud/query.rs
    511
    /// It unifies [Range] and [RangeInclusive]
    512
    #[allow(clippy::len_without_is_empty)] // Since it is generic, there is no trivial way to compare with zero
    513
    pub trait FiniteRange<T> {
  • rosu 0.5.0/src/model/mods.rs
    87
    #[allow(clippy::len_without_is_empty)]
    88
    impl GameMods {
  • rosu-pp 0.9.3/src/catch/mod.rs
    130
        #[inline]
    131
        #[allow(clippy::len_without_is_empty)]
    132
        pub fn len(&self) -> usize {
  • rosu-pp 0.9.3/src/lib.rs
    250
        #[inline]
    251
        #[allow(clippy::len_without_is_empty)]
    252
        pub fn len(&self) -> usize {
  • rosu-pp 0.9.3/src/mania/mod.rs
    157
        #[inline]
    158
        #[allow(clippy::len_without_is_empty)]
    159
        pub fn len(&self) -> usize {
  • rosu-pp 0.9.3/src/osu/mod.rs
    227
        #[inline]
    228
        #[allow(clippy::len_without_is_empty)]
    229
        pub fn len(&self) -> usize {
  • rosu-pp 0.9.3/src/taiko/mod.rs
    205
        #[inline]
    206
        #[allow(clippy::len_without_is_empty)]
    207
        pub fn len(&self) -> usize {
  • rosu-v2 0.7.0/src/model/mods.rs
    95
    #[allow(clippy::len_without_is_empty)]
    96
    impl GameMods {
  • routecore 0.2.0/src/addr.rs
    194
        /// Returns the prefix length.
    195
        #[allow(clippy::len_without_is_empty)]
    196
        pub fn len(self) -> u8 {
    332
        /// Returns the length part of a prefix.
    333
        #[allow(clippy::len_without_is_empty)]
    334
        pub fn len(self) -> u8 {
  • routinator 0.12.1/src/utils/fatal.rs
    66
        /// Returns the size of the underlying file.
    67
        #[allow(clippy::len_without_is_empty)]
    68
        pub fn len(&self) -> u64 {
  • rsonpath-lib 0.2.1/src/depth.rs
    5
    /// Common trait for structs that enrich a byte block with JSON depth information.
    6
    #[allow(clippy::len_without_is_empty)]
    7
    pub trait DepthBlock<'a>: Sized {
  • rucene 0.1.1/src/core/codec/segment_infos/segment_infos.rs
    98
    #[allow(clippy::len_without_is_empty)]
    99
    impl<D: Directory, C: Codec> SegmentInfos<D, C> {
  • rust-sc2 1.1.2/src/geometry.rs
    51
    #[allow(clippy::len_without_is_empty)]
    52
    impl Point2 {
  • rust2vec 0.5.2/src/embeddings.rs
    79
    #[allow(clippy::len_without_is_empty)]
    80
    impl<V, S> Embeddings<V, S>
  • rust2vec 0.5.2/src/vocab.rs
    304
    /// Embedding vocabularies.
    305
    #[allow(clippy::len_without_is_empty)]
    306
    pub trait Vocab: Clone {
  • rustpython-vm 0.1.2/src/obj/objbyteinner.rs
    255
    #[allow(clippy::len_without_is_empty)]
    256
    impl PyByteInner {
  • rustpython-vm 0.1.2/src/obj/objdict.rs
    41
    // Python dict methods:
    42
    #[allow(clippy::len_without_is_empty)]
    43
    #[pyimpl(flags(BASETYPE))]
  • rustpython-vm 0.1.2/src/sequence.rs
    8
    #[allow(clippy::len_without_is_empty)]
    9
    pub trait SimpleSeq {
  • rustypy 0.1.17/pytypes/pytuple.rs
    49
    #[allow(clippy::len_without_is_empty)]
    50
    impl<'a> PyTuple {
  • s2n-quic-core 0.16.0/src/packet/number/truncated_packet_number.rs
    23
    #[allow(clippy::len_without_is_empty)] // Clippy gets confused by the const on is_empty
    24
    impl TruncatedPacketNumber {
  • s3reader 1.0.0/src/lib.rs
    269
        /// This can be prevented by using [`S3Reader::open`] which guarantees that the header is present.
    270
        #[allow(clippy::len_without_is_empty)]
    271
        pub fn len(&mut self) -> u64 {
  • sallyport 0.6.3/src/guest/mod.rs
    54
    #[allow(clippy::len_without_is_empty)]
    55
    pub mod alloc;
  • salvo-http3 0.0.0/src/proto/headers.rs
    23
    #[allow(clippy::len_without_is_empty)]
    24
    impl Header {
    314
    #[allow(clippy::len_without_is_empty)]
    315
    impl Pseudo {
  • salvo-quinn 0.0.1/src/proto/headers.rs
    23
    #[allow(clippy::len_without_is_empty)]
    24
    impl Header {
    322
    #[allow(clippy::len_without_is_empty)]
    323
    impl Pseudo {
  • sapiens-rs 0.1.0/src/sp/math.rs
    97
    #[allow(clippy::len_without_is_empty)]
    98
    impl Vec3 {
  • sark_grids 0.5.6/src/grid.rs
    126
        /// How many tiles/elements are in the grid.
    127
        #[allow(clippy::len_without_is_empty)]
    128
        pub fn len(&self) -> usize {
  • sark_grids 0.5.6/src/point.rs
    10
    /// A trait for types representing an integer point on a 2d grid.
    11
    #[allow(clippy::len_without_is_empty)]
    12
    pub trait GridPoint: Clone + Copy {
    173
    /// A trait for types representing a 2d size.
    174
    #[allow(clippy::len_without_is_empty)]
    175
    pub trait Size2d: Clone + Copy {
  • scale-info 2.3.1/src/ty/mod.rs
    420
    #[allow(clippy::len_without_is_empty)]
    421
    impl<T> TypeDefArray<T>
  • scientific 0.2.0/src/types/scientific.rs
    166
      #[allow(clippy::len_without_is_empty)]
    167
      #[inline(always)]
  • scipio 0.1.5-alpha/src/channels/local_channel.rs
    207
    #[allow(clippy::len_without_is_empty)]
    208
    impl<T> LocalSender<T> {
  • scipio 0.1.5-alpha/src/io/read_result.rs
    22
    #[allow(clippy::len_without_is_empty)]
    23
    impl ReadResult {
  • sec1 0.3.0/src/point.rs
    77
    #[allow(clippy::len_without_is_empty)]
    78
    impl<Size> EncodedPoint<Size>
  • secmem-proc 0.3.0/src/internals/win32.rs
    190
    /// A pointer to a SID valid for lifetime `'a`.
    191
    #[allow(clippy::len_without_is_empty)]
    192
    #[derive(Copy, Clone, Debug)]
  • secured_linked_list 0.5.4/src/lib.rs
    54
    #[allow(clippy::len_without_is_empty)]
    55
    impl SecuredLinkedList {
  • self_encryption 0.27.5/src/data_map.rs
    21
    #[allow(clippy::len_without_is_empty)]
    22
    impl DataMap {
  • semester 1.0.3/src/lib.rs
    240
    */
    241
    #[allow(clippy::len_without_is_empty)]
    242
    pub trait Classes:
  • semihosting-files 0.1.4/src/lib.rs
    133
        /// Retrieves the total number of bytes of the file
    134
        #[allow(clippy::len_without_is_empty)]
    135
        pub fn len(&self) -> Result<usize, ()> {
  • sendstream_parser 0.2.2/src/lib.rs
    466
    #[allow(clippy::len_without_is_empty)]
    467
    #[derive(Debug, Clone, PartialEq, Eq)]
  • sequoia-openpgp 1.13.0/src/types/mod.rs
    497
    #[allow(clippy::len_without_is_empty)]
    498
    impl Curve {
  • serde_db 0.11.0/src/de/deserializable_row.rs
    6
    /// A minimal interface for the Row type to support the deserialization.
    7
    #[allow(clippy::len_without_is_empty)]
    8
    pub trait DeserializableRow: Sized {
  • serde-encrypt-core 0.7.0/src/encrypt/encrypted_message.rs
    72
        /// Payload size in bytes.
    73
        #[allow(clippy::len_without_is_empty)]
    74
        pub fn len(&self) -> usize {
  • sgmlish 0.2.0/src/fragment.rs
    19
        // `is_empty()` makes no sense here, since we don't expect empty fragments
    20
        #[allow(clippy::len_without_is_empty)]
    21
        pub fn len(&self) -> usize {
  • shared_memory 0.12.4/src/lib.rs
    233
    }
    234
    #[allow(clippy::len_without_is_empty)]
    235
    impl Shmem {
  • sharify 0.1.0/src/shared_memory/mod.rs
    246
    }
    247
    #[allow(clippy::len_without_is_empty)]
    248
    impl Shmem {
  • shipyard 0.6.2/src/iter/abstract_mut/mod.rs
    13
    #[allow(missing_docs)]
    14
    #[allow(clippy::len_without_is_empty)]
    15
    pub trait AbstractMut {
  • shipyard 0.6.2/src/iter/into_abstract/mod.rs
    19
    #[allow(missing_docs)]
    20
    #[allow(clippy::len_without_is_empty)]
    21
    pub trait IntoAbstract {
  • simble 0.1.3/src/lib.rs
    284
    #[cfg_attr(feature = "cargo-clippy", allow(len_without_is_empty))]
    285
    impl Printable {
    404
    #[cfg_attr(feature = "cargo-clippy", allow(len_without_is_empty))]
    405
    impl Lexical {
  • simrs 0.2.0/src/state.rs
    14
    #[allow(clippy::len_without_is_empty)]
    15
    impl State {
  • smolsocket 0.3.0/src/lib.rs
    65
    #[allow(clippy::len_without_is_empty)]
    66
    #[cfg(any(feature = "proto-ipv4", feature = "proto-ipv6"))]
    239
        #[allow(clippy::len_without_is_empty)]
    240
        #[allow(clippy::trivially_copy_pass_by_ref)]
    325
        #[allow(clippy::len_without_is_empty)]
    326
        #[allow(clippy::trivially_copy_pass_by_ref)]
  • smoltcp 0.8.2/src/wire/tcp.rs
    755
    #[allow(clippy::len_without_is_empty)]
    756
    impl Control {
  • smoltcp 0.8.2/src/wire/udp.rs
    33
    #[allow(clippy::len_without_is_empty)]
    34
    impl<T: AsRef<[u8]>> Packet<T> {
  • sn_data_types 0.19.1/src/sequence/mod.rs
    51
    #[allow(clippy::len_without_is_empty)]
    52
    impl Data {
  • sn_interface 0.16.20/src/types/cache/mod.rs
    28
    #[allow(clippy::len_without_is_empty)]
    29
    impl<T, V> Cache<T, V>
  • sn_routing 0.77.10/src/cache/mod.rs
    29
    #[allow(clippy::len_without_is_empty)]
    30
    impl<T, V> Cache<T, V>
  • snarkos-network 1.3.17/src/message/message_header.rs
    25
    #[allow(clippy::len_without_is_empty)]
    26
    impl MessageHeader {
  • snarkvm-models 0.0.6/src/objects/ledger.rs
    21
    #[allow(clippy::len_without_is_empty)]
    22
    pub trait LedgerScheme: Sized {
  • snarkvm-objects 0.4.0/src/traits/ledger.rs
    21
    #[allow(clippy::len_without_is_empty)]
    22
    pub trait LedgerScheme: Sized {
  • snarkvm-utilities 0.9.11/src/bititerator.rs
    24
    #[allow(clippy::len_without_is_empty)]
    25
    impl<Slice: AsRef<[u64]>> BitIteratorBE<Slice> {
  • socket2 0.4.7/src/sockaddr.rs
    22
    #[allow(clippy::len_without_is_empty)]
    23
    impl SockAddr {
  • sparsey 0.10.0/src/query/component_view.rs
    6
    /// Building block for queries.
    7
    #[allow(clippy::len_without_is_empty)]
    8
    pub trait ComponentView {
  • spectrusty-peripherals 0.4.0/src/bus/joystick.rs
    324
    #[allow(clippy::len_without_is_empty)]
    325
    impl JoystickSelect {
  • srt-protocol 0.3.0/src/protocol/encryption/key.rs
    140
        #[allow(clippy::len_without_is_empty)]
    141
        pub fn len(&self) -> usize {
  • stateright 0.29.0/src/actor/network.rs
    172
        /// Returns the number of messages in the network.
    173
        #[allow(clippy::len_without_is_empty)]
    174
        pub fn len(&self) -> usize {
  • stateright 0.29.0/src/semantics/linearizability.rs
    68
    #[allow(clippy::len_without_is_empty)] // no use case for an emptiness check
    69
    impl<T: Ord, RefObj: SequentialSpec> LinearizabilityTester<T, RefObj> {
  • stateright 0.29.0/src/semantics/sequential_consistency.rs
    62
    #[allow(clippy::len_without_is_empty)] // no use case for an emptiness check
    63
    impl<T: Ord, RefObj: SequentialSpec> SequentialConsistencyTester<T, RefObj> {
  • stateright 0.29.0/src/util/densenatmap.rs
    122
        /// Returns the number of elements in the map.
    123
        #[allow(clippy::len_without_is_empty)]
    124
        pub fn len(&self) -> usize { self.values.len() }
  • stens 0.9.0/src/collection.rs
    140
    #[allow(clippy::len_without_is_empty)]
    141
    impl<T, const MIN_LEN: u16> StrictVec<T, MIN_LEN>
    229
    {
    230
        #[allow(clippy::len_without_is_empty)]
    231
        pub fn len(&self) -> u16 { self.0.len() as u16 }
    334
    {
    335
        #[allow(clippy::len_without_is_empty)]
    336
        pub fn len(&self) -> u16 { self.0.len() as u16 }
    440
    impl<const MIN_LEN: u16> StrictStr<MIN_LEN> {
    441
        #[allow(clippy::len_without_is_empty)]
    442
        pub fn len(&self) -> u16 { self.0.len() as u16 }
    517
    impl<const MIN_LEN: u16, const MAX_LEN: u16> AsciiString<MIN_LEN, MAX_LEN> {
    518
        #[allow(clippy::len_without_is_empty)]
    519
        pub fn len(&self) -> u16 { self.0.len() as u16 }
  • sticker2 0.5.1/src/encoders/encoders.rs
    137
    #[allow(clippy::len_without_is_empty)]
    138
    impl Encoder {
  • stm32f4xx-hal 0.14.0/src/flash.rs
    36
    /// Flash methods implemented for `pac::FLASH`
    37
    #[allow(clippy::len_without_is_empty)]
    38
    pub trait FlashExt {
  • subplot 0.6.0/src/diagrams.rs
    81
        /// Number of bytes in the binary representation of the image.
    82
        #[allow(clippy::len_without_is_empty)] // is-empty doesn't make sense
    83
        pub fn len(&self) -> usize {
  • surf 2.3.2/src/request.rs
    277
        /// response length.
    278
        #[allow(clippy::len_without_is_empty)]
    279
        pub fn len(&self) -> Option<usize> {
  • surf 2.3.2/src/response.rs
    163
        /// response length.
    164
        #[allow(clippy::len_without_is_empty)]
    165
        pub fn len(&self) -> Option<usize> {
  • svd2rust 0.28.0/src/generate/array_proxy.rs
    15
    }
    16
    #[allow(clippy::len_without_is_empty)]
    17
    impl<T, const C: usize, const S: usize> ArrayProxy<T, C, S> {
  • swc_ecma_utils 0.107.5/src/parallel.rs
    28
    #[cfg(feature = "concurrent")]
    29
    #[allow(clippy::len_without_is_empty)]
    30
    pub trait Items:
    42
    #[cfg(not(feature = "concurrent"))]
    43
    #[allow(clippy::len_without_is_empty)]
    44
    pub trait Items: IntoIterator<Item = Self::Elem> {
  • syntaxdot 0.5.0-beta.2/src/encoders/encoders.rs
    137
    #[allow(clippy::len_without_is_empty)]
    138
    impl Encoder {
  • syntaxdot-encoders 0.5.0-beta.2/src/categorical/number.rs
    7
    /// Number a categorical variable.
    8
    #[allow(clippy::len_without_is_empty)]
    9
    pub trait Number<V>
  • syntaxdot-encoders 0.5.0-beta.2/src/lang/de/tdz/lemma/transform/mod.rs
    3
    #[allow(clippy::len_without_is_empty)]
    4
    pub trait DependencyGraph {
  • tari_mmr 0.9.5/src/mutable_mmr.rs
    82
        /// deletion.
    83
        #[allow(clippy::len_without_is_empty)]
    84
        #[inline(always)]
  • tau-engine 1.9.0/src/value.rs
    369
    /// ```
    370
    #[allow(clippy::len_without_is_empty)]
    371
    pub trait Array {
    534
    /// ```
    535
    #[allow(clippy::len_without_is_empty)]
    536
    pub trait Object {
  • tectonic_xetex_format 0.3.0/src/stringtable.rs
    33
    impl StringTable {
    34
        #[allow(clippy::len_without_is_empty)]
    35
        pub fn len(&self) -> usize {
  • teloxide-core 0.9.0/src/types/message_entity.rs
    178
        /// Returns the length of this entity in bytes for UTF-8 encoding.
    179
        #[allow(clippy::len_without_is_empty)]
    180
        #[must_use]
  • tensorgraph-math 0.1.11/src/dims.rs
    1
    #[allow(clippy::len_without_is_empty)]
    2
    pub trait Dimension: AsRef<[usize]> + AsMut<[usize]> + Clone {
  • terminal-emulator 0.1.0/src/grid/mod.rs
    372
    #[allow(clippy::len_without_is_empty)]
    373
    impl<T> Grid<T> {
  • terminal-emulator 0.1.0/src/grid/row.rs
    74
    #[allow(clippy::len_without_is_empty)]
    75
    impl<T> Row<T> {
  • termusic 0.7.8/src/player/rusty_backend/cpal/mod.rs
    451
    #[allow(clippy::len_without_is_empty)]
    452
    impl Data {
  • tetsy-libp2p-kad 0.29.0/src/addresses.rs
    31
    #[allow(clippy::len_without_is_empty)]
    32
    impl Addresses {
  • tetsy-scale-info 0.5.1/src/ty/mod.rs
    276
    #[allow(clippy::len_without_is_empty)]
    277
    impl<T> TypeDefArray<T>
  • thindx 0.0.0-unsound.5/src/headers/d3dcommon.h/interfaces/blob.rs
    144
        /// Get the length of the bytecode, in bytes.
    145
        #[allow(clippy::len_without_is_empty)] // An empty buffer is **not** valid DXBC or DXIL bytecode, and would thus be an invalid construction of this type!
    146
        pub fn len(&self)      -> usize { self.0.get_buffer_size() }
  • tiberius 0.12.0/src/row.rs
    327
        /// ```
    328
        #[allow(clippy::len_without_is_empty)]
    329
        pub fn len(&self) -> usize {
  • tokenizers 0.13.2/src/tokenizer/normalizer.rs
    36
    #[allow(clippy::len_without_is_empty)]
    37
    impl<T> Range<T>
  • tokio-async-std 1.5.3/src/stream/exact_size_stream.rs
    77
    /// ```
    78
    #[allow(clippy::len_without_is_empty)] // ExactSizeIterator::is_empty is unstable
    79
    #[cfg(feature = "unstable")]
  • tonic 0.8.3/src/metadata/value.rs
    435
    // is_empty is defined in the generic impl block above
    436
    #[allow(clippy::len_without_is_empty)]
    437
    impl MetadataValue<Ascii> {
  • tonic-arcanyx-fork 0.8.1-alpha.0/src/metadata/value.rs
    435
    // is_empty is defined in the generic impl block above
    436
    #[allow(clippy::len_without_is_empty)]
    437
    impl MetadataValue<Ascii> {
  • tor-circmgr 0.7.0/src/path.rs
    160
        /// Return the number of relays in this path.
    161
        #[allow(clippy::len_without_is_empty)]
    162
        pub fn len(&self) -> usize {
    202
        /// Return the number of hops in this path.
    203
        #[allow(clippy::len_without_is_empty)]
    204
        pub(crate) fn len(&self) -> usize {
  • tract-data 0.19.2/src/tensor/view.rs
    99
        #[inline]
    100
        #[allow(clippy::len_without_is_empty)]
    101
        pub fn len(&self) -> usize {
  • tract-data 0.19.2/src/tensor.rs
    402
        #[inline]
    403
        #[allow(clippy::len_without_is_empty)]
    404
        pub fn len(&self) -> usize {
  • trillium-http-types 0.0.3/src/content/content_length.rs
    33
    #[allow(clippy::len_without_is_empty)]
    34
    impl ContentLength {
  • trillium-http-types 0.0.3/src/other/retry_after.rs
    40
    #[allow(clippy::len_without_is_empty)]
    41
    impl RetryAfter {
  • tungstenite 0.18.0/src/protocol/frame/frame.rs
    87
        /// Get the size of the header formatted with given payload length.
    88
        #[allow(clippy::len_without_is_empty)]
    89
        pub fn len(&self, length: u64) -> usize {
  • tuple_len 2.0.0/src/lib.rs
    12
    #[allow(clippy::len_without_is_empty)]
    13
    pub trait TupleLen {
  • turtle-syntax 2.2.0-beta/src/lexing.rs
    44
    	#[inline(always)]
    45
    	#[allow(clippy::len_without_is_empty)]
    46
    	pub fn len(&self) -> usize { self.len }
  • twilight-http 0.15.0-rc.1/src/request/multipart.rs
    82
        /// Preview the built buffer's length without consuming the form.
    83
        #[allow(clippy::len_without_is_empty)]
    84
        pub fn len(&self) -> usize {
  • tx4-go-pion 0.0.1/src/go_buf.rs
    61
    #[derive(Debug)]
    62
    #[allow(clippy::len_without_is_empty)]
    63
    pub struct GoBuf(pub(crate) usize);
  • tx5 0.0.1-alpha.3/src/buf.rs
    62
    /// Tx5 buffer type for sending and receiving data.
    63
    #[allow(clippy::len_without_is_empty)]
    64
    pub struct Buf {
  • tx5-go-pion 0.0.1-alpha.3/src/go_buf.rs
    61
    #[derive(Debug)]
    62
    #[allow(clippy::len_without_is_empty)]
    63
    pub struct GoBuf(pub(crate) usize);
  • tygress 0.1.1/src/header/udp.rs
    59
        #[inline]
    60
        #[allow(clippy::len_without_is_empty)]
    61
        pub fn len(&self) -> u16 {
  • typed-path 0.2.1/src/windows/non_utf8/components/component/prefix.rs
    60
        /// Returns the size of the prefix in bytes
    61
        #[allow(clippy::len_without_is_empty)]
    62
        pub fn len(&self) -> usize {
    317
        #[inline]
    318
        #[allow(clippy::len_without_is_empty)]
    319
        pub fn len(&self) -> usize {
  • typed-path 0.2.1/src/windows/utf8/components/component/prefix.rs
    64
        /// Returns the size of the prefix in bytes
    65
        #[allow(clippy::len_without_is_empty)]
    66
        pub fn len(&self) -> usize {
    323
        #[inline]
    324
        #[allow(clippy::len_without_is_empty)]
    325
        pub fn len(&self) -> usize {
  • uapi 0.2.10/src/socket/linux/netlink.rs
    50
    #[beta]
    51
    #[allow(clippy::len_without_is_empty)]
    52
    pub trait NlmsgHeader: Sized {
  • ubench 0.0.0-alpha0/src/runner/mod.rs
    66
    #[allow(clippy::len_without_is_empty)]
    67
    pub trait RunnableBenchmarkList {
  • ubench 0.0.0-alpha0/src/runner/suite.rs
    58
    // benchmark suite).
    59
    #[allow(clippy::len_without_is_empty)]
    60
    pub trait RunnableSuiteBenchmarkList<Inp: Debug> {
  • udgraph 0.8.0/src/graph.rs
    178
    #[allow(clippy::len_without_is_empty)]
    179
    impl Sentence {
    379
    #[allow(clippy::len_without_is_empty)]
    380
    impl<'a> DepGraph<'a> {
    445
    #[allow(clippy::len_without_is_empty)]
    446
    impl<'a> DepGraphMut<'a> {
  • unic-ucd-name 0.9.0/src/name.rs
    52
    #[cfg_attr(feature = "cargo-clippy", allow(len_without_is_empty))]
    53
    impl Name {
  • v853-pac 0.0.1/src/generic.rs
    572
    }
    573
    #[allow(clippy::len_without_is_empty)]
    574
    impl<T, const C: usize, const S: usize> ArrayProxy<T, C, S> {
  • validators 0.24.3/src/traits.rs
    321
    /// For types which should have the a `len` method.
    322
    #[allow(clippy::len_without_is_empty)]
    323
    pub trait CollectionLength {
  • vec-reg-common 0.7.1/src/lib.rs
    82
        /// This is always at least 1, since every regex has at least one capture group that corresponds to the full match.
    83
        #[allow(clippy::len_without_is_empty)]
    84
        pub fn len(&self) -> usize {
  • vec-utils 0.3.0/src/vec/general_zip.rs
    51
    ///     in your own `next_unchecked`
    52
    #[allow(clippy::len_without_is_empty)]
    53
    pub unsafe trait TupleElem {
  • virtio-queue 0.7.0/src/descriptor.rs
    77
    #[allow(clippy::len_without_is_empty)]
    78
    impl Descriptor {
    186
    #[cfg(any(test, feature = "test-utils"))]
    187
    #[allow(clippy::len_without_is_empty)]
    188
    impl VirtqUsedElem {
  • virtual-memory 0.1.1/src/lib.rs
    98
        #[inline]
    99
        #[allow(clippy::len_without_is_empty)]
    100
        pub fn len(&self) -> usize {
  • vm-allocator 0.1.0/src/lib.rs
    167
    #[allow(clippy::len_without_is_empty)]
    168
    impl RangeInclusive {
  • vm-memory 0.10.0/src/bitmap/backend/atomic_bitmap.rs
    23
    #[allow(clippy::len_without_is_empty)]
    24
    impl AtomicBitmap {
  • vm-memory 0.10.0/src/guest_memory.rs
    174
    /// Represents a continuous region of guest physical memory.
    175
    #[allow(clippy::len_without_is_empty)]
    176
    pub trait GuestMemoryRegion: Bytes<MemoryRegionAddress, E = Error> {
  • vm-memory 0.10.0/src/volatile_memory.rs
    933
    #[allow(clippy::len_without_is_empty)]
    934
    impl<'a, T, B> VolatileRef<'a, T, B>
  • vmm-sys-util 0.11.1/src/fam.rs
    122
    /// ```
    123
    #[allow(clippy::len_without_is_empty)]
    124
    pub unsafe trait FamStruct {
  • voladdress 1.2.2/src/volblock.rs
    47
      #[must_use]
    48
      #[allow(clippy::len_without_is_empty)]
    49
      pub const fn len(self) -> usize {
  • voladdress 1.2.2/src/volseries.rs
    53
      #[must_use]
    54
      #[allow(clippy::len_without_is_empty)]
    55
      pub const fn len(self) -> usize {
  • volo-grpc 0.3.0/src/metadata/value.rs
    292
    // is_empty is defined in the generic impl block above
    293
    #[allow(clippy::len_without_is_empty)]
    294
    impl MetadataValue<Ascii> {
  • w5500-hl 0.9.0/src/hostname.rs
    11
    #[allow(clippy::len_without_is_empty)] // empty is not allowed by `new`
    12
    impl<'a> Hostname<'a> {
  • w5500-mqtt 0.1.2/src/client_id.rs
    88
        #[inline]
    89
        #[allow(clippy::len_without_is_empty)] // constructor validates client ID is not empty
    90
        pub const fn len(&self) -> u8 {
  • wasmer-vfs 3.2.0-alpha.1/src/lib.rs
    444
    #[allow(clippy::len_without_is_empty)] // Clippy thinks it's an iterator.
    445
    #[derive(Clone, Debug, Default)]
  • wayk_proto 0.2.6/src/header.rs
    10
    #[allow(clippy::len_without_is_empty)] // it doesn't make sense in our case
    11
    pub trait AbstractNowHeader {
  • webrtc-rs-rtcp 0.2.0/src/reception_report/reception_report_def.rs
    40
    #[allow(clippy::len_without_is_empty)]
    41
    impl ReceptionReport {
  • webrtc-rtcp 0.2.0/src/reception_report/reception_report_def.rs
    39
    #[allow(clippy::len_without_is_empty)]
    40
    impl ReceptionReport {
  • webrtc-util 0.7.0/src/conn/conn_bridge.rs
    114
        /// Len returns number of queued packets.
    115
        #[allow(clippy::len_without_is_empty)]
    116
        pub async fn len(&self, id: usize) -> usize {
  • wicker 0.2.0/src/lib.rs
    109
        #[must_use]
    110
        #[allow(clippy::len_without_is_empty)] // it can never be empty
    111
        pub fn len(&self) -> usize {
  • windows-permissions 0.2.4/src/structures/acl.rs
    51
        /// ```
    52
        #[allow(clippy::len_without_is_empty)]
    53
        pub fn len(&self) -> u32 {
  • wireless-regdb 0.1.0/src/binary.rs
    376
    // It holds a binary len, so will never be emtpy
    377
    #[allow(clippy::len_without_is_empty)]
    378
    impl BinaryCollection {
  • wlambda 0.8.1/src/nvec.rs
    29
    #[allow(clippy::len_without_is_empty)]
    30
    impl NVecDim {
  • wrflib_shader_compiler 0.0.3/src/swizzle.rs
    16
    #[allow(clippy::len_without_is_empty)]
    17
    impl Swizzle {
  • x11rb-protocol 0.11.1/src/protocol/xinput.rs
    940
    }
    941
    #[allow(clippy::len_without_is_empty)] // This is not a container and is_empty() makes no sense
    942
    impl DeviceName {
  • x264 0.5.0/src/data.rs
    7
    /// The encoded data, to be used in chunks or in its entirety.
    8
    #[allow(clippy::len_without_is_empty)]
    9
    pub struct Data<'a> {
  • xaynet-core 0.2.0/src/mask/masking.rs
    94
    #[allow(clippy::len_without_is_empty)]
    95
    impl Aggregation {
  • xaynet-core 0.2.0/src/mask/model.rs
    33
    #[allow(clippy::len_without_is_empty)]
    34
    impl Model {
  • xaynet-core 0.2.0/src/mask/object/serialization/vect.rs
    36
    #[allow(clippy::len_without_is_empty)]
    37
    impl<T: AsRef<[u8]>> MaskVectBuffer<T> {
  • xml-string 0.0.2/src/names/eqname.rs
    73
    #[allow(clippy::len_without_is_empty)]
    74
    impl Eqname {
  • xml-string 0.0.2/src/names/name.rs
    18
    #[allow(clippy::len_without_is_empty)]
    19
    impl Name {
  • xml-string 0.0.2/src/names/ncname.rs
    18
    #[allow(clippy::len_without_is_empty)]
    19
    impl Ncname {
  • xml-string 0.0.2/src/names/nmtoken.rs
    18
    #[allow(clippy::len_without_is_empty)]
    19
    impl Nmtoken {
  • xml-string 0.0.2/src/names/qname.rs
    19
    #[allow(clippy::len_without_is_empty)]
    20
    impl Qname {
    431
    #[allow(clippy::len_without_is_empty)]
    432
    impl<'a> ParsedQname<'a> {
  • xml-string 0.0.2/src/names/uri_qualified_name.rs
    20
    #[allow(clippy::len_without_is_empty)]
    21
    impl UriQualifiedName {
    375
    #[allow(clippy::len_without_is_empty)]
    376
    impl<'a> ParsedUriQualifiedName<'a> {
  • ya-smoltcp 0.1.0/src/wire/tcp.rs
    755
    #[allow(clippy::len_without_is_empty)]
    756
    impl Control {
  • ya-smoltcp 0.1.0/src/wire/udp.rs
    33
    #[allow(clippy::len_without_is_empty)]
    34
    impl<T: AsRef<[u8]>> Packet<T> {
  • yewtil 0.4.0/src/ptr/lrc.rs
    170
    #[allow(clippy::len_without_is_empty)] // If it is empty, the Lrc is destroyed, therefore is_empty is useless
    171
    impl<T> Lrc<T> {
  • yubihsm 0.41.0/src/asymmetric/public_key.rs
    31
    #[allow(clippy::len_without_is_empty)]
    32
    impl PublicKey {
  • yubihsm 0.41.0/src/attestation/certificate.rs
    7
    #[allow(clippy::len_without_is_empty)]
    8
    impl Certificate {
  • yubihsm 0.41.0/src/hmac/tag.rs
    9
    #[allow(clippy::len_without_is_empty)]
    10
    impl Tag {
  • yubihsm 0.41.0/src/rsa/oaep/decrypted_data.rs
    9
    #[allow(clippy::len_without_is_empty)]
    10
    impl DecryptedData {
  • yubihsm 0.41.0/src/rsa/pkcs1/signature.rs
    9
    #[allow(clippy::len_without_is_empty)]
    10
    impl Signature {
  • yubihsm 0.41.0/src/rsa/pss/signature.rs
    9
    #[allow(clippy::len_without_is_empty)]
    10
    impl Signature {
  • zaplib_shader_compiler 0.0.3/src/swizzle.rs
    10
    #[allow(clippy::len_without_is_empty)]
    11
    impl Swizzle {
  • amadeus-types 0.4.3/src/list.rs
    1
    #![allow(clippy::len_without_is_empty)]
  • arrow2 0.15.0/src/lib.rs
    5
    //
    6
    #![allow(clippy::len_without_is_empty)]
    7
    // this landed on 1.60. Let's not force everyone to bump just yet
  • awint_core 0.8.0/src/lib.rs
    19
    // There are many guaranteed nonzero lengths
    20
    #![allow(clippy::len_without_is_empty)]
    21
    // We are using special indexing everywhere
  • awint_ext 0.8.0/src/lib.rs
    12
    // There are many guaranteed nonzero lengths
    13
    #![allow(clippy::len_without_is_empty)]
    14
    // We are using special indexing everywhere
  • aya 0.11.0/src/lib.rs
    32
    #![deny(clippy::all, missing_docs)]
    33
    #![allow(clippy::missing_safety_doc, clippy::len_without_is_empty)]
  • bevy_crevice 0.7.0/src/lib.rs
    3
        clippy::needless_update,
    4
        clippy::len_without_is_empty,
    5
        clippy::needless_range_loop,
  • bitar 0.10.0/src/chunk.rs
    1
    #![allow(clippy::len_without_is_empty)]
    2
    use bytes::Bytes;
  • caminos-lib 0.5.2/src/lib.rs
    288
    	#![allow(clippy::let_and_return)]
    289
    	#![allow(clippy::len_without_is_empty)]
    290
    	// What is the more appropiate way to iterate a couple arrays of same size, while also using the index itself?
  • cbor_enhanced 0.1.1/src/types/mod.rs
    1
    #![allow(clippy::len_without_is_empty)]
    2
    use nom::number::complete::{be_u16, be_u64, be_u8};
  • cess-sp-core 0.1.2/src/merkle/mod.rs
    1
    #![allow(clippy::len_without_is_empty)]
  • cess-sp-core 0.1.2/src/merkle/proof.rs
    1
    #![allow(clippy::len_without_is_empty)]
  • cess-sp-core 0.1.2/src/merkle/tree.rs
    1
    #![allow(clippy::len_without_is_empty)]
  • choir 0.5.0/src/lib.rs
    22
        clippy::unknown_clippy_lints,
    23
        clippy::len_without_is_empty,
    24
        clippy::should_implement_trait
  • con-art-rust 0.2.0/src/lib.rs
    45
    #![allow(clippy::enum_variant_names)]
    46
    #![allow(clippy::len_without_is_empty)]
    47
    #![allow(clippy::collapsible_if)]
  • congee 0.2.18/src/lib.rs
    2
    #![allow(clippy::comparison_chain)]
    3
    #![allow(clippy::len_without_is_empty)]
    4
    #![cfg_attr(doc_cfg, feature(doc_cfg))]
  • cretonne-codegen 0.13.2/src/lib.rs
    32
                    useless_let_if_seq,
    33
                    len_without_is_empty))]
    34
    #![cfg_attr(
  • cxx 1.0.88/src/lib.rs
    383
        clippy::large_enum_variant,
    384
        clippy::len_without_is_empty,
    385
        clippy::missing_errors_doc,
  • deflect 0.1.0/src/lib.rs
    75
    #![allow(clippy::len_without_is_empty, clippy::needless_lifetimes)]
    76
    #![deny(missing_docs)]
  • deserr 0.3.0/src/lib.rs
    1
    #![doc = include_str!("../README.md")]
    2
    #![allow(clippy::len_without_is_empty)]
    3
    mod default_error;
  • dns-message-parser 0.7.0/src/lib.rs
    1
    #![allow(clippy::upper_case_acronyms)]
    2
    #![allow(clippy::len_without_is_empty)]
    3
    #![allow(non_camel_case_types)]
  • encode_unicode 1.0.0/src/lib.rs
    45
        clippy::derive_hash_xor_eq,// tested
    46
        clippy::len_without_is_empty,// the character types are never empty
    47
        clippy::needless_return,// `foo.bar();\n foo` looks unfinished
  • envoy_http 0.2.2/src/lib.rs
    50
    #![warn(missing_docs, unreachable_pub, future_incompatible, rust_2018_idioms)]
    51
    #![allow(clippy::len_without_is_empty)]
    52
    #![doc(test(attr(deny(warnings))))]
  • ergo-lib-wasm 0.22.0/src/lib.rs
    14
    #![allow(clippy::new_without_default)]
    15
    #![allow(clippy::len_without_is_empty)]
    16
    #![allow(clippy::unused_unit)]
  • evebox 0.13.0/src/lib.rs
    22
    #![allow(clippy::redundant_field_names)]
    23
    #![allow(clippy::len_without_is_empty)]
    24
    #![allow(clippy::needless_update)]
  • flowistry 0.5.34/src/lib.rs
    47
      clippy::len_zero,
    48
      clippy::len_without_is_empty,  
    49
    )]
  • fluvio-dataplane-protocol 0.11.6/src/lib.rs
    1
    #![allow(clippy::len_without_is_empty)]
    2
    #![allow(clippy::should_implement_trait)]
  • fluvio-protocol 0.8.3/src/record/mod.rs
    1
    #![allow(clippy::len_without_is_empty)]
    2
    #![allow(clippy::should_implement_trait)]
  • fm-index 0.1.2/src/lib.rs
    112
    //! MIT
    113
    #![allow(clippy::len_without_is_empty)]
  • fmmap 0.3.2/src/lib.rs
    110
        unused_macros,
    111
        clippy::len_without_is_empty,
    112
        clippy::upper_case_acronyms
  • fs-tracing 0.1.0/src/lib.rs
    59
    // std does not have ones.
    60
    #![allow(clippy::new_without_default, clippy::len_without_is_empty)]
  • fuzzcheck 0.12.1/src/lib.rs
    41
    #![allow(clippy::collapsible_else_if)]
    42
    #![allow(clippy::len_without_is_empty)]
    43
    #![allow(clippy::nonminimal_bool)]
  • fyrox-sound 0.30.0/src/dsp/mod.rs
    2
    // need to define is_empty() method.
    3
    #![allow(clippy::len_without_is_empty)]
  • glium 0.32.1/src/lib.rs
    107
        clippy::len_zero,
    108
        clippy::len_without_is_empty,
    109
        clippy::if_same_then_else,
  • grafix-toolbox 0.8.7/kit/utility/tuple/mod.rs
    1
    #![allow(clippy::len_without_is_empty, clippy::wrong_self_convention)]
    2
    mod apply;
  • horde 0.1.1/src/lib.rs
    15
    )]
    16
    #![allow(clippy::len_without_is_empty, clippy::type_complexity)]
  • hrtf 0.8.0/src/lib.rs
    39
    #![allow(clippy::len_without_is_empty)]
    40
    #![allow(clippy::many_single_char_names)]
  • interledger-packet 0.4.0/src/address.rs
    5
    // Addresses are never empty.
    6
    #![allow(clippy::len_without_is_empty)]
  • kas-text 0.6.0/src/fonts/library.rs
    8
    #![allow(clippy::len_without_is_empty)]
  • konst_kernel 0.3.4/src/string/string_for_konst.rs
    1
    #![allow(clippy::len_without_is_empty)]
  • lapce-xi-rope 0.3.1/src/lib.rs
    18
        clippy::collapsible_if,
    19
        clippy::len_without_is_empty,
    20
        clippy::many_single_char_names,
  • lb64 0.1.2/src/lib.rs
    49
    // Requiring a is_empty function doesn't make sense in this context
    50
    #![allow(clippy::len_without_is_empty)]
    51
    extern crate rand;
  • loaf 0.2.0-alpha2/src/lib.rs
    1
    #![no_std]
    2
    #![allow(clippy::len_without_is_empty)] // Loaf is never empty, clippy ;)
    3
    #![allow(clippy::needless_return)]
  • lofty 0.11.0/src/lib.rs
    133
    	clippy::tabs_in_doc_comments,
    134
    	clippy::len_without_is_empty,
    135
    	clippy::needless_late_init,
  • lol_html 0.3.2/src/memory/limited_vec.rs
    1
    #![allow(clippy::len_without_is_empty)]
  • lorawan 0.7.1/src/maccommands.rs
    29
    impl<'a> MacCommand<'a> {
    30
        #![allow(clippy::len_without_is_empty)]
    31
        pub fn len(&self) -> usize {
  • lrpar 0.13.1/src/lib/lex_api.rs
    1
    #![allow(clippy::len_without_is_empty)]
  • lrpar 0.13.1/src/lib/test_utils.rs
    1
    #![allow(clippy::len_without_is_empty)]
  • ltrs 0.1.0/src/lib.rs
    12
    #![warn(missing_docs)]
    13
    #![allow(clippy::len_without_is_empty)]
  • mio-signals 0.2.0/src/lib.rs
    37
    // `SignalSet` can never be empty, thus an `is_empty` method doesn't make sense.
    38
    #![allow(clippy::len_without_is_empty)]
  • modalkit 0.0.10/src/lib.rs
    82
    #![allow(clippy::field_reassign_with_default)]
    83
    #![allow(clippy::len_without_is_empty)]
    84
    #![allow(clippy::manual_range_contains)]
  • nakamoto-common 0.4.0/src/block/store.rs
    1
    //! Block header storage.
    2
    #![allow(clippy::len_without_is_empty)]
    3
    use crate::block::Height;
  • 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)]
  • ntex-amqp-codec 0.9.0/src/lib.rs
    1
    #![allow(clippy::mutable_key_type, clippy::len_without_is_empty)]
  • ntex-h2 0.2.1/src/hpack/header.rs
    1
    #![allow(clippy::len_without_is_empty)]
    2
    use std::convert::TryFrom;
  • object 0.30.3/src/read/read_ref.rs
    1
    #![allow(clippy::len_without_is_empty)]
  • openvino 0.4.2/src/lib.rs
    24
        clippy::missing_errors_doc,
    25
        clippy::len_without_is_empty
    26
    )]
  • patract-wasmi 0.9.1/src/lib.rs
    98
    #![cfg_attr(not(feature = "std"), no_std)]
    99
    #![allow(clippy::len_without_is_empty)]
    100
    #![allow(clippy::new_ret_no_self)]
  • plonky2_field 0.1.0/src/lib.rs
    4
    #![allow(clippy::type_complexity)]
    5
    #![allow(clippy::len_without_is_empty)]
    6
    #![allow(clippy::needless_range_loop)]
  • plonky2_util 0.1.0/src/lib.rs
    3
    #![allow(clippy::type_complexity)]
    4
    #![allow(clippy::len_without_is_empty)]
    5
    #![allow(clippy::needless_range_loop)]
  • pqcrypto-classicmceliece 0.1.7/src/lib.rs
    23
    #![no_std]
    24
    #![allow(clippy::len_without_is_empty)]
  • pqcrypto-classicmceliece-wasi 0.1.8/src/lib.rs
    23
    #![no_std]
    24
    #![allow(clippy::len_without_is_empty)]
  • pqcrypto-dilithium 0.4.6/src/lib.rs
    16
    #![no_std]
    17
    #![allow(clippy::len_without_is_empty)]
  • pqcrypto-dilithium-wasi 0.4.7/src/lib.rs
    13
    #![no_std]
    14
    #![allow(clippy::len_without_is_empty)]
  • pqcrypto-falcon 0.2.10/src/lib.rs
    12
    #![no_std]
    13
    #![allow(clippy::len_without_is_empty)]
  • pqcrypto-falcon-wasi 0.2.14/src/lib.rs
    12
    #![no_std]
    13
    #![allow(clippy::len_without_is_empty)]
  • pqcrypto-frodo 0.4.11/src/lib.rs
    21
    #![no_std]
    22
    #![allow(clippy::len_without_is_empty)]
  • pqcrypto-frodo-wasi 0.4.12/src/lib.rs
    21
    #![no_std]
    22
    #![allow(clippy::len_without_is_empty)]
  • pqcrypto-hqc 0.1.6/src/lib.rs
    13
    #![no_std]
    14
    #![allow(clippy::len_without_is_empty)]
  • pqcrypto-hqc-wasi 0.1.6/src/lib.rs
    13
    #![no_std]
    14
    #![allow(clippy::len_without_is_empty)]
  • pqcrypto-kyber 0.7.6/src/lib.rs
    16
    #![no_std]
    17
    #![allow(clippy::len_without_is_empty)]
  • pqcrypto-kyber-wasi 0.7.6/src/lib.rs
    16
    #![no_std]
    17
    #![allow(clippy::len_without_is_empty)]
  • pqcrypto-ledacryptkem 0.0.4/src/lib.rs
    18
    #![allow(clippy::len_without_is_empty)]
    19
    #![cfg_attr(not(feature = "cryptographically-insecure"), deny(deprecated))]
  • pqcrypto-mqdss 0.3.0/src/lib.rs
    12
    #![allow(clippy::len_without_is_empty)]
  • pqcrypto-newhope 0.1.2/src/lib.rs
    14
    #![allow(clippy::len_without_is_empty)]
  • pqcrypto-ntru 0.5.8/src/lib.rs
    16
    #![no_std]
    17
    #![allow(clippy::len_without_is_empty)]
  • pqcrypto-ntru-wasi 0.5.11/src/lib.rs
    16
    #![no_std]
    17
    #![allow(clippy::len_without_is_empty)]
  • pqcrypto-ntruprime 0.1.6/src/lib.rs
    22
    #![no_std]
    23
    #![allow(clippy::len_without_is_empty)]
  • pqcrypto-ntruprime-wasi 0.1.7/src/lib.rs
    22
    #![no_std]
    23
    #![allow(clippy::len_without_is_empty)]
  • pqcrypto-qtesla 0.1.1/src/lib.rs
    12
    #![allow(clippy::len_without_is_empty)]
  • pqcrypto-rainbow 0.3.0/src/lib.rs
    23
    #![no_std]
    24
    #![allow(clippy::len_without_is_empty)]
  • pqcrypto-rainbow-wasi 0.2.6/src/lib.rs
    22
    #![no_std]
    23
    #![allow(clippy::len_without_is_empty)]
  • pqcrypto-saber 0.1.11/src/lib.rs
    13
    #![no_std]
    14
    #![allow(clippy::len_without_is_empty)]
  • pqcrypto-saber-wasi 0.1.12/src/lib.rs
    13
    #![no_std]
    14
    #![allow(clippy::len_without_is_empty)]
  • pqcrypto-sphincsplus 0.6.4/src/lib.rs
    46
    #![no_std]
    47
    #![allow(clippy::len_without_is_empty)]
  • pqcrypto-sphincsplus-wasi 0.6.5/src/lib.rs
    46
    #![no_std]
    47
    #![allow(clippy::len_without_is_empty)]
  • pqcrypto-threebears 0.2.0/src/lib.rs
    16
    #![allow(clippy::len_without_is_empty)]
  • pro_storage 3.0.0-rc2/src/collections/bitvec/bitref.rs
    15
    #![allow(clippy::len_without_is_empty)]
  • pro_storage 3.0.0-rc2/src/collections/bitvec/bitsref.rs
    15
    #![allow(clippy::len_without_is_empty)]
  • quickwit-storage 0.3.0/src/lib.rs
    21
    #![allow(clippy::bool_assert_comparison)]
    22
    #![allow(clippy::len_without_is_empty)]
  • quinn-proto 0.9.2/src/packet.rs
    27
    impl PartialDecode {
    28
        #![allow(clippy::len_without_is_empty)]
    29
        pub fn new(
  • rg3d-sound 0.26.0/src/dsp/mod.rs
    2
    // need to define is_empty() method.
    3
    #![allow(clippy::len_without_is_empty)]
  • scaproust 0.3.2/src/lib.rs
    55
    #![cfg_attr(feature = "cargo-clippy", allow(bool_comparison))]
    56
    #![cfg_attr(feature = "cargo-clippy", allow(len_without_is_empty))]
  • slice-deque 0.3.0/src/lib.rs
    133
    #![allow(
    134
        clippy::len_without_is_empty,
    135
        clippy::shadow_reuse,
  • slice-rbtree 0.1.0/src/forest.rs
    69
    // Added this, because this lint ignores, that len() method also has different signature
    70
    #![allow(clippy::len_without_is_empty)]
  • slice-ring-buffer 0.3.2/src/lib.rs
    133
    #![allow(
    134
        clippy::len_without_is_empty,
    135
        clippy::shadow_reuse,
  • soroban-wasmi 0.16.0-soroban2/src/table.rs
    1
    #![allow(clippy::len_without_is_empty)]
  • spritec 0.1.0/src/bin/spritec/main.rs
    9
        clippy::redundant_closure,
    10
        clippy::len_without_is_empty,
    11
        clippy::large_enum_variant,
  • spritec 0.1.0/src/lib.rs
    18
        clippy::redundant_closure,
    19
        clippy::len_without_is_empty,
    20
        clippy::large_enum_variant,
  • starlark 0.8.0/src/lib.rs
    380
    #![allow(clippy::should_implement_trait)]
    381
    #![allow(clippy::len_without_is_empty)]
    382
    #![allow(clippy::match_like_matches_macro)]
  • storage-proofs-core 12.0.0/src/merkle/mod.rs
    1
    #![allow(clippy::len_without_is_empty)]
  • storage-proofs-core 12.0.0/src/merkle/proof.rs
    1
    #![allow(clippy::len_without_is_empty)]
  • storage-proofs-core 12.0.0/src/merkle/tree.rs
    1
    #![allow(clippy::len_without_is_empty)]
  • summavy 0.25.3/src/lib.rs
    5
    #![allow(
    6
        clippy::len_without_is_empty,
    7
        clippy::derive_partial_eq_without_eq,
  • summavy-common 0.5.0/src/lib.rs
    1
    #![allow(clippy::len_without_is_empty)]
  • tantivy 0.19.1/src/lib.rs
    12
    #![warn(missing_docs)]
    13
    #![allow(clippy::len_without_is_empty)]
    14
    #![allow(clippy::derive_partial_eq_without_eq)]
  • tantivy-common 0.4.0/src/lib.rs
    1
    #![allow(clippy::len_without_is_empty)]
  • tantivy-nightly 0.17.0/src/lib.rs
    12
    #![warn(missing_docs)]
    13
    #![allow(clippy::len_without_is_empty)]
  • tide 0.17.0-beta.1/src/lib.rs
    59
    #![warn(missing_docs, unreachable_pub, future_incompatible, rust_2018_idioms)]
    60
    #![allow(clippy::len_without_is_empty)]
    61
    #![doc(test(attr(deny(warnings))))]
  • ux-dx 0.2.1/src/lib.rs
    65
        clippy::approx_constant,
    66
        clippy::len_without_is_empty,
    67
    )]
  • vid_dup_finder 0.1.2/src/main.rs
    1
    #![allow(clippy::let_and_return)]
    2
    #![allow(clippy::len_without_is_empty)]
  • vid_dup_finder_lib 0.1.1/src/lib.rs
    1
    #![allow(clippy::len_without_is_empty)]
  • vulkano 0.32.3/src/lib.rs
    70
        clippy::large_enum_variant,
    71
        clippy::len_without_is_empty,
    72
        clippy::missing_safety_doc, // TODO: remove
  • xcb 1.2.0/src/lib.rs
    35
    #![allow(unused_parens)]
    36
    #![allow(clippy::len_without_is_empty)]
    37
    #![allow(clippy::diverging_sub_expression)]
  • xi-rope 0.3.0/src/lib.rs
    18
        clippy::collapsible_if,
    19
        clippy::len_without_is_empty,
    20
        clippy::many_single_char_names,
  • xorf 0.8.1/src/lib.rs
    68
    #![allow(
    69
        clippy::len_without_is_empty,
    70
        clippy::useless_attribute,
  • zerogc 0.2.0-alpha.7/src/array/repr.rs
    8
    #![allow(
    9
        clippy::len_without_is_empty, // This is really an internal interface...
    10
    )]