diff options
Diffstat (limited to 'tvix/eval/src/io.rs')
-rw-r--r-- | tvix/eval/src/io.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tvix/eval/src/io.rs b/tvix/eval/src/io.rs index 8003746c4853..cf9f6304305f 100644 --- a/tvix/eval/src/io.rs +++ b/tvix/eval/src/io.rs @@ -27,7 +27,7 @@ pub trait EvalIO { /// Implementation of [`EvalIO`] that simply uses the equivalent /// standard library functions, i.e. does local file-IO. -struct StdIO; +pub struct StdIO; impl EvalIO for StdIO { fn read_to_string(&self, path: PathBuf) -> Result<String, ErrorKind> { @@ -41,7 +41,7 @@ impl EvalIO for StdIO { /// Dummy implementation of [`EvalIO`], can be used in contexts where /// IO is not available but code should "pretend" that it is. -struct DummyIO; +pub struct DummyIO; impl EvalIO for DummyIO { fn read_to_string(&self, _: PathBuf) -> Result<String, ErrorKind> { |