refactor(tvix/eval): cargo clippy
This passes a unit value to the function. Change-Id: I4df3ad8fb0f35c0f110cee3349971ae28ce2878c Reviewed-on: https://cl.tvl.fyi/c/depot/+/9101 Autosubmit: flokli <flokli@flokli.de> Reviewed-by: raitobezarius <tvl@lahfa.xyz> Tested-by: BuildkiteCI
This commit is contained in:
parent
ded577a73b
commit
1a99b10b7e
1 changed files with 4 additions and 1 deletions
|
@ -156,7 +156,10 @@ impl<W: Write> TracingObserver<W> {
|
||||||
// the type of (and avoid recursing).
|
// the type of (and avoid recursing).
|
||||||
Value::List(l) => write!(&mut self.writer, "list[{}] ", l.len()),
|
Value::List(l) => write!(&mut self.writer, "list[{}] ", l.len()),
|
||||||
Value::Attrs(a) => write!(&mut self.writer, "attrs[{}] ", a.len()),
|
Value::Attrs(a) => write!(&mut self.writer, "attrs[{}] ", a.len()),
|
||||||
Value::Thunk(t) if t.is_evaluated() => Ok(self.write_value(&t.value())),
|
Value::Thunk(t) if t.is_evaluated() => {
|
||||||
|
self.write_value(&t.value());
|
||||||
|
Ok(())
|
||||||
|
}
|
||||||
|
|
||||||
// For other value types, defer to the standard value printer.
|
// For other value types, defer to the standard value printer.
|
||||||
_ => write!(&mut self.writer, "{} ", val),
|
_ => write!(&mut self.writer, "{} ", val),
|
||||||
|
|
Loading…
Reference in a new issue