diff options
author | Rory Dudley | 2024-03-05 00:30:35 -0700 |
---|---|---|
committer | Rory Dudley | 2024-03-05 00:30:35 -0700 |
commit | e03ceec834aeca1f383b19354e32987bc2d59506 (patch) | |
tree | 58de841329cc03937901ee024c4977efd3d4bc04 /src/recite/ps.rs | |
parent | c2ce134cd393f397cb8b1e584949020c2c030f8d (diff) | |
download | dwarvish-e03ceec834aeca1f383b19354e32987bc2d59506.tar.gz |
Fix macro_export formatting
Fixed formatting of macro_export in src/recite/ps.rs to be more
consistent.
Diffstat (limited to 'src/recite/ps.rs')
-rw-r--r-- | src/recite/ps.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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 { |