From 268605140eae3cbfae5ddd18bd83b877e5da5748 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Tue, 13 Sep 2022 16:00:44 +0300 Subject: fix(tvix/eval): address current clippy lints Change-Id: I5288849d0e93511b0b5664fa92f1c6882e4a1356 Reviewed-on: https://cl.tvl.fyi/c/depot/+/6563 Reviewed-by: sterni Tested-by: BuildkiteCI --- tvix/eval/src/warnings.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tvix/eval/src/warnings.rs') diff --git a/tvix/eval/src/warnings.rs b/tvix/eval/src/warnings.rs index a09c5746d3..6f4f541601 100644 --- a/tvix/eval/src/warnings.rs +++ b/tvix/eval/src/warnings.rs @@ -55,11 +55,11 @@ impl EvalWarning { fn message(&self, codemap: &CodeMap) -> String { match self.kind { WarningKind::DeprecatedLiteralURL => { - format!("URL literal syntax is deprecated, use a quoted string instead") + "URL literal syntax is deprecated, use a quoted string instead".to_string() } WarningKind::UselessInherit => { - format!("inherited variable already exists with the same value") + "inherited variable already exists with the same value".to_string() } WarningKind::UnusedBinding => { -- cgit 1.4.1