From 054df849e19fb686d9c4c42366bc8baa99f41d48 Mon Sep 17 00:00:00 2001 From: Peter Glotfelty Date: Sat, 16 Apr 2022 12:28:10 -0700 Subject: [PATCH] Fix unit tests --- strum_macros/Cargo.toml | 2 +- strum_macros/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/strum_macros/Cargo.toml b/strum_macros/Cargo.toml index 8dff3801..5dfd3700 100644 --- a/strum_macros/Cargo.toml +++ b/strum_macros/Cargo.toml @@ -26,4 +26,4 @@ rustversion = "1.0" syn = { version = "1.0", features = ["parsing", "extra-traits"] } [dev-dependencies] -strum = "0.23" +strum = "0.24" diff --git a/strum_macros/src/lib.rs b/strum_macros/src/lib.rs index 30d3edd8..32f9a780 100644 --- a/strum_macros/src/lib.rs +++ b/strum_macros/src/lib.rs @@ -627,7 +627,7 @@ pub fn enum_properties(input: proc_macro::TokenStream) -> proc_macro::TokenStrea /// // Bring trait into scope /// use std::str::FromStr; /// use strum::{IntoEnumIterator, EnumMessage}; -/// use strum_macros::{EnumDiscriminants, EnumIter, EnumString}; +/// use strum_macros::{EnumDiscriminants, EnumIter, EnumString, EnumMessage}; /// /// #[derive(Debug)] /// struct NonDefault;