]> git.lizzy.rs Git - rust.git/commit
Wrap io::Result from `FileDescriptor::{read,write,seek}` in InterpResult
authorSamrat Man Singh <samratmansingh@gmail.com>
Mon, 3 Aug 2020 05:31:42 +0000 (11:01 +0530)
committerSamrat Man Singh <samratmansingh@gmail.com>
Mon, 3 Aug 2020 05:31:42 +0000 (11:01 +0530)
commit3386f12eca5db75ee679c5d08fecec88ae99e6a0
tree1781b0c85bcb11a498b87086235df5888389fee8
parente3956f4200184c88f0f6100f15669b1e6639804f
Wrap io::Result from `FileDescriptor::{read,write,seek}` in InterpResult

The outer InterpResult will be used to indicate that a fn is not
implemented for a struct(eg. `write` for Stdin).

The inner io::Result is just the result from the read/write/seek.
src/shims/posix/fs.rs