minigrep_vbomfim 0.2.0

A simple grep tool written in Rust
Documentation
1
2
3
4
5
6
7
8
9
10
use minigrep_vbomfim::config;
use std::error::Error;
/// Documentation for the minigrep application.
///
/// This application searches for a pattern in a file and prints the lines that contain it.
fn main() -> Result<(), Box<dyn Error>> {
    let config = config::Config::new()?;
    minigrep_vbomfim::run(&config)?;
    Ok(())
}