about summary refs log tree commit diff
path: root/tvix/eval/src
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-08-26T16·41+0300
committertazjin <tazjin@tvl.su>2022-09-03T13·19+0000
commit7d34e6e880935fe7c79bb74444bd65d155bebc72 (patch)
tree472d2df46938ac1c54cc1f590cdc3dcd50046fc4 /tvix/eval/src
parent3a2fcc8bc2eb3895a5dfdb268869d550e359ffe7 (diff)
refactor(tvix/eval): explicitly discard uninteresting results r/4617
Change-Id: I95a2ad61d9512b91017c801f325d0193b4da9c7d
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6280
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
Diffstat (limited to 'tvix/eval/src')
-rw-r--r--tvix/eval/src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tvix/eval/src/main.rs b/tvix/eval/src/main.rs
index 4d0f12337154..6383ed2bf8fc 100644
--- a/tvix/eval/src/main.rs
+++ b/tvix/eval/src/main.rs
@@ -45,9 +45,9 @@ fn run_prompt() {
         // Attempt to set up these paths, but do not hard fail if it
         // doesn't work.
         Some(mut path) => {
-            std::fs::create_dir_all(&path).ok();
+            let _ = std::fs::create_dir_all(&path);
             path.push("history.txt");
-            rl.load_history(&path).ok();
+            let _ = rl.load_history(&path);
             Some(path)
         }