1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-06-26 02:19:22 +02:00

apply imports_granularity fmt rule

This commit is contained in:
Rob Ede
2022-09-11 21:55:40 +01:00
parent 339b81e843
commit 1561bda822
17 changed files with 59 additions and 56 deletions

View File

@ -266,14 +266,14 @@ impl ProtoBufResponseBuilder for HttpResponseBuilder {
value
.encode(&mut body)
.map_err(ProtoBufPayloadError::Serialize)?;
Ok(self.body(body))
}
}
#[cfg(test)]
mod tests {
use actix_web::http::header;
use actix_web::test::TestRequest;
use actix_web::{http::header, test::TestRequest};
use super::*;