From b41496f5b65424d5a0ccb36f1d11900f2d203a46 Mon Sep 17 00:00:00 2001 From: Matthew Brooks Date: Fri, 8 Jan 2021 16:45:40 -0500 Subject: [PATCH] Make the wrapper type for Uri cloneable --- src/uri.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uri.rs b/src/uri.rs index fb61264..51cc9f8 100644 --- a/src/uri.rs +++ b/src/uri.rs @@ -12,7 +12,7 @@ use std::path::Path; /// /// let uri: HyperUri = Uri::new("/tmp/hyperlocal.sock", "/").into(); /// ``` -#[derive(Debug)] +#[derive(Debug, Clone)] pub struct Uri { hyper_uri: HyperUri, }