2
0
Fork 0
mirror of https://git.asonix.dog/asonix/pict-rs synced 2024-11-20 11:21:14 +00:00

Fix is_empty

This commit is contained in:
asonix 2024-02-22 17:09:03 -06:00
parent f3e455a1c3
commit 59b03d548d

View file

@ -50,7 +50,7 @@ impl BytesStream {
}
pub(crate) fn is_empty(&self) -> bool {
self.total_len > 0
self.total_len == 0
}
pub(crate) fn into_reader(self) -> BytesReader {