refactor(tvix/eval): cargo clippy &GenCo

Change-Id: I6b1b902ccbc12bf2acdb0fdf406d6ef336ff0b2f
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9098
Reviewed-by: raitobezarius <tvl@lahfa.xyz>
Tested-by: BuildkiteCI
Autosubmit: flokli <flokli@flokli.de>
This commit is contained in:
Florian Klink 2023-08-19 17:20:00 +02:00 committed by flokli
parent 690884426b
commit 1f02dc7eba
2 changed files with 5 additions and 5 deletions

View file

@ -41,7 +41,7 @@ impl Value {
// Attribute sets with a callable `__toString` attribute
// serialise to the string-coerced version of the result of
// calling that.
if let Some(s) = attrs.try_to_string(&co, CoercionKind::Weak).await {
if let Some(s) = attrs.try_to_string(co, CoercionKind::Weak).await {
return Ok(Json::String(s.as_str().to_string()));
}