aboutsummaryrefslogtreecommitdiff
path: root/src/commands/look_up.rs
diff options
context:
space:
mode:
authorAndy Wortman <ixineeringeverywhere@gmail.com>2017-10-21 14:01:56 -0700
committerAndy Wortman <ixineeringeverywhere@gmail.com>2017-10-21 14:01:56 -0700
commitfaa5864206ad8ab315ae12fb925386c6b76b1a90 (patch)
treee36dcec922dcc81f2f5cd2833c10eca21fb85645 /src/commands/look_up.rs
parentb31cd05328e78f01ec053a8ff60b6db8a92891a1 (diff)
begin conversion to typed TwitterID
Diffstat (limited to 'src/commands/look_up.rs')
-rw-r--r--src/commands/look_up.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/commands/look_up.rs b/src/commands/look_up.rs
index d04f984..386fade 100644
--- a/src/commands/look_up.rs
+++ b/src/commands/look_up.rs
@@ -23,6 +23,7 @@ pub static LOOK_UP_TWEET: Command = Command {
exec: look_up_tweet
};
+// TODO: make this parse a proper tweet id
fn look_up_tweet(line: String, tweeter: &mut tw::TwitterCache, mut queryer: &mut Queryer) {
if let Some(tweet) = tweeter.fetch_tweet(&line, &mut queryer) {
println!("{:?}", tweet);