Skip to content

Commit

Permalink
Clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Cypher1 committed Sep 15, 2024
1 parent 1f90996 commit 0897159
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion takolib/src/interpreter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ pub fn run(path: &Path, ast: &Ast, root: Option<NodeId>) -> Result<Prim, TError>
root
} else if ast.roots.len() == 1 {
ast.roots[0]
} else if ast.roots.len() == 0 {
} else if ast.roots.is_empty() {
return Err(TError::InternalError {
message: format!(
"Ambiguous run command: No root found for {path}",
Expand Down

0 comments on commit 0897159

Please sign in to comment.