remove a couple of redundant clones
This commit is contained in:
parent
dfdbe30004
commit
87b6f415f2
4 changed files with 6 additions and 6 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue