Skip to content

Commit ebf9583

Browse files
committed
fix typo
1 parent 7cf9f1a commit ebf9583

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_passes/src/diagnostic_items.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ fn collect_item(tcx: TyCtxt<'_>, items: &mut DiagnosticItems, name: Symbol, item
8383
}
8484
}
8585

86-
/// Extract the first `rustc_diagnostic_item = "$name"` out of a list of attributes.p
86+
/// Extract the first `rustc_diagnostic_item = "$name"` out of a list of attributes.
8787
fn extract(attrs: &[ast::Attribute]) -> Option<Symbol> {
8888
attrs.iter().find_map(|attr| {
8989
if attr.has_name(sym::rustc_diagnostic_item) { attr.value_str() } else { None }

0 commit comments

Comments
 (0)