mirror of
https://github.com/zaphar/ucg.git
synced 2025-07-22 18:19:54 -04:00
MAINT: Cleanup TODOs
This commit is contained in:
parent
b36a9513eb
commit
2c927ed0e5
@ -16,9 +16,6 @@ use std::io::Write;
|
||||
use crate::ast::*;
|
||||
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>
|
||||
where
|
||||
W: Write,
|
||||
|
@ -91,7 +91,6 @@ impl YamlConverter {
|
||||
}
|
||||
};
|
||||
if key == "<<" {
|
||||
// TODO(jwall): Handle merge keys
|
||||
if let serde_yaml::Value::Mapping(merge_map) = value {
|
||||
self.merge_mapping_keys(&mut fs, merge_map)?;
|
||||
}
|
||||
|
@ -591,7 +591,6 @@ fn do_repl<C: Cache>(
|
||||
loop {
|
||||
// print prompt
|
||||
let line = editor.readline(&format!("{}> ", lines.next_line()))?;
|
||||
// TODO check for a repl command.
|
||||
// repl commands are only valid while not accumulating a statement;
|
||||
let trimmed = line.trim();
|
||||
if trimmed.starts_with("#") {
|
||||
|
Loading…
x
Reference in New Issue
Block a user