summaryrefslogtreecommitdiffstats
path: root/src/poem/recite.rs
diff options
context:
space:
mode:
authorRory Dudley2024-03-24 22:40:09 -0600
committerRory Dudley2024-03-24 22:40:09 -0600
commit3dffade25dcb05c04fc0d229e0781a040b3fc885 (patch)
tree79158b77b7b480689b4869513f1b71d440a4c0c2 /src/poem/recite.rs
parent443c5fad55c6f81f5dc81585ab350de452e47260 (diff)
downloaddwarvish-3dffade25dcb05c04fc0d229e0781a040b3fc885.tar.gz
Remove defunct code from read() and recite()
Remove some commented out code, that is no longer needed after the parser overhaul.
Diffstat (limited to 'src/poem/recite.rs')
-rw-r--r--src/poem/recite.rs14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/poem/recite.rs b/src/poem/recite.rs
index ba739c2..1d41c40 100644
--- a/src/poem/recite.rs
+++ b/src/poem/recite.rs
@@ -119,20 +119,6 @@ impl Reciteable for Poem {
}
j += 1;
}
-
- // // Get indices of words in the verse that begin with a vertical tab
- // let mut indicies = vec![];
- // for (i, word) in verse.stanza.iter().enumerate() {
- // if word.starts_with("\x0b") {
- // indicies.push(i);
- // }
- // }
-
- // // Try to recite the internal poem, and update the parent poem
- // for (i, poem) in verse.poems.iter().enumerate() {
- // let out = poem.recite(path, bins, Some(false))?;
- // verse.stanza[indicies[i]] = out;
- // }
}
match new_stanza {