Clean rustc_attr_parsing documentation

Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
This commit is contained in:
xizheyin
2025-06-05 13:20:02 +08:00
parent 91fad92585
commit 1e49ad3862
2 changed files with 37 additions and 37 deletions

View File

@@ -74,7 +74,7 @@ pub(crate) trait AttributeParser: Default + 'static {
pub(crate) trait SingleAttributeParser: 'static {
const PATH: &'static [Symbol];
/// Caled when a duplicate attribute is found.
/// Called when a duplicate attribute is found.
///
/// `first_span` is the span of the first occurrence of this attribute.
// FIXME(jdonszelmann): default error