From e03ceec834aeca1f383b19354e32987bc2d59506 Mon Sep 17 00:00:00 2001 From: Rory Dudley Date: Tue, 5 Mar 2024 00:30:35 -0700 Subject: Fix macro_export formatting Fixed formatting of macro_export in src/recite/ps.rs to be more consistent. --- src/recite/ps.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/recite/ps.rs b/src/recite/ps.rs index bb18b3f..0738057 100644 --- a/src/recite/ps.rs +++ b/src/recite/ps.rs @@ -1,4 +1,3 @@ -#[macro_export] /// Fork into a process from a Verse /// /// Figures out whether or not the given Verse is a couplet. If it is, fork @@ -8,6 +7,7 @@ /// # Arguments /// * `$verse: &Verse` - The verse to fork into /// * `$out: &mut String` - If the $verse is a couplet, the contents of STDOUT from the last verse +#[macro_export] macro_rules! task { ($verse:expr, $out:expr) => { if $verse.couplet { @@ -37,7 +37,7 @@ macro_rules! task { /// # Arguments /// * `$verse: &Verse` - The verse to fork into /// * `$out: &mut String` - If the $verse is a couplet, the contents of STDOUT from the last verse -#[macro_export()] +#[macro_export] macro_rules! ctask { ($verse:expr, $out:expr) => { if $verse.couplet { -- cgit v1.2.3