chore(tvix): fix trivial clippy lints
Relates to b/321. Change-Id: I37284f89b186e469eb432e2bbedb37aa125a6ad4 Reviewed-on: https://cl.tvl.fyi/c/depot/+/9961 Tested-by: BuildkiteCI Reviewed-by: flokli <flokli@flokli.de> Autosubmit: tazjin <tazjin@tvl.su>
This commit is contained in:
parent
67999f0dcf
commit
b3b1f649d6
14 changed files with 35 additions and 36 deletions
|
|
@ -301,7 +301,7 @@ impl NixAttrs {
|
|||
|
||||
/// Same as iter(), but marks call sites which rely on the
|
||||
/// iteration being lexicographic.
|
||||
pub fn iter_sorted<'a>(&'a self) -> Iter<KeyValue<'a>> {
|
||||
pub fn iter_sorted(&self) -> Iter<KeyValue<'_>> {
|
||||
self.iter()
|
||||
}
|
||||
|
||||
|
|
@ -399,7 +399,7 @@ impl NixAttrs {
|
|||
// /another/ set with a __toString attr.
|
||||
let s = generators::request_string_coerce(co, result, kind).await;
|
||||
|
||||
return Some(s.ok()?);
|
||||
return s.ok();
|
||||
}
|
||||
|
||||
None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue