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:
parent
f11c6d610c
commit
d3ecef1a5b
2 changed files with 2 additions and 2 deletions
|
@ -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")
|
||||
}
|
||||
}
|
||||
|
|
|
@ -870,7 +870,7 @@ mod tests {
|
|||
|
||||
#[test]
|
||||
fn format_float() {
|
||||
let ff = vec![
|
||||
let ff = [
|
||||
(0f64, "0"),
|
||||
(1.0f64, "1"),
|
||||
(-0.01, "-0.01"),
|
||||
|
|
Loading…
Reference in a new issue