diff options
author | HampusM <hampus@hampusmat.com> | 2025-09-23 18:26:50 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2025-09-23 18:27:09 +0200 |
commit | 9ec5025bb99cd58231d256594504880cf7b19647 (patch) | |
tree | c4f50a569b3fe3369fedecb18b3c2d3bd79b0127 /ecs | |
parent | 9fcb8f884c3d302aa1a641a0b43fb6b011cef8db (diff) |
fix(ecs): impl QueryTermWithField for any lifetime Pair slice
Diffstat (limited to 'ecs')
-rw-r--r-- | ecs/src/pair.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ecs/src/pair.rs b/ecs/src/pair.rs index 553652e..15092a0 100644 --- a/ecs/src/pair.rs +++ b/ecs/src/pair.rs @@ -223,7 +223,7 @@ where } } -impl<Relation> QueryTermWithField for &'static [Pair<Relation, Wildcard>] +impl<Relation> QueryTermWithField for &'_ [Pair<Relation, Wildcard>] where Relation: Component, { |