Skip to content

Commit

Permalink
Make cargo fmt actually happy by updating to newer rust
Browse files Browse the repository at this point in the history
Signed-off-by: MTRNord <[email protected]>
  • Loading branch information
MTRNord committed Sep 26, 2024
1 parent bdca80e commit 9b7fe18
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion crates/tower/src/trace_context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ trait AsInjector {
}

impl<B> AsInjector for Request<B> {
type Injector<'a> = HeaderInjector<'a> where Self: 'a;
type Injector<'a>
= HeaderInjector<'a>
where
Self: 'a;

fn as_injector(&mut self) -> Self::Injector<'_> {
HeaderInjector(self.headers_mut())
Expand Down

0 comments on commit 9b7fe18

Please sign in to comment.