Skip to content

Commit bb65201

Browse files
committed
perf: OnceDep for computed????
1 parent babff28 commit bb65201

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/jsshaker/src/entity.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ impl<'a> Factory<'a> {
272272
Entity {
273273
value: entity.value,
274274
dep: if let Some(d) = entity.dep {
275-
Some((d, dep).uniform(self.allocator))
275+
Some(self.dep((d, dep)))
276276
} else {
277277
Some(dep.uniform(self.allocator))
278278
},

0 commit comments

Comments
 (0)