• alacritty 0.11.0/src/event.rs
    380
            // Reuse the arguments passed to Alacritty for the new instance.
    381
            #[allow(clippy::while_let_on_iterator)]
    382
            while let Some(arg) = env_args.next() {
  • aptos-sdk-builder 0.2.7/tests/cli.rs
    55
    #[allow(clippy::while_let_on_iterator)]
    56
    fn get_bash_quotes<R>(reader: R) -> std::io::Result<Vec<String>>
  • baze64 0.2.0/src/base64string.rs
    23
            #[allow(clippy::while_let_on_iterator)] // Ownership shenanigans necessitate this
    24
            while let Some(chunk) = chunks.next() {
  • bincode 2.0.0-rc.2/src/de/impl_core.rs
    20
    /// dropped.
    21
    #[allow(clippy::while_let_on_iterator)]
    22
    pub fn collect_into_array<E, I, T, const N: usize>(iter: &mut I) -> Option<Result<[T; N], E>>
  • bincode-purplecoin 2.0.0-rc.2/src/de/impl_core.rs
    20
    /// dropped.
    21
    #[allow(clippy::while_let_on_iterator)]
    22
    pub fn collect_into_array<E, I, T, const N: usize>(iter: &mut I) -> Option<Result<[T; N], E>>
  • bookbinder_epub 0.1.1/src/lib.rs
    1095
            #[allow(clippy::while_let_on_iterator)]
    1096
            while let Some(event) = events.next() {
  • bookbinder_latex 0.1.1/src/lib.rs
    674
                        #[allow(clippy::while_let_on_iterator)]
    675
                        while let Some(event) = footnote_events.next() {
  • bresenham_zip 1.0.0/src/zip.rs
    40
    	#[allow(clippy::while_let_on_iterator)]  // needs to be like that to keep using the iterator
    41
    	fn next(&mut self) -> Option<Self::Item> {
  • bresenham_zip 1.0.0/src/zip_3d.rs
    40
    	#[allow(clippy::while_let_on_iterator)]  // needs to be like that to keep using the iterator
    41
    	fn next(&mut self) -> Option<Self::Item> {
  • cbindgen 0.24.3/src/bindgen/cdecl.rs
    209
            #[allow(clippy::while_let_on_iterator)]
    210
            while let Some(declarator) = iter_rev.next() {
    251
            #[allow(clippy::while_let_on_iterator)]
    252
            while let Some(declarator) = iter.next() {
  • close_fds 0.3.2/src/closefds/close.rs
    39
        // We have to use a while loop so we can drop() the iterator in the closefrom() case
    40
        #[allow(clippy::while_let_on_iterator)]
    41
        while let Some(fd) = fditer.next() {
  • cpp_build 0.5.7/src/strnom.rs
    299
        let mut n = 0;
    300
        #[allow(clippy::while_let_on_iterator)] //chars is used in the next loop
    301
        while let Some((byte_offset, ch)) = chars.next() {
  • devrc 0.4.0/src/interpreter.rs
    181
            if let Some(value) = parts.next() {
    182
                #[allow(clippy::while_let_on_iterator)]
    183
                while let Some(arg) = parts.next() {
  • domain 0.7.1/src/resolv/lookup/addr.rs
    81
        #[allow(clippy::while_let_on_iterator)]
    82
        fn next(&mut self) -> Option<Self::Item> {
  • domain-resolv 0.5.1/src/lookup/addr.rs
    79
        #[allow(clippy::while_let_on_iterator)]
    80
        fn next(&mut self) -> Option<Self::Item> {
  • dropin-bootstrap 0.5.3-4/src/syntaxes/mod.rs
    119
      let mut result: Option<&str> = None;
    120
      #[allow(clippy::while_let_on_iterator)] // if `for` is used, iter is moved
    121
      while let Some((i, c)) = iter.next() {
  • elephantry 3.0.0/src/sql/array.rs
    119
            #[allow(clippy::while_let_on_iterator)]
    120
            while let Some(c) = it.next() {
    138
            #[allow(clippy::while_let_on_iterator)]
    139
            while let Some(c) = it.next() {
  • fdt 0.1.4/src/lib.rs
    342
                #[allow(clippy::while_let_on_iterator)]
    343
                while let Some(child) = child_iter.next() {
  • flatk 0.5.2/src/subset.rs
    302
        /// Checks that the given set of indices are sorted by the given compare function.
    303
        #[allow(clippy::while_let_on_iterator)]
    304
        fn is_sorted_by<F>(indices: &I, mut compare: F) -> bool
  • fm 0.2.1/src/lib.rs
    307
        /// will fail if the user sets `ignore_surrounding_blank_lines` to `false`!).
    308
        #[allow(clippy::while_let_on_iterator)]
    309
        fn skip_blank_lines(
  • glsl-lang-lexer 0.4.1/src/v2_min/str.rs
    80
            // allow: we need to release the borrow on self.inner to call input
    81
            #[allow(clippy::while_let_on_iterator)]
    82
            while let Some(token) = self.inner.next() {
  • glsl-lang-pp 0.4.1/src/last.rs
    381
            #[allow(clippy::while_let_on_iterator)]
    382
            while let Some(result) = tokenizer.next() {
  • graphannis 2.4.2/src/annis/db/relannis.rs
    1352
                        // We can't borrow the iterator here (would not be an iterator) and we can't own it using a for-loop
    1353
                        #[allow(clippy::while_let_on_iterator)]
    1354
                        while let Some(c) = text_char_it.next() {
  • jmap-client 0.2.0/src/event_source/parser.rs
    70
        pub fn filter_state(&mut self) -> Option<crate::Result<Changes>> {
    71
            #[allow(clippy::while_let_on_iterator)]
    72
            while let Some(event) = self.next() {
    259
                #[allow(clippy::while_let_on_iterator)]
    260
                while let Some(event) = parser.next() {
  • liquid-core 0.26.0/src/parser/parser.rs
    348
            #[allow(clippy::while_let_on_iterator)]
    349
            while let Some(element) = self.iter.next() {
  • luallaby 0.1.0-alpha.3/src/token.rs
    586
            // False positive, iterator is also used on inside
    587
            #[allow(clippy::while_let_on_iterator)]
    588
            while let Some((pos, char)) = self.input.next() {
  • mail-auth 0.3.0/src/arc/parse.rs
    25
    impl Signature {
    26
        #[allow(clippy::while_let_on_iterator)]
    27
        pub fn parse(header: &'_ [u8]) -> crate::Result<Self> {
    94
    impl Seal {
    95
        #[allow(clippy::while_let_on_iterator)]
    96
        pub fn parse(header: &'_ [u8]) -> crate::Result<Self> {
    160
    impl Results {
    161
        #[allow(clippy::while_let_on_iterator)]
    162
        pub fn parse(header: &'_ [u8]) -> crate::Result<Self> {
  • mail-auth 0.3.0/src/common/parse.rs
    60
    impl TagParser for Iter<'_, u8> {
    61
        #[allow(clippy::while_let_on_iterator)]
    62
        fn key(&mut self) -> Option<u64> {
    93
        #[allow(clippy::while_let_on_iterator)]
    94
        fn value(&mut self) -> u64 {
    122
        #[allow(clippy::while_let_on_iterator)]
    123
        fn flag_value(&mut self) -> (u64, u8) {
    151
        #[inline(always)]
    152
        #[allow(clippy::while_let_on_iterator)]
    153
        fn match_bytes(&mut self, bytes: &[u8]) -> bool {
    188
        #[inline(always)]
    189
        #[allow(clippy::while_let_on_iterator)]
    190
        fn text_qp(&mut self, mut tag: Vec<u8>, to_lower: bool, stop_comma: bool) -> String {
  • mail-auth 0.3.0/src/dkim/parse.rs
    46
    impl Signature {
    47
        #[allow(clippy::while_let_on_iterator)]
    48
        pub fn parse(header: &'_ [u8]) -> crate::Result<Self> {
    243
    impl TxtRecordParser for DomainKey {
    244
        #[allow(clippy::while_let_on_iterator)]
    245
        fn parse(header: &[u8]) -> crate::Result<Self> {
  • mamba 0.3.6/src/parse/lex/mod.rs
    21
    /// Should never panic.
    22
    #[allow(clippy::while_let_on_iterator)]
    23
    pub fn tokenize(input: &str) -> LexResult {
  • maud 0.24.0/tests/control_structures.rs
    70
        #[allow(clippy::while_let_on_iterator)]
    71
        let result = html! {
  • maud-live-view 0.24.3/tests/control_structures.rs
    70
        #[allow(clippy::while_let_on_iterator)]
    71
        let result = html! {
  • mki 0.2.3/src/linux/mod.rs
    40
            libinput.dispatch().unwrap();
    41
            #[allow(clippy::while_let_on_iterator)]
    42
            while let Some(event) = libinput.next() {
  • mki_fork 0.2.1/src/linux/mod.rs
    40
            libinput.dispatch().unwrap();
    41
            #[allow(clippy::while_let_on_iterator)]
    42
            while let Some(event) = libinput.next() {
  • msvc-demangler 0.9.0/tests/test_llvm.rs
    49
                {
    50
                    #[allow(clippy::while_let_on_iterator)]
    51
                    while let Some(next) = rule_iter.next() {
  • opening-hours 0.6.4/src/utils/range.rs
    101
            if let Some(ref mut current) = current_opt {
    102
                #[allow(clippy::while_let_on_iterator)]
    103
                while let Some(item) = ranges.next() {
  • openssl 0.10.45/src/stack.rs
    144
                // https://github.com/rust-lang/rust-clippy/issues/7510
    145
                #[allow(clippy::while_let_on_iterator)]
    146
                while let Some(_) = self.next() {}
  • ostree-ext 0.10.5/src/tar/export.rs
    710
    /// Process an exported tar stream, and update the detached metadata.
    711
    #[allow(clippy::while_let_on_iterator)]
    712
    #[context("Replacing detached metadata")]
  • ovr-vsdb 0.34.3/src/versioned/mapx_raw/backend.rs
    1276
        #[allow(clippy::while_let_on_iterator)]
    1277
        fn next(&mut self) -> Option<Self::Item> {
    1295
    impl DoubleEndedIterator for MapxRawVsIter<'_> {
    1296
        #[allow(clippy::while_let_on_iterator)]
    1297
        fn next_back(&mut self) -> Option<Self::Item> {
  • pdbtbx 0.10.1/src/read/pdb/validate.rs
    130
                            ));
    131
                            #[allow(clippy::while_let_on_iterator)]
    132
                            while let Some(n) = chain_res.next() {
  • piet-coregraphics 0.6.2/src/text.rs
    879
    /// Returns metrics, x_offsets, and the max width including trailing whitespace.
    880
    #[allow(clippy::while_let_on_iterator)]
    881
    fn build_line_metrics(
  • rincon_core 0.1.0/src/api/types/mod.rs
    710
        }
    711
        #[cfg_attr(feature = "cargo-clippy", allow(while_let_on_iterator))]
    712
        while let Some(value) = iter.next() {
  • ropey 1.5.1/examples/search_and_replace.rs
    156
        fn next(&mut self) -> Option<(usize, usize)> {
    157
            #[allow(clippy::while_let_on_iterator)]
    158
            while let Some(next_char) = self.char_iter.next() {
  • routing 0.37.1/src/routing_table/mod.rs
    138
        #[cfg_attr(feature = "cargo-clippy", allow(while_let_on_iterator))]
    139
        fn next(&mut self) -> Option<&'a T> {
  • sieve-rs 0.2.1/src/runtime/actions/action_notify.rs
    200
                let mut buf = [0; 4];
    201
                #[allow(clippy::while_let_on_iterator)]
    202
                while let Some((pos, char)) = iter.next() {
  • sieve-rs 0.2.1/src/runtime/actions/action_vacation.rs
    214
                                #[allow(clippy::while_let_on_iterator)]
    215
                                while let Some((pos, char)) = iter.next() {
  • sieve-rs 0.2.1/src/runtime/context.rs
    94
        #[allow(clippy::while_let_on_iterator)]
    95
        pub fn run(&mut self, input: Input) -> Option<Result<Event, RuntimeError>> {
  • signal-backup-decode 0.2.3/src/main.rs
    55
    		// in the loop. This does not work with a simple for loop.
    56
    		#[allow(clippy::while_let_on_iterator)]
    57
    		while let Some(frame) = reader.next() {
  • slice-deque 0.3.0/src/lib.rs
    1702
        fn extend_desugared<I: Iterator<Item = T>>(&mut self, mut iterator: I) {
    1703
            #[allow(clippy::while_let_on_iterator)]
    1704
            while let Some(element) = iterator.next() {
  • slice-ring-buffer 0.3.2/src/lib.rs
    1702
        fn extend_desugared<I: Iterator<Item = T>>(&mut self, mut iterator: I) {
    1703
            #[allow(clippy::while_let_on_iterator)]
    1704
            while let Some(element) = iterator.next() {
  • smt2parser 0.6.1/src/lib.rs
    104
        #[allow(clippy::while_let_on_iterator)]
    105
        fn next(&mut self) -> Option<Result<T::Command, T::Error>> {
  • smtp-proto 0.1.0/src/request/parser.rs
    333
        #[allow(clippy::while_let_on_iterator)]
    334
        pub fn hashed_value(&mut self) -> Result<u64, Error> {
    367
        #[allow(clippy::while_let_on_iterator)]
    368
        pub fn hashed_value_long(&mut self) -> Result<u128, Error> {
    551
        #[allow(clippy::while_let_on_iterator)]
    552
        pub fn text(&mut self) -> Result<String, Error> {
    576
        #[allow(clippy::while_let_on_iterator)]
    577
        pub fn xtext(&mut self) -> Result<String, Error> {
    624
        #[allow(clippy::while_let_on_iterator)]
    625
        pub fn seek_char(&mut self, stop_char: u8) -> Result<String, Error> {
  • str-match 0.1.1/src/implements.rs
    109
        let mut prev = None;
    110
        #[allow(clippy::while_let_on_iterator)]
    111
        while let Some(ch) = chars.next() {
    117
            let mut is_terminated = true;
    118
            #[allow(clippy::while_let_on_iterator)]
    119
            while let Some(ch) = chars.next() {
  • transaction-builder-generator 0.2.2/tests/cli.rs
    55
    #[allow(clippy::while_let_on_iterator)]
    56
    fn get_bash_quotes<R>(reader: R) -> std::io::Result<Vec<String>>
  • tusk_parser 0.1.2/src/parser.rs
    1259
        #[allow(clippy::while_let_on_iterator)]
    1260
        pub fn all(&'p mut self) -> Result<Program, ParserError> {
  • typos 0.10.7/src/tokens.rs
    872
        fn next(&mut self) -> Option<Word<'s>> {
    873
            #[allow(clippy::while_let_on_iterator)]
    874
            while let Some((i, c)) = self.char_indices.next() {
  • w5500-ll 0.10.4/src/blocking/fdm.rs
    72
        /// Read from the W5500.
    73
        #[allow(clippy::while_let_on_iterator)]
    74
        fn read(&mut self, mut address: u16, block: u8, data: &mut [u8]) -> Result<(), Self::Error> {
    100
        /// Write to the W5500.
    101
        #[allow(clippy::while_let_on_iterator)]
    102
        fn write(&mut self, mut address: u16, block: u8, data: &[u8]) -> Result<(), Self::Error> {
  • wlambda 0.8.1/src/vval.rs
    2126
    #[allow(clippy::comparison_chain)]
    2127
    #[allow(clippy::while_let_on_iterator)]
    2128
    fn range_extract(from: i64, cnt: i64, val: &VVal) -> VVal {
    3087
        #[allow(clippy::while_let_on_iterator)]
    3088
        pub fn reverse(&self) -> VVal {
    3132
        #[allow(clippy::while_let_on_iterator)]
    3133
        pub fn keys(&self) -> VVal {
    3185
        #[allow(clippy::while_let_on_iterator)]
    3186
        pub fn values(&self) -> VVal {
    3258
        #[allow(clippy::while_let_on_iterator)]
    3259
        pub fn enumerate(&self) -> VVal {
  • write-fonts 0.0.5/src/tables/layout.rs
    425
        #[allow(clippy::while_let_on_iterator)]
    426
        std::iter::from_fn(move || {
    469
            #[allow(clippy::while_let_on_iterator)]
    470
            std::iter::from_fn(move || {
  • cursor 2.3.0/examples/advanced.rs
    1
    #![allow(clippy::while_let_on_iterator)]
  • cursor 2.3.0/examples/basic.rs
    1
    #![allow(clippy::while_let_on_iterator)]
  • cursor 2.3.0/examples/str_cursor.rs
    1
    #![allow(clippy::while_let_on_iterator)]
  • ndarray 0.15.6/src/lib.rs
    15
        clippy::manual_map, // is not an error
    16
        clippy::while_let_on_iterator, // is not an error
    17
        clippy::from_iter_instead_of_collect, // using from_iter is good style
  • phd 0.1.15/src/lib.rs
    10
    #![warn(missing_docs)]
    11
    #![allow(clippy::while_let_on_iterator)]
  • phetch 1.2.0/src/lib.rs
    32
    #![warn(missing_docs)]
    33
    #![allow(clippy::while_let_on_iterator)]
    34
    #![allow(clippy::write_with_newline)]
  • ropey 1.5.1/src/iter.rs
    1717
    mod tests {
    1718
        #![allow(clippy::while_let_on_iterator)]
    1719
        use super::*;
  • schnellru 0.2.1/src/lib.rs
    4
    #![deny(unused_must_use)]
    5
    #![allow(clippy::while_let_on_iterator)]
  • triple_arena 0.7.0/src/lib.rs
    5
    // false positives
    6
    #![allow(clippy::while_let_on_iterator)]
  • trybuild 1.0.77/src/lib.rs
    230
        clippy::unused_self,
    231
        clippy::while_let_on_iterator,
    232
    )]