Skip to content

Commit 5adcf63

Browse files
committed
restore a changed line
1 parent 1fb943a commit 5adcf63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/zio.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ impl<W: Write, D: Ops> Write for Writer<W, D> {
280280
}
281281
}
282282

283-
self.obj.as_mut().map(Write::flush).unwrap_or(Ok(()))
283+
self.obj.as_mut().unwrap().flush()
284284
}
285285
}
286286

0 commit comments

Comments
 (0)