Fix whitespace in set

This commit is contained in:
Austen Adler 2022-11-06 11:15:45 -05:00
parent d1957a47c1
commit 0a80cfe7e3

View File

@ -174,7 +174,7 @@ fn reduce_selections<'sel, 'a>(
// we can just use contains here
let key = crate::utils::get_key(
&swd.content,
options.skip_whitespace,
!options.skip_whitespace,
options.regex.as_ref(),
options.ignore_case,
);
@ -298,7 +298,7 @@ fn to_ordered_counts<'sel>(
for i in selections {
let key = crate::utils::get_key(
&i,
options.skip_whitespace,
!options.skip_whitespace,
options.regex.as_ref(),
options.ignore_case,
);