mirror of
https://github.com/actix/actix-extras.git
synced 2025-06-26 18:37:41 +02:00
apply imports_granularity fmt rule
This commit is contained in:
@ -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::*;
|
||||
|
||||
|
Reference in New Issue
Block a user