diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-07-06 14:20:14 +0200 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2023-07-06 14:20:14 +0200 |
| commit | 9b4aa4e9643b0a5b4a554e455eac269a2472b590 (patch) | |
| tree | cdab839b50a137db2a6df480a0f75f1f1385cb41 /src/splitter.rs | |
| parent | 8c3c8efa428200c67c1a6fa731faee55adf19678 (diff) | |
add some documentation to structs
Diffstat (limited to 'src/splitter.rs')
| -rw-r--r-- | src/splitter.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/splitter.rs b/src/splitter.rs index 64e659f..fbb2b6a 100644 --- a/src/splitter.rs +++ b/src/splitter.rs @@ -1,5 +1,7 @@ use std::vec::Vec; +/// Splits a line into its words used to create a +/// dictionary and search arguments. pub fn split_to_words(data : String) -> Vec<String> { let mut v : Vec<String> = data .to_lowercase() |