From ee7416d2a7327305768f088519602a4245d65189 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 14 Mar 2021 16:59:06 +0000 Subject: [PATCH] at: Generalise PuSynch Signed-off-by: Ian Jackson --- apitest/at-otter.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apitest/at-otter.rs b/apitest/at-otter.rs index 58cb1759..bf5d2033 100644 --- a/apitest/at-otter.rs +++ b/apitest/at-otter.rs @@ -448,8 +448,8 @@ impl PieceSpecForOp for PuUp<'_, PI> { #[derive(Debug)] /// Synchronise after op but before any ungrab. -pub struct PuSynch<'pcs, PI:Idx>(PuUp<'pcs, PI>); -impl PieceSpecForOp for PuSynch<'_,PI> { +pub struct PuSynch(T); +impl PieceSpecForOp for PuSynch> { type PI = PI; fn id(&self) -> &str { self.0.id() } fn for_update(&mut self) -> Option<&mut PieceInfo> { -- 2.30.2