diff options
Diffstat (limited to 'tvix/eval/src/warnings.rs')
-rw-r--r-- | tvix/eval/src/warnings.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tvix/eval/src/warnings.rs b/tvix/eval/src/warnings.rs index a09c5746d387..6f4f54160167 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 => { |