diff --git a/src/formatter/mod.rs b/src/formatter/mod.rs index 45fee74..189c90d 100644 --- a/src/formatter/mod.rs +++ b/src/formatter/mod.rs @@ -47,7 +47,7 @@ fn repeat_char(c: char, n: usize) -> String { /// assert_eq!(dlf.format(&dl), "192 | Example line of text"); /// ``` pub struct DisplayListFormatter { - stylesheet: Box, + stylesheet: Box, } impl DisplayListFormatter { @@ -101,7 +101,7 @@ impl DisplayListFormatter { } } - fn get_annotation_style(&self, annotation_type: &DisplayAnnotationType) -> Box