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/statistics/gamedata.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/statistics') diff --git a/src/statistics/gamedata.rs b/src/statistics/gamedata.rs index 400f070..9b5a492 100644 --- a/src/statistics/gamedata.rs +++ b/src/statistics/gamedata.rs @@ -2,6 +2,7 @@ //! some statistics. use std::{fmt, str::FromStr}; use super::boon::{BoonQueue, BoonType}; +use num_derive::FromPrimitive; /// Enum containing all bosses with their IDs. #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash, FromPrimitive)] -- cgit v1.2.3