about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJubilee <46493976+workingjubilee@users.noreply.github.com>2024-03-12 09:04:04 -0700
committerGitHub <noreply@github.com>2024-03-12 09:04:04 -0700
commit8efdef69003b683c43cce760100f10ce342685d2 (patch)
tree4871fddba8a7b6b363c1be0e923ea7c2fc2d8ace
parentcf3d178e2dc7608d21ed699455c44ad965cc1933 (diff)
parent34e59f49d5ef9742e69c421207a53163618eeb1b (diff)
downloadrust-8efdef69003b683c43cce760100f10ce342685d2.tar.gz
rust-8efdef69003b683c43cce760100f10ce342685d2.zip
Rollup merge of #122380 - Isotope-235:fork, r=petrochenkov
Fix typo in lib.rs of proc_macro

I believe I discovered a typo in the documentation of TokenStream while writing a procedural macro.
-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 610966625b5..e04bf69ef51 100644
--- a/library/proc_macro/src/lib.rs
+++ b/library/proc_macro/src/lib.rs
@@ -73,7 +73,7 @@ pub fn is_available() -> bool {
 
 /// The main type provided by this crate, representing an abstract stream of
 /// tokens, or, more specifically, a sequence of token trees.
-/// The type provide interfaces for iterating over those token trees and, conversely,
+/// The type provides interfaces for iterating over those token trees and, conversely,
 /// collecting a number of token trees into one stream.
 ///
 /// This is both the input and output of `#[proc_macro]`, `#[proc_macro_attribute]`