This sort of works?

This commit is contained in:
Jordan Petridis
2018-01-23 10:12:32 +02:00
parent f7f6087d70
commit 8095919bbe
6 changed files with 25 additions and 5 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ static URLS: &[(&[u8], &str)] = &[
),
];
fn index_urls() -> Vec<Box<Future<Item = (), Error = Error>>> {
fn index_urls() -> Vec<Box<Future<Item = (), Error = Error> + Send>> {
let feeds: Vec<_> = URLS.iter()
.map(|&(buff, url)| {
// Create and insert a Source into db