Fix typo in comment: length_limit

This commit is contained in:
Jesse Ruderman
2022-12-11 23:21:10 -08:00
committed by GitHub
parent b397bc0727
commit c27d7949a1

View File

@@ -1010,7 +1010,7 @@ fn foo(&self) -> Self::T { String::new() }
} }
let mut short; let mut short;
loop { 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!( short = with_forced_trimmed_paths!(
FmtPrinter::new_with_limit( FmtPrinter::new_with_limit(
self, self,