aboutsummaryrefslogtreecommitdiff
path: root/src/feature
diff options
context:
space:
mode:
authorjan <jan@ruken.pw>2016-04-07 17:05:24 (UTC)
committerjan <jan@ruken.pw>2016-04-07 17:05:24 (UTC)
commit5fe11c7ffa1227f10139836a9c755a63dacc6916 (patch)
tree6c126a9b279bc18401fa9f8348642df8833e7b18 /src/feature
parent41e1b7bc8279cfe47577a9191a738325950bb431 (diff)
features anzeigen fuer luggas. irgendwas gefixt.
Diffstat (limited to 'src/feature')
-rw-r--r--src/feature/topanime.rs10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/feature/topanime.rs b/src/feature/topanime.rs
index 94edd30..7380b11 100644
--- a/src/feature/topanime.rs
+++ b/src/feature/topanime.rs
@@ -1,7 +1,6 @@
1use std::io; 1use std::io;
2use std::io::prelude::*; 2use std::io::prelude::*;
3use std::fs::File; 3use std::fs::File;
4use std::usize;
5 4
6extern crate telegram_bot; 5extern crate telegram_bot;
7use telegram_bot::{Api, Message, MessageType}; 6use telegram_bot::{Api, Message, MessageType};
@@ -19,15 +18,6 @@ pub struct Anime {
19 score: f64, 18 score: f64,
20} 19}
21 20
22impl Anime {
23 pub fn new(name: &str, score: f64) -> Anime {
24 Anime {
25 name: name.to_owned(),
26 score: score,
27 }
28 }
29}
30
31pub struct TopAnime { 21pub struct TopAnime {
32 animes: Vec<Anime>, 22 animes: Vec<Anime>,
33 last_update: f64, 23 last_update: f64,