mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
Auto merge of #101955 - jam1garner:fix-proc-macro-typo, r=petrochenkov
Fix typo in proc_macro Span::eq documentation
This commit is contained in:
commit
4af79ccd5e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user