couple of clippy::complexity fixes
This commit is contained in:
parent
0d13f6afeb
commit
7c2d57e0fa
16 changed files with 25 additions and 29 deletions
|
@ -832,7 +832,7 @@ impl Diagnostic {
|
|||
name: impl Into<Cow<'static, str>>,
|
||||
arg: DiagnosticArgValue<'static>,
|
||||
) -> &mut Self {
|
||||
self.args.push((name.into(), arg.into()));
|
||||
self.args.push((name.into(), arg));
|
||||
self
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue