about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-09-18 11:42:13 +0000
committerbors <bors@rust-lang.org>2022-09-18 11:42:13 +0000
commit4af79ccd5e23c7cbaabcd7aefdda3b715abde606 (patch)
tree3b695a1a7e8c7cea8f2c7665ad2c099d8fd04002
parenta29f341a8ac4e9325a5e37027b4215f50a76d06f (diff)
parent527f7887b845405bab06dea04f641ec20971e7c8 (diff)
downloadrust-4af79ccd5e23c7cbaabcd7aefdda3b715abde606.tar.gz
rust-4af79ccd5e23c7cbaabcd7aefdda3b715abde606.zip
Auto merge of #101955 - jam1garner:fix-proc-macro-typo, r=petrochenkov
Fix typo in proc_macro Span::eq documentation
-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