1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-11-27 03:51:10 +00: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.
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>;
}