This commit is contained in:
2020-11-29 19:33:49 +01:00
parent 1bb1cf3a83
commit 0d8c02cafc
2 changed files with 2 additions and 2 deletions

View File

@@ -31,7 +31,7 @@ pub enum Transcode {
}
impl Transcode {
pub fn extention(&self) -> &'static str {
pub fn extension(&self) -> &'static str {
match self {
Transcode::Opus { .. } => "opus",
}

View File

@@ -89,7 +89,7 @@ fn get_path_pairs(config: Config) -> impl Iterator<Item = ConvertionArgs> {
};
let mut to = config.to.join(e.path().strip_prefix(&config.from).unwrap());
to.set_extension(transcode.extention());
to.set_extension(transcode.extension());
let is_newer = {
// TODO: error handling