diff options
author | Florian Klink <flokli@flokli.de> | 2023-08-19T15·22+0200 |
---|---|---|
committer | flokli <flokli@flokli.de> | 2023-08-20T21·51+0000 |
commit | ded577a73b61c63ed7c863c1896e2037324aa450 (patch) | |
tree | 504137885fe6db49afffdb2aa9da6d17ae83a4f1 /tvix/eval/src | |
parent | def773d4d50f17ac8d4e94eac55724b338387e47 (diff) |
refactor(tvix/eval/io): cargo clippy &Path r/6504
Change-Id: Ifec2a4fc93c482e41ff5993183643b5126a7728b Reviewed-on: https://cl.tvl.fyi/c/depot/+/9100 Autosubmit: flokli <flokli@flokli.de> Reviewed-by: raitobezarius <tvl@lahfa.xyz> Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/eval/src')
-rw-r--r-- | tvix/eval/src/io.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/eval/src/io.rs b/tvix/eval/src/io.rs index 1baa24439e4a..931a0f45cc47 100644 --- a/tvix/eval/src/io.rs +++ b/tvix/eval/src/io.rs @@ -73,7 +73,7 @@ impl EvalIO for StdIO { } fn read_to_string(&self, path: &Path) -> Result<String, io::Error> { - std::fs::read_to_string(&path) + std::fs::read_to_string(path) } fn read_dir(&self, path: &Path) -> Result<Vec<(bytes::Bytes, FileType)>, io::Error> { |