Skip to content

Commit

Permalink
corrected error in doctest
Browse files Browse the repository at this point in the history
  • Loading branch information
sriram98v committed Sep 27, 2023
1 parent 2fdaf0e commit 8197002
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
//!
//!
//! // Query if some string is a substring in the tree
//! let substring_match = tree.substring_match(&item_string[i..i+max_depth+1]);
//! let substring_match = tree.substring_match(&"STVASSLVLVVSLGAISFWMCSNGSLQCRICI".chars().collect::<Vec<char>>());
//!
//! // Query if some string is a suffix in the tree
//! let suffix_match = tree.suffix_match(&item_string[i..i+max_depth+1]);
//! let suffix_match = tree.suffix_match(&"RGVAPLHLGKCNIAGWILGNPECESLSTAGSWSYIVE".chars().collect::<Vec<char>>());
//!
//! // Clear tree
//! tree.clear();
Expand Down

0 comments on commit 8197002

Please sign in to comment.