Skip to content

Commit

Permalink
Remove debug statements and change output format to be tab-delimited
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-snider committed Mar 1, 2019
1 parent 071cb0c commit 8326417
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,12 @@ fn main() -> io::Result<()> {
// Parse query
let mut p = Parser::new(&query);
let query = p.parse()?;
println!("Got query: {:?}", query);

// Get the tags from the file and find matches
let tagged_locations = tags::from_file(tags_file_path)?;
let matcher = Matcher::new(tagged_locations);
println!("Matches: ");
for m in matcher.get_matches(query) {
println!("- {}:{} {}", m.file, m.address, m.extra);
println!("{}\t{}\t{}", m.file, m.address, m.extra);
}

Ok(())
Expand Down

0 comments on commit 8326417

Please sign in to comment.