fix(tvix/eval): address various clippy lints
Change-Id: I3ea0f51475e80948adfeb5d1620c1f2665cc39bc Reviewed-on: https://cl.tvl.fyi/c/depot/+/6201 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
This commit is contained in:
parent
c4f73eecdc
commit
ab9407bded
6 changed files with 30 additions and 41 deletions
|
|
@ -32,7 +32,9 @@ fn run_file(file: &str) {
|
|||
|
||||
fn state_dir() -> Option<PathBuf> {
|
||||
let mut path = dirs::data_dir();
|
||||
path.as_mut().map(|p| p.push("tvix"));
|
||||
if let Some(p) = path.as_mut() {
|
||||
p.push("tvix")
|
||||
}
|
||||
path
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue