Skip to content

Commit 367eaa3

Browse files
authored
Use yield_with
1 parent a9c1643 commit 367eaa3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/de.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ mod tests {
484484
}
485485

486486
let n = bytes.len().min(chunk_size);
487-
s.yield_(&bytes[..n]);
487+
s.yield_with(&bytes[..n]);
488488
bytes = &bytes[n..];
489489

490490
if bytes.is_empty() {

0 commit comments

Comments
 (0)