Remove unnecessary sigils around Ident::as_str()
calls.
This commit is contained in:
parent
056d48a2c9
commit
b1c934ebb8
31 changed files with 41 additions and 42 deletions
|
@ -103,10 +103,10 @@ crate fn mod_dir_path(
|
|||
if let DirOwnership::Owned { relative } = &mut dir_ownership {
|
||||
if let Some(ident) = relative.take() {
|
||||
// Remove the relative offset.
|
||||
dir_path.push(&*ident.as_str());
|
||||
dir_path.push(ident.as_str());
|
||||
}
|
||||
}
|
||||
dir_path.push(&*ident.as_str());
|
||||
dir_path.push(ident.as_str());
|
||||
|
||||
(dir_path, dir_ownership)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue