We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6566800 commit c0933ecCopy full SHA for c0933ec
Cargo.toml
@@ -1,6 +1,6 @@
1
[package]
2
name = "path-tree"
3
-version = "0.7.2"
+version = "0.7.3"
4
authors = ["Fangdun Tsai <cfddream@gmail.com>"]
5
description = "path-tree is a lightweight high performance HTTP request router for Rust"
6
homepage = "https://github.com/viz-rs/path-tree"
tests/tree.rs
@@ -2211,3 +2211,12 @@ fn github_tree() {
2211
"/viz-rs/path-tree/releases/download/v0.5.0/v0.5.0.gz"
2212
);
2213
}
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