Skip to content

Commit 3a2a520

Browse files
committed
Fix documentation typo
Signed-off-by: Anders Kaseorg <[email protected]>
1 parent c403d0e commit 3a2a520

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ alternative to the built-in `#[derive(FromPrimitive)]`, which
66
requires the unstable `std::num::FromPrimitive` and is disabled in
77
Rust 1.0.
88

9-
The current implementation requires all variants of the num to
9+
The current implementation requires all variants of the enum to
1010
have an explicit discriminator value. This restriction may be
1111
relaxed in future versions.
1212

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
//! requires the unstable `std::num::FromPrimitive` and is disabled in
2929
//! Rust 1.0.
3030
//!
31-
//! The current implementation requires all variants of the num to
31+
//! The current implementation requires all variants of the enum to
3232
//! have an explicit discriminator value. This restriction may be
3333
//! relaxed in future versions.
3434
//!

0 commit comments

Comments
 (0)