Skip to content

Commit

Permalink
Dont print new-line at end of thing
Browse files Browse the repository at this point in the history
  • Loading branch information
ttrssreal committed Dec 18, 2023
1 parent bd991c2 commit 3ba91e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
let mut stdout = std::io::stdout();

if cat_file_args.mode.print {
println!("{obj}");
print!("{obj}");
}

if cat_file_args.mode.type_ {
Expand Down

0 comments on commit 3ba91e2

Please sign in to comment.