From b3b1f649d613c97a196528b1210dd5b914995c14 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sun, 5 Nov 2023 20:31:46 +0300 Subject: 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 Autosubmit: tazjin --- tvix/eval/builtin-macros/tests/tests.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tvix/eval/builtin-macros/tests') diff --git a/tvix/eval/builtin-macros/tests/tests.rs b/tvix/eval/builtin-macros/tests/tests.rs index 735ff4672007..4713743e5295 100644 --- a/tvix/eval/builtin-macros/tests/tests.rs +++ b/tvix/eval/builtin-macros/tests/tests.rs @@ -3,7 +3,7 @@ use tvix_eval_builtin_macros::builtins; #[builtins] mod builtins { - use tvix_eval::generators::{self, Gen, GenCo}; + use tvix_eval::generators::{Gen, GenCo}; use tvix_eval::{ErrorKind, Value}; /// Test docstring. @@ -11,12 +11,12 @@ mod builtins { /// It has multiple lines! #[builtin("identity")] pub async fn builtin_identity(co: GenCo, x: Value) -> Result { - Ok(todo!()) + Ok(x) } #[builtin("tryEval")] pub async fn builtin_try_eval(co: GenCo, #[lazy] _x: Value) -> Result { - todo!() + unimplemented!("builtin is never called") } } -- cgit 1.4.1