From 527f7887b845405bab06dea04f641ec20971e7c8 Mon Sep 17 00:00:00 2001 From: jam1garner Date: Sat, 17 Sep 2022 19:15:30 -0400 Subject: [PATCH] Fix typo in proc_macro Span::eq --- library/proc_macro/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/proc_macro/src/lib.rs b/library/proc_macro/src/lib.rs index 495c1c5ae46..f9c7d3e172c 100644 --- a/library/proc_macro/src/lib.rs +++ b/library/proc_macro/src/lib.rs @@ -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