Skip to content

Commit

Permalink
chore(warnings): Allow direct recursion for type enforcement.
Browse files Browse the repository at this point in the history
  • Loading branch information
reem authored and seanmonstar committed Jan 27, 2015
1 parent 0a92e0d commit 1ebbded
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ impl FromError<url::ParseError> for HttpError {
}
}

#[allow(unconditional_recursion)]
fn _assert_send<T: Send>() {
_assert_send::<client::Request<net::Fresh>>();
_assert_send::<client::Response>();
Expand Down

0 comments on commit 1ebbded

Please sign in to comment.