1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-11-24 00:21:08 +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.
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>;
}