diff --git a/src/lib.rs b/src/lib.rs index f374c98..59372ab 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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::>()); //! //! // 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::>()); //! //! // Clear tree //! tree.clear();