remove a couple of redundant clones

This commit is contained in:
Matthias Krüger 2024-02-17 12:46:18 +01:00
parent dfdbe30004
commit 87b6f415f2
4 changed files with 6 additions and 6 deletions

View file

@ -893,7 +893,7 @@ impl<'a> Parser<'a> {
ParseError {
description: "expected format parameter to occur after `:`".to_owned(),
note: None,
label: format!("expected `{}` to occur after `:`", alignment).to_owned(),
label: format!("expected `{}` to occur after `:`", alignment),
span: pos.to(pos),
secondary_label: None,
suggestion: Suggestion::None,