Skip to content

Commit 972b6ab

Browse files
committed
update name.
1 parent defa8bd commit 972b6ab

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[package]
2-
name = "interval_tree"
2+
name = "nonoverlapping_interval_tree"
33
version = "0.1.0"
44
edition = "2021"
55
authors = ["Daniel Bittman <[email protected]>"]
@@ -10,6 +10,7 @@ readme = "README.md"
1010
description = "Map data structure keyed on (non-overlapping) ranges that allows lookup of a point within a range. Can be no_std (with use of alloc crate)."
1111
keywords = ["map", "no_std", "range", "interval", "tree"]
1212
categories = ["data-structures", "no-std"]
13+
1314
[dependencies]
1415

1516
[features]

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
//!
1414
//! # Examples
1515
//! ```
16-
//! use interval_tree::NonOverlappingIntervalTree;
16+
//! use nonoverlapping_interval_tree::NonOverlappingIntervalTree;
1717
//! let mut it = NonOverlappingIntervalTree::new();
1818
//! it.insert_replace(1..3, "hello");
1919
//! assert_eq!(it.get(&2), Some(&"hello"));
@@ -142,7 +142,7 @@ impl<K: Ord + Clone, V> NonOverlappingIntervalTree<K, V> {
142142
/// are in the tree that overlap with the inserted range.
143143
/// # Examples
144144
/// ```
145-
/// use interval_tree::NonOverlappingIntervalTree;
145+
/// use nonoverlapping_interval_tree::NonOverlappingIntervalTree;
146146
/// let mut it = NonOverlappingIntervalTree::new();
147147
/// it.insert_replace(1..3, "hello");
148148
/// ```

0 commit comments

Comments
 (0)