about summary refs log tree commit diff
diff options
context:
space:
mode:
authorjam1garner <jam@jam1.re>2022-09-17 19:15:30 -0400
committerjam1garner <jam@jam1.re>2022-09-17 19:15:30 -0400
commit527f7887b845405bab06dea04f641ec20971e7c8 (patch)
tree40bc609adaddfcb8ca65d18e47aff14b9ac61e14
parentc773c134c949661874d76313280e76cc3dd60975 (diff)
downloadrust-527f7887b845405bab06dea04f641ec20971e7c8.tar.gz
rust-527f7887b845405bab06dea04f641ec20971e7c8.zip
Fix typo in proc_macro Span::eq
-rw-r--r--library/proc_macro/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
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