diff options
-rw-r--r-- | src/poem/read.rs | 13 | ||||
-rw-r--r-- | src/poem/recite.rs | 14 |
2 files changed, 0 insertions, 27 deletions
diff --git a/src/poem/read.rs b/src/poem/read.rs index 01ddfc3..0956700 100644 --- a/src/poem/read.rs +++ b/src/poem/read.rs @@ -203,15 +203,6 @@ impl Readable for Poem { // Indicates a sub-poem Rune::Poem => { poem!(chars, j, i, c, verse, word); - // let sp = Poem::read(word.iter().collect()); - // let sp = match sp { - // Ok(sp) => sp, - // Err(e) => return Err(e), - // }; - // verse.poems.push(sp); - // word.push('\x0b'); - // verse.push(format!("\x0b{}", verse.poems.len() - 1)); - // word.clear(); } // Indicates a file operation (<, >, or >>) @@ -244,10 +235,6 @@ impl Readable for Poem { if rune != Rune::Pause { last = rune; } - // last = match poem.last() { - // Some(last) => last.meter, - // None => Rune::None, - // }; // Increment i, but don't drift over newlines if c != '\n' { 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 { |