1.48 required T: Debug for unsafe cell's Debug impl

This commit is contained in:
Jack Mac 2021-09-12 02:24:08 -04:00
parent 3eaee3359d
commit 7bc3715f42

View File

@ -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<u8>,
max_len: usize,