Skip to content

Commit 527f788

Browse files
committed
Fix typo in proc_macro Span::eq
1 parent c773c13 commit 527f788

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

library/proc_macro/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ impl Span {
533533
other.resolved_at(*self)
534534
}
535535

536-
/// Compares to spans to see if they're equal.
536+
/// Compares two spans to see if they're equal.
537537
#[unstable(feature = "proc_macro_span", issue = "54725")]
538538
pub fn eq(&self, other: &Span) -> bool {
539539
self.0 == other.0

0 commit comments

Comments
 (0)