Skip to content

Commit b41496f

Browse files
committed
Make the wrapper type for Uri cloneable
1 parent 5ee680e commit b41496f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/uri.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ use std::path::Path;
1212
///
1313
/// let uri: HyperUri = Uri::new("/tmp/hyperlocal.sock", "/").into();
1414
/// ```
15-
#[derive(Debug)]
15+
#[derive(Debug, Clone)]
1616
pub struct Uri {
1717
hyper_uri: HyperUri,
1818
}

0 commit comments

Comments
 (0)