mirror of https://github.com/fafhrd91/actix-web
fix quality item import
This commit is contained in:
parent
303843dcda
commit
a0eb0d22be
|
@ -225,7 +225,7 @@ mod tests {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl FromStr for Encoding {
|
impl str::FromStr for Encoding {
|
||||||
type Err = crate::error::ParseError;
|
type Err = crate::error::ParseError;
|
||||||
fn from_str(s: &str) -> Result<Encoding, crate::error::ParseError> {
|
fn from_str(s: &str) -> Result<Encoding, crate::error::ParseError> {
|
||||||
use Encoding::*;
|
use Encoding::*;
|
||||||
|
|
Loading…
Reference in New Issue