From 71174f6626cbf100a8428ddc334681e4edfb45e6 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Tue, 20 Dec 2022 17:22:56 +0300 Subject: fix(tvix/eval): fix current clippy warnings It's been a while since the last time, so quite a lot of stuff has accumulated here. Change-Id: I0762827c197b30a917ff470fd8ae8f220f6ba247 Reviewed-on: https://cl.tvl.fyi/c/depot/+/7597 Reviewed-by: grfn Autosubmit: tazjin Tested-by: BuildkiteCI --- tvix/eval/src/value/string.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tvix/eval/src/value/string.rs') diff --git a/tvix/eval/src/value/string.rs b/tvix/eval/src/value/string.rs index 66697a7f2f4f..5b2cb83a17de 100644 --- a/tvix/eval/src/value/string.rs +++ b/tvix/eval/src/value/string.rs @@ -172,7 +172,7 @@ fn is_valid_nix_identifier(s: &str) -> bool { _ => return false, } } - return true; + true } /// Escape a Nix string for display, as most user-visible representation -- cgit 1.4.1