about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/coverageinfo/mod.rs
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_llvm/src/coverageinfo/mod.rs
parent80ab672b8611d34bf811d4498b9b9d116a085e7c (diff)
parentcef44f53034eac46be3a0e3eec7b2b3d4ef5140b (diff)
downloadrust-b64d8670e4c512c29e6a58c73c0aba65f00bb800.tar.gz
rust-b64d8670e4c512c29e6a58c73c0aba65f00bb800.zip
Merge from rustc
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/coverageinfo/mod.rs')
-rw-r--r--compiler/rustc_codegen_llvm/src/coverageinfo/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/coverageinfo/mod.rs b/compiler/rustc_codegen_llvm/src/coverageinfo/mod.rs
index 964a632b6ee..ace15cfb024 100644
--- a/compiler/rustc_codegen_llvm/src/coverageinfo/mod.rs
+++ b/compiler/rustc_codegen_llvm/src/coverageinfo/mod.rs
@@ -37,7 +37,7 @@ const VAR_ALIGN_BYTES: usize = 8;
 
 /// A context object for maintaining all state needed by the coverageinfo module.
 pub struct CrateCoverageContext<'ll, 'tcx> {
-    // Coverage data for each instrumented function identified by DefId.
+    /// Coverage data for each instrumented function identified by DefId.
     pub(crate) function_coverage_map: RefCell<FxHashMap<Instance<'tcx>, FunctionCoverage<'tcx>>>,
     pub(crate) pgo_func_name_var_map: RefCell<FxHashMap<Instance<'tcx>, &'ll llvm::Value>>,
 }