Skip to content

Commit

Permalink
Hide EnumTable because I think it should be deprecated in the next re…
Browse files Browse the repository at this point in the history
…lease (#344)

Co-authored-by: Peter Glotfelty <peter@glotfelty.us>
  • Loading branch information
Peternator7 and Peter Glotfelty committed Mar 10, 2024
1 parent 1abb289 commit 8daf564
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions strum_macros/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -569,6 +569,7 @@ pub fn enum_try_as(input: proc_macro::TokenStream) -> proc_macro::TokenStream {
/// complex_map[Color::Green] = complex_map[Color::Red];
/// assert_eq!(complex_map, ColorTable::new(0, 3, 0, 3));
/// ```
#[doc(hidden)]
#[proc_macro_derive(EnumTable, attributes(strum))]
pub fn enum_table(input: proc_macro::TokenStream) -> proc_macro::TokenStream {
let ast = syn::parse_macro_input!(input as DeriveInput);
Expand Down

0 comments on commit 8daf564

Please sign in to comment.