mirror of
https://github.com/asterinas/asterinas.git
synced 2025-06-22 08:53:29 +00:00
Make VmReader's several methods accept &mut self
This commit is contained in:
committed by
Qingsong Chen
parent
9872adaa71
commit
0e1c660225
@ -167,7 +167,7 @@ mod test {
|
||||
BioType::Read => segment
|
||||
.inner_segment()
|
||||
.writer()
|
||||
.write(&mut self.blocks.reader().skip(current_offset)),
|
||||
.write(self.blocks.reader().skip(current_offset)),
|
||||
BioType::Write => self
|
||||
.blocks
|
||||
.writer()
|
||||
|
Reference in New Issue
Block a user