remove comment about actors feature

This commit is contained in:
fakeshadow 2021-02-08 17:35:00 -08:00
parent 040fe068f5
commit 50396a512e
1 changed files with 1 additions and 2 deletions

View File

@ -1277,11 +1277,10 @@ mod tests {
async fn actor_handler( async fn actor_handler(
addr: Data<Addr<MyActor>>, addr: Data<Addr<MyActor>>,
) -> Result<impl Responder, Error> { ) -> Result<impl Responder, Error> {
// `?` operator tests "actors" feature flag on actix-http
let res = addr let res = addr
.send(Num(1)) .send(Num(1))
.await .await
.map_err(|e| crate::error::ErrorInternalServerError(e))?; .map_err(crate::error::ErrorInternalServerError)?;
if res == 1 { if res == 1 {
Ok(HttpResponse::Ok()) Ok(HttpResponse::Ok())