about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndy Caldwell <andycaldwell@microsoft.com>2023-08-24 20:22:03 +0100
committerAndy Caldwell <andycaldwell@microsoft.com>2023-09-08 12:46:10 +0100
commit726a7b94399ac4b0f1f8e5946082a6e90f71ea3f (patch)
treec5544b18e1927ad57807e85dc5b5a72eef7b2794
parent679267f2ac291202e9c8168edd1df8a9cf3aecb2 (diff)
downloadrust-726a7b94399ac4b0f1f8e5946082a6e90f71ea3f.tar.gz
rust-726a7b94399ac4b0f1f8e5946082a6e90f71ea3f.zip
Correct typo
-rw-r--r--compiler/rustc_codegen_ssa/src/codegen_attrs.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_ssa/src/codegen_attrs.rs b/compiler/rustc_codegen_ssa/src/codegen_attrs.rs
index 287f2292f4d..59efe4cd3cc 100644
--- a/compiler/rustc_codegen_ssa/src/codegen_attrs.rs
+++ b/compiler/rustc_codegen_ssa/src/codegen_attrs.rs
@@ -139,7 +139,7 @@ fn codegen_fn_attrs(tcx: TyCtxt<'_>, did: LocalDefId) -> CodegenFnAttrs {
                     }
                     Some([item]) if item.has_name(sym::on) => {
                         // Allow #[coverage(on)] for being explicit, maybe also in future to enable
-                        // coverage on a smaller scope within an excluded larger scopy.
+                        // coverage on a smaller scope within an excluded larger scope.
                     }
                     Some(_) | None => {
                         tcx.sess.emit_err(ExpectedCoverageSymbol { span: attr.span });