Skip to content

Commit

Permalink
Rollup merge of #105593 - jruderman:patch-3, r=Dylan-DPC
Browse files Browse the repository at this point in the history
Fix typo in comment: length_limit
  • Loading branch information
matthiaskrgr committed Dec 12, 2022
2 parents f4cca46 + c27d794 commit 38d97d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_middle/src/ty/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1010,7 +1010,7 @@ fn foo(&self) -> Self::T { String::new() }
}
let mut short;
loop {
// Look for the longest properly trimmed path that still fits in lenght_limit.
// Look for the longest properly trimmed path that still fits in length_limit.
short = with_forced_trimmed_paths!(
FmtPrinter::new_with_limit(
self,
Expand Down

0 comments on commit 38d97d3

Please sign in to comment.