mirror of
https://github.com/ntex-rs/ntex.git
synced 2025-04-03 04:47:39 +03:00
Clippy (#308)
This commit is contained in:
parent
5d4da464ac
commit
30ba29d18a
4 changed files with 5 additions and 5 deletions
|
@ -100,7 +100,7 @@ impl ResourceDef {
|
|||
let mut elements = Vec::new();
|
||||
|
||||
for path in set {
|
||||
p = path.clone();
|
||||
p.clone_from(&path);
|
||||
let (pelems, elems) = ResourceDef::parse(&path);
|
||||
tp.push(pelems);
|
||||
elements = elems;
|
||||
|
@ -158,7 +158,7 @@ impl ResourceDef {
|
|||
let mut elements = Vec::new();
|
||||
|
||||
for path in patterns {
|
||||
p = path.clone();
|
||||
p.clone_from(&path);
|
||||
let (pelems, elems) = ResourceDef::parse(&path);
|
||||
tp.push(pelems);
|
||||
elements = elems;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue