about summary refs log tree commit diff
path: root/compiler/rustc_codegen_ssa/src/debuginfo
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2022-12-02 18:16:08 +0100
committerRalf Jung <post@ralfj.de>2022-12-02 18:16:08 +0100
commitb64d8670e4c512c29e6a58c73c0aba65f00bb800 (patch)
tree8ab5152a8172f85f987a6e84fa1e088e7d67339a /compiler/rustc_codegen_ssa/src/debuginfo
parent80ab672b8611d34bf811d4498b9b9d116a085e7c (diff)
parentcef44f53034eac46be3a0e3eec7b2b3d4ef5140b (diff)
downloadrust-b64d8670e4c512c29e6a58c73c0aba65f00bb800.tar.gz
rust-b64d8670e4c512c29e6a58c73c0aba65f00bb800.zip
Merge from rustc
Diffstat (limited to 'compiler/rustc_codegen_ssa/src/debuginfo')
-rw-r--r--compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs b/compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs
index 8647fbace2a..b004fbf85a9 100644
--- a/compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs
+++ b/compiler/rustc_codegen_ssa/src/debuginfo/type_names.rs
@@ -1,4 +1,4 @@
-// Type Names for Debug Info.
+//! Type Names for Debug Info.
 
 // Notes on targeting MSVC:
 // In general, MSVC's debugger attempts to parse all arguments as C++ expressions,
@@ -26,10 +26,10 @@ use std::fmt::Write;
 
 use crate::debuginfo::wants_c_like_enum_debuginfo;
 
-// Compute the name of the type as it should be stored in debuginfo. Does not do
-// any caching, i.e., calling the function twice with the same type will also do
-// the work twice. The `qualified` parameter only affects the first level of the
-// type name, further levels (i.e., type parameters) are always fully qualified.
+/// Compute the name of the type as it should be stored in debuginfo. Does not do
+/// any caching, i.e., calling the function twice with the same type will also do
+/// the work twice. The `qualified` parameter only affects the first level of the
+/// type name, further levels (i.e., type parameters) are always fully qualified.
 pub fn compute_debuginfo_type_name<'tcx>(
     tcx: TyCtxt<'tcx>,
     t: Ty<'tcx>,