Skip to content

Commit 85b6bf9

Browse files
authored
Rollup merge of #54085 - dtolnay:bare, r=alexcrichton
Remove documentation about proc_macro being bare-bones A large chunk of useful API surface area is stabilizing in Rust 1.29. We no longer have a commitment to expand the API over time as much as implied by these comments. r? @alexcrichton
2 parents 74b8188 + 7acd4b1 commit 85b6bf9

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/libproc_macro/lib.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@
1515
//! function-like macros `#[proc_macro]`, macro attributes `#[proc_macro_attribute]` and
1616
//! custom derive attributes`#[proc_macro_derive]`.
1717
//!
18-
//! Note that this crate is intentionally bare-bones currently.
19-
//! This functionality is intended to be expanded over time as more surface
20-
//! area for macro authors is stabilized.
21-
//!
2218
//! See [the book](../book/first-edition/procedural-macros.html) for more.
2319
2420
#![stable(feature = "proc_macro_lib", since = "1.15.0")]
@@ -73,9 +69,6 @@ use syntax_pos::{Pos, FileName};
7369
///
7470
/// This is both the input and output of `#[proc_macro]`, `#[proc_macro_attribute]`
7571
/// and `#[proc_macro_derive]` definitions.
76-
///
77-
/// The API of this type is intentionally bare-bones, but it'll be expanded over
78-
/// time!
7972
#[stable(feature = "proc_macro_lib", since = "1.15.0")]
8073
#[derive(Clone)]
8174
pub struct TokenStream(tokenstream::TokenStream);

0 commit comments

Comments
 (0)