From c6412f98a01fae6de3ccaa44d7ed1edd39c9a161 Mon Sep 17 00:00:00 2001 From: Jason Travis Smith Date: Mon, 21 Jan 2019 21:10:33 -0500 Subject: [PATCH] Fixed a warning of attempt never being used. This is due to attempt only being needed when converting sigil members. --- src/transmutable.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/transmutable.rs b/src/transmutable.rs index 1120f25..cc22a17 100644 --- a/src/transmutable.rs +++ b/src/transmutable.rs @@ -1,7 +1,8 @@ -use weave::attempt; - use spellbook::components::Array; +#[cfg(feature="convert_sigils")] +use weave::attempt; + #[cfg(feature="convert_sigils")] use sigils::{Zero, Number, Real, Trig};