Skip to content

Commit

Permalink
Merge pull request #64 from fritzrehde/master
Browse files Browse the repository at this point in the history
Fixed some typos
  • Loading branch information
nrc authored Nov 3, 2023
2 parents c3500e9 + 1f5cd27 commit 0147915
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ let _ = Foo::new(true);
```

Generic types are supported; in particular, `PhantomData<T>` 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;
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
//! ```
//!
//! Generic types are supported; in particular, `PhantomData<T>` 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;
Expand Down
2 changes: 1 addition & 1 deletion testcrate/tests/compile-fail/new-invalid-value.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0147915

Please sign in to comment.