Skip to content

Commit 473d538

Browse files
committed
Make Buffered{Reader,Writer} actually buffered
1 parent 5f07081 commit 473d538

File tree

2 files changed

+417
-32
lines changed

2 files changed

+417
-32
lines changed

vm/src/builtins/memory.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ pub struct PyMemoryView {
124124
obj: PyObjectRef,
125125
buffer: BufferRef,
126126
options: BufferOptions,
127-
released: AtomicCell<bool>,
127+
pub(crate) released: AtomicCell<bool>,
128128
// start should always less or equal to the stop
129129
// start and stop pointing to the memory index not slice index
130130
// if length is not zero than [start, stop)

0 commit comments

Comments
 (0)