upgrade compiler to nightly-2019-12-17

This commit is contained in:
Trinity Pointard
2019-12-19 09:17:05 +01:00
parent e53574970c
commit 07b70c084e
17 changed files with 107 additions and 80 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
#![feature(custom_attribute, associated_type_defaults)]
#![feature(associated_type_defaults)]
extern crate activitypub;
#[macro_use]
+1 -1
View File
@@ -97,7 +97,7 @@ fn inline_tags<'a>(
}
}
pub type MediaProcessor<'a> = Box<'a + Fn(i32) -> Option<(String, Option<String>)>>;
pub type MediaProcessor<'a> = Box<dyn 'a + Fn(i32) -> Option<(String, Option<String>)>>;
fn process_image<'a, 'b>(
evt: Event<'a>,