[BOT-272] Fmt

pull/150/head
Stefan Adrian Danaita 2024-05-03 17:11:10 +01:00 committed by Ethan Brierley
parent d406eb2ce7
commit 8d394a964a
1 changed files with 4 additions and 2 deletions

View File

@ -34,8 +34,10 @@ impl ClientBuilder {
/// Convenience method to extend a ClientBuilder instance by appending /// Convenience method to extend a ClientBuilder instance by appending
/// the middleware and initialiser stacks from a ClientwithMiddleware /// the middleware and initialiser stacks from a ClientwithMiddleware
pub fn extend(mut self, client_with_middleware: ClientWithMiddleware) -> Self { pub fn extend(mut self, client_with_middleware: ClientWithMiddleware) -> Self {
self.middleware_stack.append(&mut client_with_middleware.middleware_stack.into_vec()); self.middleware_stack
self.initialiser_stack.append(&mut client_with_middleware.initialiser_stack.into_vec()); .append(&mut client_with_middleware.middleware_stack.into_vec());
self.initialiser_stack
.append(&mut client_with_middleware.initialiser_stack.into_vec());
self self
} }