Skip to content

Commit c2480c1

Browse files
authored
Merge pull request #46 from mattixtech/make_uri_clone
Make the wrapper type for Uri cloneable
2 parents 5ee680e + b41496f commit c2480c1

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)