mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
Fix typo in proc_macro Span::eq
This commit is contained in:
parent
c773c134c9
commit
527f7887b8
@ -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