Skip to content

Commit 1ebbded

Browse files
reemseanmonstar
authored andcommitted
chore(warnings): Allow direct recursion for type enforcement.
1 parent 0a92e0d commit 1ebbded

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,7 @@ impl FromError<url::ParseError> for HttpError {
245245
}
246246
}
247247

248+
#[allow(unconditional_recursion)]
248249
fn _assert_send<T: Send>() {
249250
_assert_send::<client::Request<net::Fresh>>();
250251
_assert_send::<client::Response>();

0 commit comments

Comments
 (0)