Skip to content

Commit 3e0524c

Browse files
committed
English spelling
1 parent eb5c5bf commit 3e0524c

File tree

7 files changed

+12
-12
lines changed

7 files changed

+12
-12
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ cssparser-macros = {path = "./macros", version = "0.2"}
2424
heapsize = {version = "0.3", optional = true}
2525
matches = "0.1"
2626
phf = "0.7"
27-
procedural-masquarade = {path = "./procedural-masquarade", version = "0.1"}
27+
procedural-masquerade = {path = "./procedural-masquerade", version = "0.1"}
2828
serde = {version = "0.9", optional = true}
2929

3030
[build-dependencies]
@@ -36,4 +36,4 @@ bench = []
3636
dummy_match_byte = []
3737

3838
[workspace]
39-
members = [".", "./macros", "./procedural-masquarade"]
39+
members = [".", "./macros", "./procedural-masquerade"]

macros/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ path = "lib.rs"
1212
proc-macro = true
1313

1414
[dependencies]
15-
procedural-masquarade = {path = "../procedural-masquarade", version = "0.1"}
15+
procedural-masquerade = {path = "../procedural-masquerade", version = "0.1"}
1616
phf_codegen = "0.7"
1717
quote = "0.3.14"
1818
syn = {version = "0.11.8", features = ["full"]}

macros/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* License, v. 2.0. If a copy of the MPL was not distributed with this
33
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
44

5-
#[macro_use] extern crate procedural_masquarade;
5+
#[macro_use] extern crate procedural_masquerade;
66
extern crate phf_codegen;
77
extern crate proc_macro;
88
#[macro_use] extern crate quote;

procedural-masquarade/Cargo.toml renamed to procedural-masquerade/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[package]
2-
name = "procedural-masquarade"
2+
name = "procedural-masquerade"
33
version = "0.1.0"
44
authors = ["Simon Sapin <simon.sapin@exyr.org>"]
55
description = "macro_rules for making proc_macro_derive pretending to be proc_macro"
6-
documentation = "https://docs.rs/procedural-masquarade/"
6+
documentation = "https://docs.rs/procedural-masquerade/"
77
repository = "https://github.com/servo/rust-cssparser"
88
license = "MIT/Apache-2.0"
99

procedural-masquarade/lib.rs renamed to procedural-masquerade/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
//! but not expressions directly.
5151
//!
5252
//! ```rust
53-
//! #[macro_use] extern crate procedural_masquarade;
53+
//! #[macro_use] extern crate procedural_masquerade;
5454
//! extern crate proc_macro;
5555
//!
5656
//! define_proc_macros! {
@@ -117,7 +117,7 @@
117117
//! 6. Here we use the macro defined in (3),
118118
//! which allows us to write something that look like invoking a functional procedural macro,
119119
//! but really uses a custom `derive`.
120-
//! This will define a type called `ProceduralMasquaradeDummyType`,
120+
//! This will define a type called `ProceduralMasqueradeDummyType`,
121121
//! as a placeholder to use `derive`.
122122
//! If `libfoo__invoke_proc_macro!` is to be used more than once,
123123
//! each use needs to be nested in another block
@@ -214,7 +214,7 @@ macro_rules! define_invoke_proc_macro {
214214
($proc_macro_name: ident ! $paren: tt) => {
215215
#[derive($proc_macro_name)]
216216
#[allow(unused)]
217-
enum ProceduralMasquaradeDummyType {
217+
enum ProceduralMasqueradeDummyType {
218218
// The magic happens here.
219219
//
220220
// We use an `enum` with an explicit discriminant

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ fn parse_border_spacing(_context: &ParserContext, input: &mut Parser)
7070

7171
#[macro_use] extern crate cssparser_macros;
7272
#[macro_use] extern crate matches;
73-
#[macro_use] extern crate procedural_masquarade;
73+
#[macro_use] extern crate procedural_masquerade;
7474
pub extern crate phf;
7575
#[cfg(test)] extern crate encoding_rs;
7676
#[cfg(test)] extern crate tempdir;
@@ -95,7 +95,7 @@ pub use unicode_range::UnicodeRange;
9595
// For macros
9696
#[doc(hidden)] pub use macros::_internal__to_lowercase;
9797

98-
// For macros when used in this crate. Unsure how $crate works with procedural-masquarade.
98+
// For macros when used in this crate. Unsure how $crate works with procedural-masquerade.
9999
mod cssparser { pub use phf; }
100100

101101
#[macro_use]

src/macros.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* License, v. 2.0. If a copy of the MPL was not distributed with this
33
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
44

5-
/// See docs of the `procedural-masquarade` crate.
5+
/// See docs of the `procedural-masquerade` crate.
66
define_invoke_proc_macro!(cssparser_internal__invoke_proc_macro);
77

88
/// Expands to a `match` expression with string patterns,

0 commit comments

Comments
 (0)