We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
while
for
1 parent 1754913 commit 3eb49e7Copy full SHA for 3eb49e7
crates/stdarch-test/src/disassembly.rs
@@ -126,7 +126,7 @@ fn parse(output: &str) -> HashSet<Function> {
126
let symbol = normalize(header);
127
eprintln!("normalized symbol: {symbol}");
128
let mut instructions = Vec::new();
129
- while let Some(instruction) = lines.next() {
+ for instruction in lines.by_ref() {
130
if instruction.ends_with(':') {
131
cached_header = Some(instruction);
132
break;
0 commit comments