From eec4dd8e68dccddd61b2c1cc70b3aafa11a53021 Mon Sep 17 00:00:00 2001 From: Alexandre Bury Date: Tue, 25 Aug 2020 23:27:48 -0700 Subject: [PATCH] Fix unimported CString --- cursive/src/backends/curses/pan.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cursive/src/backends/curses/pan.rs b/cursive/src/backends/curses/pan.rs index bea5286..c78b372 100644 --- a/cursive/src/backends/curses/pan.rs +++ b/cursive/src/backends/curses/pan.rs @@ -53,7 +53,7 @@ impl Backend { ::std::env::set_var("ESCDELAY", "25"); if cfg!(unix) { - let buf = CString::new("").unwrap(); + let buf = std::ffi::CString::new("").unwrap(); unsafe { libc::setlocale(libc::LC_ALL, buf.as_ptr()) }; }