This commit is contained in:
Nikolay Kim 2024-03-12 18:47:12 +06:00
parent 5d4da464ac
commit 30ba29d18a
4 changed files with 5 additions and 5 deletions

View file

@ -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;