Auto merge of #101955 - jam1garner:fix-proc-macro-typo, r=petrochenkov

Fix typo in proc_macro Span::eq documentation
This commit is contained in:
bors 2022-09-18 11:42:13 +00:00
commit 4af79ccd5e

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