1
0
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:
Nikolay Kim 2018-05-24 11:06:15 -07:00
parent bf63be3bcd
commit 111b6835fa

View File

@ -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>;
} }