mirror of
https://github.com/actix/actix-extras.git
synced 2024-11-28 09:42:40 +01:00
fix comment
This commit is contained in:
parent
bf63be3bcd
commit
111b6835fa
@ -40,7 +40,7 @@ pub trait IntoHeaderValue: Sized {
|
|||||||
/// The type returned in the event of a conversion error.
|
/// The type returned in the event of a conversion error.
|
||||||
type Error: Into<HttpError>;
|
type Error: Into<HttpError>;
|
||||||
|
|
||||||
/// Cast from PyObject to a concrete Python object type.
|
/// Try to convert value to a Header value.
|
||||||
fn try_into(self) -> Result<HeaderValue, Self::Error>;
|
fn try_into(self) -> Result<HeaderValue, Self::Error>;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user