diff options
Diffstat (limited to 'gen/src/gen_completions_entries.rs')
| -rw-r--r-- | gen/src/gen_completions_entries.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gen/src/gen_completions_entries.rs b/gen/src/gen_completions_entries.rs index 7f780b7..1c8ca51 100644 --- a/gen/src/gen_completions_entries.rs +++ b/gen/src/gen_completions_entries.rs @@ -1,10 +1,10 @@ use just_template::{Template, tmpl}; -use std::path::PathBuf; +use std::path::Path; use crate::constants::{COMPLETIONS, COMPLETIONS_PATH, COMPLETIONS_TEMPLATE}; /// Generate completions file from comp directory using just_template -pub async fn generate_completions_file(repo_root: &PathBuf) { +pub async fn generate_completions_file(repo_root: &Path) { let template_path = repo_root.join(COMPLETIONS_TEMPLATE); let output_path = repo_root.join(COMPLETIONS); let comps_dir = repo_root.join(COMPLETIONS_PATH); |
