about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJubilee <46493976+workingjubilee@users.noreply.github.com>2023-12-12 18:48:54 -0800
committerGitHub <noreply@github.com>2023-12-12 18:48:54 -0800
commitdf0686b6297e35aceebeb83c8bbcdda91851c1e0 (patch)
tree18355e14263435e3c4f973583d7f0cca29d50a60
parent2f937c720d5aa6d5218ab7d8c6dc13cc832f7db2 (diff)
parent046f2dea33fddc389aa56c5ac74a651cd3091b96 (diff)
downloadrust-df0686b6297e35aceebeb83c8bbcdda91851c1e0.tar.gz
rust-df0686b6297e35aceebeb83c8bbcdda91851c1e0.zip
Rollup merge of #118887 - smoelius:patch-1, r=Nilstrieb
Typo
-rw-r--r--compiler/rustc_symbol_mangling/src/typeid/typeid_itanium_cxx_abi.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_symbol_mangling/src/typeid/typeid_itanium_cxx_abi.rs b/compiler/rustc_symbol_mangling/src/typeid/typeid_itanium_cxx_abi.rs
index e49d134659e..3d673f2f1ec 100644
--- a/compiler/rustc_symbol_mangling/src/typeid/typeid_itanium_cxx_abi.rs
+++ b/compiler/rustc_symbol_mangling/src/typeid/typeid_itanium_cxx_abi.rs
@@ -364,7 +364,7 @@ fn encode_ty_name(tcx: TyCtxt<'_>, def_id: DefId) -> String {
     //     _ZTSFvu27NvNtC1234_5crate6Trait13fooIu22NtC1234_5crate7Struct1Iu3i32ES_EE
     //
     // The reason for not using v0's extended form of paths is to use a consistent and simpler
-    // encoding, as the reasoning for using it isn't relevand for type metadata identifiers (i.e.,
+    // encoding, as the reasoning for using it isn't relevant for type metadata identifiers (i.e.,
     // keep symbol names close to how methods are represented in error messages). See
     // https://rust-lang.github.io/rfcs/2603-rust-symbol-name-mangling-v0.html#methods.
     let mut s = String::new();