Update from either! to for_both!

This commit is contained in:
Josh Stone
2022-06-23 18:04:27 -07:00
parent 58e4a4d2d0
commit a4dc2d1cbb
+1 -1
View File
@@ -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))
}
}