Skip to content

Commit 527f788

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/proc_macro/src/lib.rs

+1-1
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)