Skip to content

Commit de36336

Browse files
committed
fix typo in rustc_attr_parsing/src/attributes/mod.rs
Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
1 parent 63f10cc commit de36336

File tree

1 file changed

+1
-1
lines changed
  • compiler/rustc_attr_parsing/src/attributes

1 file changed

+1
-1
lines changed

compiler/rustc_attr_parsing/src/attributes/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ pub(crate) trait AttributeParser: Default + 'static {
7474
pub(crate) trait SingleAttributeParser: 'static {
7575
const PATH: &'static [Symbol];
7676

77-
/// Caled when a duplicate attribute is found.
77+
/// Called when a duplicate attribute is found.
7878
///
7979
/// `first_span` is the span of the first occurrence of this attribute.
8080
// FIXME(jdonszelmann): default error

0 commit comments

Comments
 (0)