about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-12-12 19:20:35 +0100
committerGitHub <noreply@github.com>2022-12-12 19:20:35 +0100
commit38d97d3ea7fa637ac98af12cb308a0a88b1090ff (patch)
tree828107f55facc019fe5040f4ae0f3d894b5e32b8
parentf4cca4607877b7fde56755d7750455470fb4f4f8 (diff)
parentc27d7949a1e139c257548a6e8809a76f44cab011 (diff)
downloadrust-38d97d3ea7fa637ac98af12cb308a0a88b1090ff.tar.gz
rust-38d97d3ea7fa637ac98af12cb308a0a88b1090ff.zip
Rollup merge of #105593 - jruderman:patch-3, r=Dylan-DPC
Fix typo in comment: length_limit
-rw-r--r--compiler/rustc_middle/src/ty/error.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_middle/src/ty/error.rs b/compiler/rustc_middle/src/ty/error.rs
index 4e113d72469..f065c91a6b5 100644
--- a/compiler/rustc_middle/src/ty/error.rs
+++ b/compiler/rustc_middle/src/ty/error.rs
@@ -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,