Add todo for more efficient get_hash

This commit is contained in:
Austen Adler 2022-10-02 10:43:21 -04:00
parent b560e47dc2
commit d897fdea87

View File

@ -41,6 +41,7 @@ pub fn get_key(
/// Get a key out of a selection based on options /// Get a key out of a selection based on options
pub fn get_hash( pub fn get_hash(
// TODO: Accept any Into<AsRef<Selection>>
selection: &Selection, selection: &Selection,
skip_whitespace: bool, skip_whitespace: bool,
regex: Option<&Regex>, regex: Option<&Regex>,