summaryrefslogtreecommitdiffstats
path: root/rust/src/bin/fatcat-export.rs
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-01-11 16:17:57 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-01-11 16:17:57 -0800
commit39ea4f451543822bd6e525cfac252363b78cc6ec (patch)
tree5f2e30ef495bd70eee182cd4f08866f0f7eaffd2 /rust/src/bin/fatcat-export.rs
parente93fe289d584f5bb1d8fca7fd3f476113104b411 (diff)
downloadfatcat-39ea4f451543822bd6e525cfac252363b78cc6ec.tar.gz
fatcat-39ea4f451543822bd6e525cfac252363b78cc6ec.zip
tone down fatcat-export comments
Diffstat (limited to 'rust/src/bin/fatcat-export.rs')
-rw-r--r--rust/src/bin/fatcat-export.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/rust/src/bin/fatcat-export.rs b/rust/src/bin/fatcat-export.rs
index 0f5d04ac..6d2d396c 100644
--- a/rust/src/bin/fatcat-export.rs
+++ b/rust/src/bin/fatcat-export.rs
@@ -61,7 +61,7 @@ macro_rules! generic_loop_work {
row.rev_id.expect("valid, non-deleted row"),
HideFlags::none(),
)?; // .chain_err(|| "reading entity from database")?;
- entity.state = Some("active".to_string()); // XXX
+ entity.state = Some("active".to_string()); // only active lines were passed
entity.ident = Some(row.ident_id.to_string());
if let Some(expand) = expand {
entity.db_expand(db_conn, expand)?
@@ -92,7 +92,7 @@ fn loop_printer(
done_sender: channel::Sender<()>,
) -> Result<()> {
let output = std::io::stdout();
- // XXX should log...
+ // TODO: should log?
// let mut buf_output = BufWriter::new(output.lock());
let mut buf_output = BufWriter::new(output);
for line in output_receiver {