mirror of
https://gitee.com/openharmony/third_party_rust_either
synced 2024-11-23 06:59:40 +00:00
Remove the recently added io::Seek methods implementations
This commit is contained in:
parent
fd3cf0b129
commit
d8b843e441
@ -915,14 +915,6 @@ where
|
||||
fn seek(&mut self, pos: SeekFrom) -> io::Result<u64> {
|
||||
either!(*self, ref mut inner => inner.seek(pos))
|
||||
}
|
||||
|
||||
fn rewind(&mut self) -> io::Result<()> {
|
||||
either!(*self, ref mut inner => inner.rewind())
|
||||
}
|
||||
|
||||
fn stream_position(&mut self) -> io::Result<u64> {
|
||||
either!(*self, ref mut inner => inner.stream_position())
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(any(test, feature = "use_std"))]
|
||||
|
Loading…
Reference in New Issue
Block a user