From 87eee24f20f9a5bfb1942998e50c0ddf4ab95687 Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Sat, 4 Apr 2020 13:51:08 +0200 Subject: Use num_derive::FromPrimitive without #[macro_use] --- src/raw/types.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/raw') 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)] -- cgit v1.2.3