Skip to content

Commit

Permalink
Hide empty macro
Browse files Browse the repository at this point in the history
  • Loading branch information
tigerros committed Nov 2, 2023
1 parent c1e917c commit 166dd2a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ pub const fn trim(this: &str) -> &str {
/// Macro with one empty pattern `() => {};`.
/// Used for enforcing that a meta variable (e.g., `$foo:tt`) is empty.
#[macro_export]
#[doc(hidden)]
macro_rules! empty {
() => {};
}
Expand Down

0 comments on commit 166dd2a

Please sign in to comment.