remove unneeded cloning

This commit is contained in:
2020-12-23 15:35:38 +01:00
parent 901b0d8a4d
commit 5099454991
2 changed files with 8 additions and 8 deletions

View File

@@ -4,14 +4,14 @@ use regex::bytes::{Regex, RegexBuilder};
use serde::Deserialize;
use std::path::{Path, PathBuf};
#[derive(Clone, Debug)]
#[derive(Debug)]
pub struct Config {
pub from: PathBuf,
pub to: PathBuf,
pub matches: Vec<TranscodeMatch>,
}
#[derive(Clone, Debug)]
#[derive(Debug)]
pub struct TranscodeMatch {
pub regexes: Vec<Regex>,
pub to: Transcode,