From ded577a73b61c63ed7c863c1896e2037324aa450 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Sat, 19 Aug 2023 17:22:52 +0200 Subject: refactor(tvix/eval/io): cargo clippy &Path Change-Id: Ifec2a4fc93c482e41ff5993183643b5126a7728b Reviewed-on: https://cl.tvl.fyi/c/depot/+/9100 Autosubmit: flokli Reviewed-by: raitobezarius Tested-by: BuildkiteCI --- tvix/eval/src/io.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tvix/eval') 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 { - std::fs::read_to_string(&path) + std::fs::read_to_string(path) } fn read_dir(&self, path: &Path) -> Result, io::Error> { -- cgit 1.4.1