Skip to content

Commit c27d794

Browse files
authored
Fix typo in comment: length_limit
1 parent b397bc0 commit c27d794

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)