Fix typo in proc_macro Span::eq

This commit is contained in:
jam1garner 2022-09-17 19:15:30 -04:00
parent c773c134c9
commit 527f7887b8
No known key found for this signature in database
GPG Key ID: 00C357B2669B699F

View File

@ -533,7 +533,7 @@ impl Span {
other.resolved_at(*self)
}
/// Compares to spans to see if they're equal.
/// Compares two spans to see if they're equal.
#[unstable(feature = "proc_macro_span", issue = "54725")]
pub fn eq(&self, other: &Span) -> bool {
self.0 == other.0