Skip to content

Commit 8a81717

Browse files
committed
procedural-masquerade doc typos
1 parent 7f54598 commit 8a81717

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

procedural-masquerade/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "procedural-masquerade"
3-
version = "0.1.2"
3+
version = "0.1.3"
44
authors = ["Simon Sapin <simon.sapin@exyr.org>"]
55
description = "macro_rules for making proc_macro_derive pretending to be proc_macro"
66
documentation = "https://docs.rs/procedural-masquerade/"

procedural-masquerade/lib.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
//! but it still needs to be re-exported to them
4343
//! (because of limitations in `macro_rules!`).
4444
//!
45-
//! To avoid name collisions, we and a long and explicit prefix in the function’s name.
45+
//! To avoid name collisions, we include a long and explicit prefix in the function’s name.
4646
//!
4747
//! The function takes a string containing arbitrary Rust tokens,
4848
//! and returns a string that is parsed as *items*.
@@ -73,7 +73,7 @@
7373
//! version = "1.0.0"
7474
//!
7575
//! [dependencies]
76-
//! cssparser-macros = {path = "./macros", version = "1.0"}
76+
//! libfoo-macros = {path = "./macros", version = "1.0"}
7777
//! ```
7878
//!
7979
//! ```rust
@@ -98,7 +98,7 @@
9898
//!
9999
//! Let’s go trough the numbered lines one by one:
100100
//!
101-
//! 1. `libfoo` depends on the other `libfoo-macros`, and imports its macros.
101+
//! 1. `libfoo` depends on `libfoo-macros`, and imports its macros.
102102
//! 2. Everything exported by `libfoo-macros` (which is one custom `derive`)
103103
//! is re-exported to users of `libfoo`.
104104
//! They’re not expected to use it directly,
@@ -152,9 +152,9 @@
152152
//! # More
153153
//!
154154
//! To see a more complex example, look at
155-
//! [`cssparser`’s `src/macros.rs](https://github.com/servo/rust-cssparser/blob/master/src/macros.rs)
155+
//! [`cssparser`’s `src/macros.rs`](https://github.com/servo/rust-cssparser/blob/master/src/macros.rs)
156156
//! and
157-
//! [`cssparser-macros`’s `macros/lib.rs](https://github.com/servo/rust-cssparser/blob/master/macros/lib.rs).
157+
//! [`cssparser-macros`’s `macros/lib.rs`](https://github.com/servo/rust-cssparser/blob/master/macros/lib.rs).
158158
159159
/// This macro wraps `&str -> String` functions
160160
/// in custom `derive` implementations with `#[proc_macro_derive]`.

0 commit comments

Comments
 (0)