MAINT: Cleanup TODOs

This commit is contained in:
Jeremy Wall 2019-11-09 19:09:15 -06:00
parent b36a9513eb
commit 2c927ed0e5
3 changed files with 0 additions and 5 deletions

View File

@ -16,9 +16,6 @@ use std::io::Write;
use crate::ast::*; use crate::ast::*;
use crate::parse::CommentMap; use crate::parse::CommentMap;
// TODO(jwall): We really need a way to preserve comments for these.
// Perhaps for code formatting we actually want to work on the token stream instead?
pub struct AstPrinter<'a, W> pub struct AstPrinter<'a, W>
where where
W: Write, W: Write,

View File

@ -91,7 +91,6 @@ impl YamlConverter {
} }
}; };
if key == "<<" { if key == "<<" {
// TODO(jwall): Handle merge keys
if let serde_yaml::Value::Mapping(merge_map) = value { if let serde_yaml::Value::Mapping(merge_map) = value {
self.merge_mapping_keys(&mut fs, merge_map)?; self.merge_mapping_keys(&mut fs, merge_map)?;
} }

View File

@ -591,7 +591,6 @@ fn do_repl<C: Cache>(
loop { loop {
// print prompt // print prompt
let line = editor.readline(&format!("{}> ", lines.next_line()))?; let line = editor.readline(&format!("{}> ", lines.next_line()))?;
// TODO check for a repl command.
// repl commands are only valid while not accumulating a statement; // repl commands are only valid while not accumulating a statement;
let trimmed = line.trim(); let trimmed = line.trim();
if trimmed.starts_with("#") { if trimmed.starts_with("#") {