mirror of
https://github.com/openharmony/third_party_rust_rust.git
synced 2026-07-19 19:53:38 -04:00
Fix typo in proc_macro Span::eq
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user