Skip to content

Commit

Permalink
modify: show コマンド出力の末尾に改行を入れないように変更
Browse files Browse the repository at this point in the history
  • Loading branch information
thekuwayama committed Jan 4, 2024
1 parent e5fe5ee commit d050974
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 @@ -253,7 +253,7 @@ fn main() {
eprintln!("failed to show the task: {}", e);
process::exit(1);
});
println!("{}", result);
print!("{}", result);
}
(cli::SORT, _) => {
let result = sort::sort(&mut reader).unwrap_or_else(|e| {
Expand Down

0 comments on commit d050974

Please sign in to comment.