From 21ee1cf6bbf7da1cf22475b7df6e518ba943ea47 Mon Sep 17 00:00:00 2001 From: Fulgen301 Date: Tue, 4 Nov 2025 21:04:35 +0100 Subject: [PATCH] Fix typo Co-authored-by: teor --- compiler/rustc_symbol_mangling/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rustc_symbol_mangling/src/lib.rs b/compiler/rustc_symbol_mangling/src/lib.rs index 0ea20ae4dc60..85b77ab2a5f0 100644 --- a/compiler/rustc_symbol_mangling/src/lib.rs +++ b/compiler/rustc_symbol_mangling/src/lib.rs @@ -297,7 +297,7 @@ fn compute_symbol_name<'tcx>( let mangled_name_too_long = { // The PDB debug info format cannot store mangled symbol names for which its // internal record exceeds u16::MAX bytes, a limit multiple Rust projects have been - // hitting due to the verbosity of legacy name manglng. Depending on the linker version + // hitting due to the verbosity of legacy name mangling. Depending on the linker version // in use, such symbol names can lead to linker crashes or incomprehensible linker error // about a limit being hit. // Mangle those symbols with v0 mangling instead, which gives us more room to breathe