Correct typo

This commit is contained in:
Andy Caldwell 2023-08-24 20:22:03 +01:00
parent 679267f2ac
commit 726a7b9439
No known key found for this signature in database
GPG Key ID: D4204541AC1D228D

View File

@ -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 });