Skip to content

Commit cfc92e3

Browse files
committed
Documentation
1 parent 51a37b9 commit cfc92e3

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

README.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ generic type bounds.
1212
## Usage
1313

1414
The `derive_where` macro can be used just like std's `#[derive(...)]`
15-
statements, with the only caveat that it requires to derive `DeriveWhere`
16-
([#27]):
15+
statements:
1716

1817
```rust
1918
#[derive_where(Clone, Debug)]
@@ -242,7 +241,7 @@ accompanied by a minor version bump. If MSRV is important to you, use
242241
[derivative](https://crates.io/crates/derivative)
243242
([![Crates.io](https://img.shields.io/crates/v/derivative.svg)](https://crates.io/crates/derivative))
244243
is a great alternative with many options. Notably it has no `no_std`
245-
support.
244+
support and requires to `#[derive(Derivative)]` to use.
246245

247246
## Changelog
248247

src/lib.rs

+2-4
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@
1212
//! # Usage
1313
//!
1414
//! The `derive_where` macro can be used just like std's `#[derive(...)]`
15-
//! statements, with the only caveat that it requires to derive `DeriveWhere`
16-
//! ([#27]):
15+
//! statements:
1716
//!
1817
//! ```
1918
//! # use std::marker::PhantomData;
@@ -181,7 +180,6 @@
181180
//! # }
182181
//! # }
183182
//! # }
184-
//!
185183
//! #[derive_where(Zeroize(crate = "zeroize_"))]
186184
//! struct Example(#[derive_where(Zeroize(fqs))] i32);
187185
//!
@@ -303,7 +301,7 @@
303301
//! [derivative](https://crates.io/crates/derivative)
304302
//! ([![Crates.io](https://img.shields.io/crates/v/derivative.svg)](https://crates.io/crates/derivative))
305303
//! is a great alternative with many options. Notably it has no `no_std`
306-
//! support.
304+
//! support and requires to `#[derive(Derivative)]` to use.
307305
//!
308306
//! # Changelog
309307
//!

0 commit comments

Comments
 (0)