Skip to content

Commit baa91d0

Browse files
committed
Bump to 0.6.5
1 parent cc2ac04 commit baa91d0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22

33
name = "conduit"
4-
version = "0.6.4"
4+
version = "0.6.5"
55
authors = ["[email protected]",
66
"Alex Crichton <[email protected]>"]
77
description = "Common HTTP server interface"

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![feature(core, hash)]
1+
#![feature(core, hash, old_io, alloc)]
22

33
extern crate semver;
44

@@ -121,7 +121,7 @@ pub trait Handler: Sync + Send {
121121

122122
impl<F, E> Handler for F
123123
where F: Fn(&mut Request) -> Result<Response, E> + Sync + Send,
124-
E: Error + Send
124+
E: Error + Send + 'static
125125
{
126126
fn call(&self, request: &mut Request) -> Result<Response, Box<Error+Send>> {
127127
(*self)(request).map_err(|e| Box::new(e) as Box<Error+Send>)

0 commit comments

Comments
 (0)