diff options
author | josh rotenberg <joshrotenberg@gmail.com> | 2021-05-31 20:27:52 -0700 |
---|---|---|
committer | josh rotenberg <joshrotenberg@gmail.com> | 2021-05-31 20:27:52 -0700 |
commit | 05edc4421bc8bf83270203446ddc52e1b4534473 (patch) | |
tree | 33d7d3c5a27f91c7719ec15a6d3a5d4bfe1e338d /src/config.rs | |
parent | 22ea5fe335e00d9c8d37251d7f090b69657955fb (diff) |
clippy: PathBuf to Path
Diffstat (limited to 'src/config.rs')
-rw-r--r-- | src/config.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.rs b/src/config.rs index deae069b..c384192c 100644 --- a/src/config.rs +++ b/src/config.rs @@ -575,7 +575,7 @@ impl Default for HtmlConfig { impl HtmlConfig { /// Returns the directory of theme from the provided root directory. If the /// directory is not present it will append the default directory of "theme" - pub fn theme_dir(&self, root: &PathBuf) -> PathBuf { + pub fn theme_dir(&self, root: &Path) -> PathBuf { match self.theme { Some(ref d) => root.join(d), None => root.join("theme"), |