Closed Anders429 closed 3 years ago
Rather than having WordFilterBuilder take only slices of &strs, we could instead have it take any type that implements IntoIterator with values that implement AsRef<str>.
WordFilterBuilder
&str
IntoIterator
AsRef<str>
An example is std::process::Command::args.
std::process::Command::args
Rather than having
WordFilterBuilder
take only slices of&str
s, we could instead have it take any type that implementsIntoIterator
with values that implementAsRef<str>
.An example is
std::process::Command::args
.