summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRory Dudley2024-03-05 00:30:35 -0700
committerRory Dudley2024-03-05 00:30:35 -0700
commite03ceec834aeca1f383b19354e32987bc2d59506 (patch)
tree58de841329cc03937901ee024c4977efd3d4bc04
parentc2ce134cd393f397cb8b1e584949020c2c030f8d (diff)
downloaddwarvish-e03ceec834aeca1f383b19354e32987bc2d59506.tar.gz
Fix macro_export formatting
Fixed formatting of macro_export in src/recite/ps.rs to be more consistent.
-rw-r--r--src/recite/ps.rs4
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 {