From d874c251ff61e6f48c7fb0385706af871844fd57 Mon Sep 17 00:00:00 2001 From: Lucio Franco Date: Wed, 27 Feb 2019 11:57:56 -0500 Subject: [PATCH] timeout: Add derive Clone for the timeout service (#169) --- tower-timeout/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tower-timeout/src/lib.rs b/tower-timeout/src/lib.rs index 1a018df..daaec49 100644 --- a/tower-timeout/src/lib.rs +++ b/tower-timeout/src/lib.rs @@ -19,7 +19,7 @@ use std::time::Duration; use std::{error, fmt}; /// Applies a timeout to requests. -#[derive(Debug)] +#[derive(Debug, Clone)] pub struct Timeout { inner: T, timeout: Duration,