mirror of
https://github.com/TrueLayer/reqwest-middleware.git
synced 2024-12-26 02:46:30 +00:00
[BOT-272] Fmt
This commit is contained in:
parent
d406eb2ce7
commit
8d394a964a
1 changed files with 4 additions and 2 deletions
|
@ -34,8 +34,10 @@ impl ClientBuilder {
|
|||
/// Convenience method to extend a ClientBuilder instance by appending
|
||||
/// the middleware and initialiser stacks from a ClientwithMiddleware
|
||||
pub fn extend(mut self, client_with_middleware: ClientWithMiddleware) -> Self {
|
||||
self.middleware_stack.append(&mut client_with_middleware.middleware_stack.into_vec());
|
||||
self.initialiser_stack.append(&mut client_with_middleware.initialiser_stack.into_vec());
|
||||
self.middleware_stack
|
||||
.append(&mut client_with_middleware.middleware_stack.into_vec());
|
||||
self.initialiser_stack
|
||||
.append(&mut client_with_middleware.initialiser_stack.into_vec());
|
||||
self
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue