From e59edf42aca0c501416bc44aeec102181928aa46 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Fri, 29 Jan 2021 22:53:43 +0000 Subject: [PATCH] wdt: import OnceCell into scope nfc Signed-off-by: Ian Jackson --- wdriver.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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<'_> { -- 2.30.2