1
Fork 0

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,