1
Fork 0

Rollup merge of #91880 - matthiaskrgr:clippy_perf_dec, r=jyn514

fix clippy::single_char_pattern perf findings
This commit is contained in:
Matthias Krüger 2021-12-15 10:56:58 +01:00 committed by GitHub
commit 9ca0bd518a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 36 additions and 36 deletions

View file

@ -747,7 +747,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 {