Skip to content

Commit

Permalink
Auto merge of rust-lang#101955 - jam1garner:fix-proc-macro-typo, r=pe…
Browse files Browse the repository at this point in the history
…trochenkov

Fix typo in proc_macro Span::eq documentation
  • Loading branch information
bors committed Sep 18, 2022
2 parents a29f341 + 527f788 commit 4af79cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/proc_macro/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4af79cc

Please sign in to comment.