diff --git a/src/lib.rs b/src/lib.rs index da289be..3c9ab5d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -79,7 +79,7 @@ impl
Clone for State
{ } } -impl
Clone for Write
{ +impl
Clone for Write
{ fn clone(&self) -> Write
{ Write { data: self.data.clone() } } @@ -108,7 +108,7 @@ impl
PluginFor
}
impl PluginFor
- where D: Send + Sync,
+ where D: Send,
P: Assoc {
}
}
-impl {
+impl {
fn before(&self, req: &mut Request) -> IronResult<()> {
req.extensions.insert:: {
+impl {
fn after(&self, _: &mut Request, res: &mut Response) -> IronResult<()> {
res.extensions.insert:: Read where D: Send + Sync, P: Assoc Write where D: Send + Sync, P: Assoc Write where D: Send, P: Assoc