aboutsummaryrefslogtreecommitdiff
path: root/src/commands/look_up.rs
diff options
context:
space:
mode:
authoriximeow <me@iximeow.net>2017-10-21 14:01:56 -0700
committeriximeow <me@iximeow.net>2017-10-21 14:01:56 -0700
commitaa3c4e239f4932de1d89a03bd6c9103957199dbf (patch)
treee36dcec922dcc81f2f5cd2833c10eca21fb85645 /src/commands/look_up.rs
parent662d2a78c39bff7b56b81448a15a179b2af2b000 (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);