diff --git a/README.md b/README.md index 9b1ba22..9154782 100644 --- a/README.md +++ b/README.md @@ -65,7 +65,7 @@ let _ = Foo::new(true); ``` Generic types are supported; in particular, `PhantomData` fields will be not -included in the argument list and will be intialized automatically: +included in the argument list and will be initialized automatically: ```rust use std::marker::PhantomData; diff --git a/src/lib.rs b/src/lib.rs index 9187b69..e5e119d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -65,7 +65,7 @@ //! ``` //! //! Generic types are supported; in particular, `PhantomData` fields will be not -//! included in the argument list and will be intialized automatically: +//! included in the argument list and will be initialized automatically: //! //! ```rust //! use derive_new::new; diff --git a/testcrate/tests/compile-fail/new-invalid-value.rs b/testcrate/tests/compile-fail/new-invalid-value.rs index ecfc311..7fab768 100644 --- a/testcrate/tests/compile-fail/new-invalid-value.rs +++ b/testcrate/tests/compile-fail/new-invalid-value.rs @@ -2,7 +2,7 @@ extern crate derive_new; #[derive(new)] -//~^ ERROR produced unparseable tokens +//~^ ERROR produced unparsable tokens struct Foo { #[new(value = "hello@world")] //~^ ERROR expected one of