mirror of
https://github.com/openharmony/third_party_rust_either.git
synced 2026-07-01 20:54:02 -04:00
Update from either! to for_both!
This commit is contained in:
+1
-1
@@ -913,7 +913,7 @@ where
|
||||
R: Seek,
|
||||
{
|
||||
fn seek(&mut self, pos: SeekFrom) -> io::Result<u64> {
|
||||
either!(*self, ref mut inner => inner.seek(pos))
|
||||
for_both!(*self, ref mut inner => inner.seek(pos))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user