Skip to content

Commit 8326417

Browse files
committed
Remove debug statements and change output format to be tab-delimited
1 parent 071cb0c commit 8326417

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/main.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,12 @@ fn main() -> io::Result<()> {
6161
// Parse query
6262
let mut p = Parser::new(&query);
6363
let query = p.parse()?;
64-
println!("Got query: {:?}", query);
6564

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

7472
Ok(())

0 commit comments

Comments
 (0)