diff options
author | Daniel Schadt <kingdread@gmx.de> | 2020-04-04 13:51:08 +0200 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2020-04-04 13:55:20 +0200 |
commit | 87eee24f20f9a5bfb1942998e50c0ddf4ab95687 (patch) | |
tree | c9e442d7bc8feb7bc7f58396a4dccc863eaac32b /src/raw | |
parent | 4ec62bbac872bbfd95413af2f00c3f4a36c70630 (diff) | |
download | evtclib-87eee24f20f9a5bfb1942998e50c0ddf4ab95687.tar.gz evtclib-87eee24f20f9a5bfb1942998e50c0ddf4ab95687.tar.bz2 evtclib-87eee24f20f9a5bfb1942998e50c0ddf4ab95687.zip |
Use num_derive::FromPrimitive without #[macro_use]
Diffstat (limited to 'src/raw')
-rw-r--r-- | src/raw/types.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/raw/types.rs b/src/raw/types.rs index 93a75b7..2fbdabc 100644 --- a/src/raw/types.rs +++ b/src/raw/types.rs @@ -1,4 +1,5 @@ use std::{self, fmt}; +use num_derive::FromPrimitive; /// The "friend or foe" enum. #[derive(Copy, Clone, Debug, PartialEq, Eq, FromPrimitive)] |