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:
Vincent Ambo 2023-11-05 20:31:46 +03:00 committed by clbot
parent 67999f0dcf
commit b3b1f649d6
14 changed files with 35 additions and 36 deletions

View file

@ -59,7 +59,7 @@ impl NixList {
stack_slice.len(),
);
NixList(Rc::new(Vector::from_iter(stack_slice.into_iter())))
NixList(Rc::new(Vector::from_iter(stack_slice)))
}
pub fn iter(&self) -> vector::Iter<Value> {
@ -76,7 +76,7 @@ impl NixList {
#[deprecated(note = "callers should avoid constructing from Vec")]
pub fn from_vec(vs: Vec<Value>) -> Self {
Self(Rc::new(Vector::from_iter(vs.into_iter())))
Self(Rc::new(Vector::from_iter(vs)))
}
/// Asynchronous sorting algorithm in which the comparator can make use of