summaryrefslogtreecommitdiffstats
path: root/src/poem/recite.rs
diff options
context:
space:
mode:
authorRory Dudley2024-05-20 00:17:01 -0600
committerRory Dudley2024-05-20 00:17:01 -0600
commit1bb25591b77a14a17bd05d79316ce703bcbcc3a6 (patch)
treee51175a5973e71999332c7227f6d1f3a0d458a21 /src/poem/recite.rs
parent4b1b8061e79b42128df4f06fd1e439549bf9696b (diff)
downloaddwarvish-1bb25591b77a14a17bd05d79316ce703bcbcc3a6.tar.gz
Don't clear 'out' unconditionally
Only clear the 'out' vector when the verse is not a couplet, otherwise text will not be piped to the next verse in the poem.
Diffstat (limited to 'src/poem/recite.rs')
-rw-r--r--src/poem/recite.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/poem/recite.rs b/src/poem/recite.rs
index 8b2fd1d..2311352 100644
--- a/src/poem/recite.rs
+++ b/src/poem/recite.rs
@@ -160,7 +160,6 @@ impl Reciteable for Poem {
} else {
continue;
}
-
verse.incant(&mut out, &mut pids)?
};