From 016912a22efdc3f9ea80a844f53eae0b6f3161a0 Mon Sep 17 00:00:00 2001 From: Amos Wenger Date: Sun, 8 Nov 2020 13:19:00 +0100 Subject: [PATCH] Use cfg(feature), not cfg(features) Closes https://github.com/OrKoN/base-x-rs/issues/15 --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index a380abd..9f555e2 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -52,7 +52,7 @@ impl fmt::Display for DecodeError { } } -#[cfg(features = "std")] +#[cfg(feature = "std")] impl std::error::Error for DecodeError { fn description(&self) -> &str { "Can not decode the provided data"