From 50396a512ed61040175f514539f127bd8eda3ebf Mon Sep 17 00:00:00 2001 From: fakeshadow <24548779@qq.com> Date: Mon, 8 Feb 2021 17:35:00 -0800 Subject: [PATCH] remove comment about actors feature --- src/test.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/test.rs b/src/test.rs index 5347a8ea6..5da100b81 100644 --- a/src/test.rs +++ b/src/test.rs @@ -1277,11 +1277,10 @@ mod tests { async fn actor_handler( addr: Data>, ) -> Result { - // `?` operator tests "actors" feature flag on actix-http let res = addr .send(Num(1)) .await - .map_err(|e| crate::error::ErrorInternalServerError(e))?; + .map_err(crate::error::ErrorInternalServerError)?; if res == 1 { Ok(HttpResponse::Ok())