Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit d7d7a9a

Browse files
committed
[NFC] shims: fs: fmt
1 parent e3227cf commit d7d7a9a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/shims/posix/fs.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,16 +31,19 @@ trait FileDescriptor: std::fmt::Debug {
3131
communicate_allowed: bool,
3232
bytes: &mut [u8],
3333
) -> InterpResult<'tcx, io::Result<usize>>;
34+
3435
fn write<'tcx>(
3536
&self,
3637
communicate_allowed: bool,
3738
bytes: &[u8],
3839
) -> InterpResult<'tcx, io::Result<usize>>;
40+
3941
fn seek<'tcx>(
4042
&mut self,
4143
communicate_allowed: bool,
4244
offset: SeekFrom,
4345
) -> InterpResult<'tcx, io::Result<u64>>;
46+
4447
fn close<'tcx>(
4548
self: Box<Self>,
4649
_communicate_allowed: bool,

0 commit comments

Comments
 (0)