Function minigrep_lotuscc::run[][src]

pub fn run(config: Config) -> Result<(), Box<dyn Error>>
Expand description

use the minigrep project with a config

Examples

if let Err(e) = minigrep::run(config) {
    eprintln!("Application error: {}", e);
    process::exit(1);
}