From c6de2c7ab9c48223ab307fe0039fae7ab2613e16 Mon Sep 17 00:00:00 2001 From: HampusM Date: Tue, 10 Dec 2024 17:25:25 +0100 Subject: refactor(ecs): merge a couple of tuple traits together --- ecs/src/system.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ecs/src/system.rs') diff --git a/ecs/src/system.rs b/ecs/src/system.rs index 3ba693b..e273428 100644 --- a/ecs/src/system.rs +++ b/ecs/src/system.rs @@ -14,7 +14,7 @@ use crate::component::{ FromOptionalMut as FromOptionalMutComponent, }; use crate::lock::{ReadGuard, WriteGuard}; -use crate::tuple::{ReduceElement as TupleReduceElement, With as TupleWith}; +use crate::tuple::{ReduceElement as TupleReduceElement, Tuple}; use crate::World; pub mod stateful; @@ -180,9 +180,9 @@ pub struct ParamWithInputFilter; impl TupleReduceElement for InputT where - Accumulator: TupleWith, + Accumulator: Tuple, { - type Return = Accumulator::With; + type Return = Accumulator::WithElementAtEnd; } impl TupleReduceElement for () -- cgit v1.2.3-18-g5258