Skip to content

Commit 858f5ef

Browse files
committed
Make clippy happy
1 parent 5d0906e commit 858f5ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/request_helpers.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use conduit::{header::AsHeaderName, RequestExt};
66
/// If a header appears multiple times, this will return only one of them.
77
///
88
/// If the header value is invalid utf8, an empty slice will be returned.
9-
pub fn request_header<'a, K>(req: &'a dyn RequestExt, key: K) -> &'a str
9+
pub fn request_header<K>(req: &dyn RequestExt, key: K) -> &str
1010
where
1111
K: AsHeaderName,
1212
{

0 commit comments

Comments
 (0)