mirror of https://git.asonix.dog/asonix/pict-rs
Fix is_empty
This commit is contained in:
parent
f3e455a1c3
commit
59b03d548d
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue