Crate rodarte_minigrep
source ·Expand description
§Minigrep
A library to perform simple text searching against a string content target.
Structs§
- Main structure that holds the data required for the process to work.
Functions§
- Entrypoint function that bootstraps the searching application using a
Config
instance. - Performs a case-sensitive search of a
query
string against a targetcontents
string, returning a vector with the matching lines. - Performs a case-insensitive search of a
query
string against a targetcontents
string, returning a vector with the matching lines.