Skip to content

Commit 38d97d3

Browse files
authored
Rollup merge of #105593 - jruderman:patch-3, r=Dylan-DPC
Fix typo in comment: length_limit
2 parents f4cca46 + c27d794 commit 38d97d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_middle/src/ty/error.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1010,7 +1010,7 @@ fn foo(&self) -> Self::T { String::new() }
10101010
}
10111011
let mut short;
10121012
loop {
1013-
// Look for the longest properly trimmed path that still fits in lenght_limit.
1013+
// Look for the longest properly trimmed path that still fits in length_limit.
10141014
short = with_forced_trimmed_paths!(
10151015
FmtPrinter::new_with_limit(
10161016
self,

0 commit comments

Comments
 (0)