mirror of
https://github.com/actix/actix-extras.git
synced 2025-06-26 02:19:22 +02:00
fix comment
This commit is contained in:
@ -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>;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user