]> Repositorios git - scryer-prolog.git/commitdiff
ingore nerver looping loop, but add a todo
authorBennet Bleßmann <[email protected]>
Thu, 31 Jul 2025 19:40:38 +0000 (21:40 +0200)
committerBennet Bleßmann <[email protected]>
Thu, 31 Jul 2025 19:47:07 +0000 (21:47 +0200)
src/machine/system_calls.rs

index 10323c5c44a8516fd767ee05ff822b1c764dc2a3..77230c01de55bfdcbcb28398c1410776147ae54b 100644 (file)
@@ -989,6 +989,7 @@ impl MachineState {
             }
         }
 
+        #[allow(clippy::never_loop)] // TODO why is there a loop here that never loops?
         loop {
             match lexer.lookahead_char() {
                 Err(e) if e.is_unexpected_eof() => {