Skip to content

Commit 8c0c6fc

Browse files
author
aligator
committed
remove comment
1 parent 04fb1bf commit 8c0c6fc

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

src/exp.rs

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -178,24 +178,5 @@ impl Worker {
178178
}
179179

180180
true
181-
182-
/*
183-
184-
let term = term.as_bytes();
185-
186-
'bytes: for (i, _) in buf.iter().enumerate() {
187-
if buf.len() - i < term.len() {
188-
return false;
189-
}
190-
for (j, term_b) in term.iter().enumerate() {
191-
if buf[i + j] != *term_b {
192-
continue 'bytes;
193-
}
194-
if j == term.len() - 1 {
195-
return true;
196-
}
197-
}
198-
}
199-
return false;*/
200181
}
201182
}

0 commit comments

Comments
 (0)