From: Ian Jackson Date: Mon, 22 Mar 2021 01:44:50 +0000 (+0000) Subject: traits: Sprinkle another Sync X-Git-Tag: otter-0.5.0~523 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=5db6258ef60bbbb3d697ea0242ac6272c5e750f3;p=otter.git traits: Sprinkle another Sync Signed-off-by: Ian Jackson --- diff --git a/src/gamestate.rs b/src/gamestate.rs index 24d61865..237e1d6f 100644 --- a/src/gamestate.rs +++ b/src/gamestate.rs @@ -99,7 +99,7 @@ impl_downcast!(PieceXData); #[enum_dispatch] #[dyn_upcast] -pub trait OutlineTrait: Debug + Send + 'static { +pub trait OutlineTrait: Debug + Sync + Send + 'static { fn outline_path(&self, scale: f64) -> Result; fn surround_path(&self) -> Result { self.outline_path(SELECT_SCALE)