Skip to content

Commit

Permalink
fix: macro_tools warnings fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Inkvisto committed Jul 17, 2024
1 parent 570f372 commit bdb3797
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions module/core/macro_tools/examples/macro_tools_attr_prop.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
//! defined in other crates.
//!
#[ cfg( not( all( feature = "enabled", debug_assertions ) ) ) ]
#[ cfg( not( all( feature = "enabled", feature = "attr_prop", debug_assertions ) ) ) ]
fn main(){}
#[ cfg( all( feature = "enabled", debug_assertions ) ) ]
#[ cfg( all( feature = "enabled", feature = "attr_prop", debug_assertions ) ) ]
fn main()
{

Expand Down
4 changes: 2 additions & 2 deletions module/core/macro_tools/examples/macro_tools_trivial.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
//! In this example, we generate a type `core::option::Option<i8, i16, i32, i64>` and extract its type parameters.
//!
#[ cfg( not( feature = "enabled" ) ) ]
#[ cfg( not( all( feature = "enabled", feature = "typ" ) ) ) ]
fn main(){}
#[ cfg( feature = "enabled" ) ]
#[ cfg( all( feature = "enabled", feature = "typ" ) ) ]
fn main()
{
// Import necessary macros and modules from the `macro_tools` crate.
Expand Down

0 comments on commit bdb3797

Please sign in to comment.