fix(new): no orphan dir on error path; drop stale dead_code allow
Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
This commit is contained in:
1 parent
7044e50982
commit
c382602ca7
3 files changed
+13
-3
No files matched your search
@@ -3,7 +3,6 @@ use std::path::Path;
|
||||
|
||||
pub static STARTER: Dir = include_dir!("$CARGO_MANIFEST_DIR/template/starter");
|
||||
|
||||
#[allow(dead_code)]
|
||||
pub fn write_starter(dest: &Path, project_name: &str) -> std::io::Result<()> {
|
||||
write_dir(&STARTER, dest, project_name)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user