From: Ian Jackson Date: Fri, 29 Jan 2021 22:53:43 +0000 (+0000) Subject: wdt: import OnceCell into scope nfc X-Git-Tag: otter-0.4.0~636 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=e59edf42aca0c501416bc44aeec102181928aa46;p=otter.git wdt: import OnceCell into scope nfc Signed-off-by: Ian Jackson --- diff --git a/wdriver.rs b/wdriver.rs index e49f2bd8..ad800b14 100644 --- a/wdriver.rs +++ b/wdriver.rs @@ -62,6 +62,7 @@ pub const URL : &str = "http://localhost:8000"; pub fn default() -> T { Default::default() } use t4::Capabilities; +use once_cell::sync::OnceCell; use otter::config::DAEMON_STARTUP_REPORT; const TABLE : &str = "server::dummy"; @@ -776,7 +777,7 @@ type ScreenCTM = ndarray::Array2::; pub struct WindowGuard<'g> { su: &'g mut Setup, w: &'g Window, - matrix: once_cell::sync::OnceCell, + matrix: OnceCell, } impl Debug for WindowGuard<'_> {