diff options
Diffstat (limited to 'tvix/eval/src/eval.rs')
-rw-r--r-- | tvix/eval/src/eval.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tvix/eval/src/eval.rs b/tvix/eval/src/eval.rs index 456f2575cab7..d8037ea143c7 100644 --- a/tvix/eval/src/eval.rs +++ b/tvix/eval/src/eval.rs @@ -12,7 +12,7 @@ pub fn interpret(code: &str, location: Option<PathBuf>) -> EvalResult<Value> { todo!() } - if let Ok(_) = std::env::var("TVIX_DISPLAY_AST") { + if std::env::var("TVIX_DISPLAY_AST").is_ok() { println!("{}", ast.root().dump()); } |