Skip to content

Commit 2fbcbec

Browse files
lionelainsVeykril
authored andcommitted
Missing spaces and slightly re-ordering
1 parent 385c769 commit 2fbcbec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/proc-macros/third-party-crates.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ As the library can be a heavy compilation dependency, it makes heavy use of feat
5353

5454
So what does it offer? A bunch of things.
5555

56-
First of all it has definitions and parsing for all standard Rust syntax nodes (when the `full` feature is enabled), as well as a [`DeriveInput`](https://docs.rs/syn/1/syn/struct.DeriveInput.html) type which encapsulates all the information a derive macro gets passed as an input stream as a structured input(requires the `derive` feature, enabled by default). These can be used right out of the box with the [`parse_macro_input!`](https://docs.rs/syn/1/syn/macro.parse_macro_input.html) macro(requires the `parsing` and `proc-macro` features, enabled by default) to parse token streams into these types.
56+
First of all it has definitions and parsing for all standard Rust syntax nodes (when the `full` feature is enabled), as well as a [`DeriveInput`](https://docs.rs/syn/1/syn/struct.DeriveInput.html) type which encapsulates all the information a derive macro gets passed as an input stream as a structured input(requires the `derive` feature, enabled by default). These can be used right out of the box with the [`parse_macro_input!`](https://docs.rs/syn/1/syn/macro.parse_macro_input.html) macro to parse token streams into these types (this requires the `parsing` and `proc-macro` features, enabled by default).
5757

58-
If Rust syntax doesn't cut it, and instead one wishes to parse custom non-Rust syntax the crate also offers a generic [parsing API](https://docs.rs/syn/1/syn/parse/index.html), mainly in the form of the [`Parse`](https://docs.rs/syn/1/syn/parse/trait.Parse.html) trait(requires the `parsing` feature, enabled by default).
58+
If Rust syntax doesn't cut it, and instead one wishes to parse custom non-Rust syntax the crate also offers a generic [parsing API](https://docs.rs/syn/1/syn/parse/index.html), mainly in the form of the [`Parse`](https://docs.rs/syn/1/syn/parse/trait.Parse.html) trait (requires the `parsing` feature, enabled by default).
5959

6060
Aside from this the types exposed by the library keep location information and spans which allows procedural macros to emit detailed error messages pointing at the macro input at the points of interest.
6161

0 commit comments

Comments
 (0)