From 7bc3715f42259fc9a7d23abfa97ee04d00c86c7e Mon Sep 17 00:00:00 2001 From: Jack Mac Date: Sun, 12 Sep 2021 02:24:08 -0400 Subject: [PATCH] 1.48 required T: Debug for unsafe cell's Debug impl --- imgui/src/string.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/imgui/src/string.rs b/imgui/src/string.rs index 98e3297..1ba181b 100644 --- a/imgui/src/string.rs +++ b/imgui/src/string.rs @@ -6,6 +6,7 @@ use std::str; use std::{fmt, ptr}; /// this is the unsafe cell upon which we build our abstraction. +#[derive(Debug)] pub(crate) struct UiBuffer { buffer: Vec, max_len: usize,