Skip to content

Commit

Permalink
Remove old print.rs file
Browse files Browse the repository at this point in the history
  • Loading branch information
WGUNDERWOOD committed May 18, 2024
1 parent ebe5cc6 commit 2a53e30
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
4 changes: 1 addition & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,13 @@ mod ignore;
mod indent;
mod logging;
mod parse;
mod print;
mod regexes;
mod subs;
mod wrap;
mod write;
use crate::format::*;
use crate::logging::*;
use crate::parse::*;
use crate::print::*;
use crate::write::*;

#[cfg(test)]
Expand Down Expand Up @@ -57,7 +55,7 @@ fn main() {
let file = fs::read_to_string(filename).unwrap();
let new_file = format_file(&file, filename, &args, &mut logs);
if args.print {
print_file(&new_file);
println!("{}", &new_file);
} else {
write_file(filename, &new_file);
}
Expand Down
13 changes: 0 additions & 13 deletions src/print.rs

This file was deleted.

0 comments on commit 2a53e30

Please sign in to comment.