diff options
author | Rory Dudley | 2024-03-24 22:40:09 -0600 |
---|---|---|
committer | Rory Dudley | 2024-03-24 22:40:09 -0600 |
commit | 3dffade25dcb05c04fc0d229e0781a040b3fc885 (patch) | |
tree | 79158b77b7b480689b4869513f1b71d440a4c0c2 /src/poem/read.rs | |
parent | 443c5fad55c6f81f5dc81585ab350de452e47260 (diff) | |
download | dwarvish-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/read.rs')
-rw-r--r-- | src/poem/read.rs | 13 |
1 files changed, 0 insertions, 13 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' { |