|
24 | 24 | MAX_HEADER_DEPTH,
|
25 | 25 | },
|
26 | 26 | std::{
|
27 |
| - collections::HashMap, |
28 | 27 | fmt,
|
29 | 28 | io::Write,
|
30 | 29 | },
|
@@ -57,7 +56,7 @@ pub struct MadSkin {
|
57 | 56 | /// (comments welcome)
|
58 | 57 | /// Do not use compounds with a length different than 1.
|
59 | 58 | #[cfg(feature = "special-renders")]
|
60 |
| - pub special_chars: HashMap<Compound<'static>, StyledChar>, |
| 59 | + pub special_chars: std::collections::HashMap<Compound<'static>, StyledChar>, |
61 | 60 |
|
62 | 61 | }
|
63 | 62 |
|
@@ -92,7 +91,7 @@ impl Default for MadSkin {
|
92 | 91 | list_items_indentation_mode: Default::default(),
|
93 | 92 |
|
94 | 93 | #[cfg(feature = "special-renders")]
|
95 |
| - special_chars: HashMap::new(), |
| 94 | + special_chars: std::collections::HashMap::new(), |
96 | 95 | };
|
97 | 96 | skin.code_block.set_fgbg(gray(17), gray(3));
|
98 | 97 | for h in &mut skin.headers {
|
@@ -128,7 +127,7 @@ impl MadSkin {
|
128 | 127 | ellipsis: CompoundStyle::default(),
|
129 | 128 | list_items_indentation_mode: Default::default(),
|
130 | 129 | #[cfg(feature = "special-renders")]
|
131 |
| - special_chars: HashMap::new(), |
| 130 | + special_chars: std::collections::HashMap::new(), |
132 | 131 | table_border_chars: STANDARD_TABLE_BORDER_CHARS,
|
133 | 132 | }
|
134 | 133 | }
|
@@ -562,7 +561,7 @@ impl MadSkin {
|
562 | 561 | }
|
563 | 562 | }
|
564 | 563 | #[cfg(not(feature = "special-renders"))]
|
565 |
| - for c in &fc.composite.compounds { |
| 564 | + for c in &fc.compounds { |
566 | 565 | let os = self.compound_style(ls, c);
|
567 | 566 | write!(f, "{}", os.apply_to(c.as_str()))?;
|
568 | 567 | }
|
|
0 commit comments