1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-08-31 17:07:01 +02:00

use env_logger builders in examples

This commit is contained in:
Rob Ede
2021-01-07 02:41:05 +00:00
parent dc23559f23
commit d3c476b8c2
4 changed files with 5 additions and 10 deletions

View File

@@ -126,7 +126,7 @@ where
A: Into<Error>,
B: Into<Error>,
{
fn into(err: EitherExtractError<A, B>) -> Error {
fn from(err: EitherExtractError<A, B>) -> Error {
match err {
EitherExtractError::Bytes(err) => err,
EitherExtractError::Extract(a_err, _b_err) => a_err.into(),