Fix debug error
Signed-off-by: John Nunley <dev@notgull.net>
This commit is contained in:
parent
99d3d71a0f
commit
8d6a5b41fb
1 changed files with 7 additions and 0 deletions
|
|
@ -5,6 +5,7 @@
|
|||
#[cfg(not(feature = "std"))]
|
||||
use alloc::vec::Vec;
|
||||
use core::cmp::{max, min};
|
||||
use core::fmt;
|
||||
use core::mem;
|
||||
use core::ops::Range;
|
||||
use unicode_script::{Script, UnicodeScript};
|
||||
|
|
@ -75,6 +76,12 @@ pub struct ShapeBuffer {
|
|||
visual_lines: Vec<VisualLine>,
|
||||
}
|
||||
|
||||
impl fmt::Debug for ShapeBuffer {
|
||||
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||
f.pad("ShapeBuffer { .. }")
|
||||
}
|
||||
}
|
||||
|
||||
fn shape_fallback(
|
||||
scratch: &mut ShapeBuffer,
|
||||
glyphs: &mut Vec<ShapeGlyph>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue