Skip to content

Commit

Permalink
Replace PathBuf with Box<Path>
Browse files Browse the repository at this point in the history
  • Loading branch information
CrendKing committed Jan 22, 2024
1 parent cebcf0a commit 55ed114
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use std::fmt::Write;
use std::path::{Path, PathBuf};
use std::path::Path;
use std::time::Duration;

use chrono::Datelike;
Expand All @@ -21,7 +21,7 @@ struct Args {
cover_art: bool,

#[clap(short = 'o', long)]
out_dir: PathBuf,
out_dir: Box<Path>,
}

fn join_artists(artists: &[ArtistCredit]) -> Box<str> {
Expand Down

0 comments on commit 55ed114

Please sign in to comment.