refactor(tvix/eval): address clippy lints

Change-Id: Ic2bd4e8291b30ceac9fa0e88a4f56e61ae99b603
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10227
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
This commit is contained in:
Florian Klink 2023-12-09 13:09:20 +02:00 committed by clbot
parent f11c6d610c
commit d3ecef1a5b
2 changed files with 2 additions and 2 deletions

View file

@ -15,7 +15,7 @@ mod builtins {
}
#[builtin("tryEval")]
pub async fn builtin_try_eval(co: GenCo, #[lazy] _x: Value) -> Result<Value, ErrorKind> {
pub async fn builtin_try_eval(_co: GenCo, #[lazy] _x: Value) -> Result<Value, ErrorKind> {
unimplemented!("builtin is never called")
}
}

View file

@ -870,7 +870,7 @@ mod tests {
#[test]
fn format_float() {
let ff = vec![
let ff = [
(0f64, "0"),
(1.0f64, "1"),
(-0.01, "-0.01"),