Update to rust 2021
This commit is contained in:
@ -30,7 +30,7 @@ async fn dir(cfg: &Config, relative: PathBuf) -> Result<Vec<String>, Errors> {
|
||||
let mut dir_tasks = vec![];
|
||||
let mut file_tasks = vec![];
|
||||
|
||||
while let Some(entry) = walker.next_entry().await.with_location(&&template_path)? {
|
||||
while let Some(entry) = walker.next_entry().await.with_location(&template_path)? {
|
||||
let meta = entry.metadata().await.with_location(&entry.path())?;
|
||||
let new_relative = relative.join(entry.file_name());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user