[NFC] shims: fs: fmt

This commit is contained in:
Matthias Krüger 2022-05-22 21:47:44 +02:00
parent e3227cfc7e
commit d7d7a9a162

View File

@ -31,16 +31,19 @@ trait FileDescriptor: std::fmt::Debug {
communicate_allowed: bool,
bytes: &mut [u8],
) -> InterpResult<'tcx, io::Result<usize>>;
fn write<'tcx>(
&self,
communicate_allowed: bool,
bytes: &[u8],
) -> InterpResult<'tcx, io::Result<usize>>;
fn seek<'tcx>(
&mut self,
communicate_allowed: bool,
offset: SeekFrom,
) -> InterpResult<'tcx, io::Result<u64>>;
fn close<'tcx>(
self: Box<Self>,
_communicate_allowed: bool,