Skip to content

Commit

Permalink
bump: v0.7.3
Browse files Browse the repository at this point in the history
  • Loading branch information
fundon committed Dec 28, 2023
1 parent 6566800 commit c0933ec
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "path-tree"
version = "0.7.2"
version = "0.7.3"
authors = ["Fangdun Tsai <[email protected]>"]
description = "path-tree is a lightweight high performance HTTP request router for Rust"
homepage = "https://github.com/viz-rs/path-tree"
Expand Down
9 changes: 9 additions & 0 deletions tests/tree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2211,3 +2211,12 @@ fn github_tree() {
"/viz-rs/path-tree/releases/download/v0.5.0/v0.5.0.gz"
);
}

#[test]
fn cloneable() {
let tree = PathTree::<usize>::new();
assert_eq!(
<dyn std::any::Any>::type_id(&tree),
<dyn std::any::Any>::type_id(&tree.clone())
)
}

0 comments on commit c0933ec

Please sign in to comment.