fix clippy::single_char_pattern perf findings
This commit is contained in:
parent
1796de7bb1
commit
97e844a032
19 changed files with 36 additions and 36 deletions
|
@ -741,7 +741,7 @@ impl<'a, 'tcx> InferCtxtExt<'tcx> for InferCtxt<'a, 'tcx> {
|
|||
|
||||
let msg = format!(
|
||||
"the trait bound `{}: {}` is not satisfied",
|
||||
orig_ty.to_string(),
|
||||
orig_ty,
|
||||
old_ref.print_only_trait_path(),
|
||||
);
|
||||
if has_custom_message {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue