Skip to content

Commit

Permalink
derive Clone for RouterService (#714)
Browse files Browse the repository at this point in the history
  • Loading branch information
cab committed Jul 11, 2021
1 parent 4b0ece6 commit 0a06603
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tonic/src/transport/server/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ pub struct Router<A, B, L = Identity> {
/// This service implementation will route between multiple Tonic
/// gRPC endpoints and can be consumed with the rest of the `tower`
/// ecosystem.
#[derive(Debug)]
#[derive(Debug, Clone)]
pub struct RouterService<S> {
inner: S,
}
Expand Down

0 comments on commit 0a06603

Please sign in to comment.