Skip to content

Commit c0933ec

Browse files
committed
bump: v0.7.3
1 parent 6566800 commit c0933ec

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "path-tree"
3-
version = "0.7.2"
3+
version = "0.7.3"
44
authors = ["Fangdun Tsai <cfddream@gmail.com>"]
55
description = "path-tree is a lightweight high performance HTTP request router for Rust"
66
homepage = "https://github.com/viz-rs/path-tree"

tests/tree.rs

+9
Original file line numberDiff line numberDiff line change
@@ -2211,3 +2211,12 @@ fn github_tree() {
22112211
"/viz-rs/path-tree/releases/download/v0.5.0/v0.5.0.gz"
22122212
);
22132213
}
2214+
2215+
#[test]
2216+
fn cloneable() {
2217+
let tree = PathTree::<usize>::new();
2218+
assert_eq!(
2219+
<dyn std::any::Any>::type_id(&tree),
2220+
<dyn std::any::Any>::type_id(&tree.clone())
2221+
)
2222+
}

0 commit comments

Comments
 (0)