Skip to content

Commit a3db224

Browse files
committed
fix detection in butlast; tag 0.0.11
1 parent 34e1b87 commit a3db224

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
[package]
33
name = "im_ternary_tree"
4-
version = "0.0.10"
4+
version = "0.0.11"
55
edition = "2021"
66
authors = ["jiyinyiyong <jiyinyiyong@gmail.com>"]
77
license = "MIT"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Persistetnt structrual sharing tree for Calcit
1+
## Persistent structrual sharing tree for Calcit
22

33
> a variant of 2-3 tree, with enhancements on ternary branching, optimized with tricks like finger-tree.
44

src/tree.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ where
379379
middle: middle.to_owned(),
380380
})
381381
}
382-
} else if left.len() == 1 {
382+
} else if middle.len() == 1 {
383383
Ok((**left).to_owned())
384384
} else {
385385
let changed_branch = middle.dissoc(idx - left.len())?;

0 commit comments

Comments
 (0)