Skip to content

Commit 58e0735

Browse files
committed
Bump to 0.7.3
1 parent 2557e3a commit 58e0735

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
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-middleware"
4-
version = "0.7.2"
4+
version = "0.7.3"
55
authors = ["[email protected]",
66
"Alex Crichton <[email protected]>"]
77
description = "HTTP Middleware interface using the conduit interface"

src/lib.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#![cfg_attr(test, feature(io))]
2-
31
extern crate conduit;
42

53
use std::error::Error;
@@ -167,7 +165,7 @@ mod tests {
167165

168166
impl Middleware for ProducesError {
169167
fn before(&self, _: &mut Request) -> Result<(), Box<Error+Send>> {
170-
Err(Box::new(io::Error::new(io::ErrorKind::Other, "", None)))
168+
Err(Box::new(io::Error::new(io::ErrorKind::Other, "")))
171169
}
172170
}
173171

@@ -228,7 +226,7 @@ mod tests {
228226
}
229227

230228
fn error_handler(_: &mut Request) -> io::Result<Response> {
231-
Err(io::Error::new(io::ErrorKind::Other, "Error in handler", None))
229+
Err(io::Error::new(io::ErrorKind::Other, "Error in handler"))
232230
}
233231

234232
fn middle_handler(req: &mut Request) -> io::Result<Response> {

0 commit comments

Comments
 (0)