Skip to content

Commit dd2169c

Browse files
committed
docs(renderer): List 'none' style last
1 parent bba974b commit dd2169c

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/renderer/mod.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -219,12 +219,6 @@ impl Renderer {
219219
self
220220
}
221221

222-
/// Override the output style for all other text
223-
pub const fn none(mut self, style: Style) -> Self {
224-
self.stylesheet.none = style;
225-
self
226-
}
227-
228222
/// Override the output style for [`AnnotationKind::Context`][crate::AnnotationKind::Context]
229223
pub const fn context(mut self, style: Style) -> Self {
230224
self.stylesheet.context = style;
@@ -242,6 +236,12 @@ impl Renderer {
242236
self.stylesheet.removal = style;
243237
self
244238
}
239+
240+
/// Override the output style for all other text
241+
pub const fn none(mut self, style: Style) -> Self {
242+
self.stylesheet.none = style;
243+
self
244+
}
245245
}
246246

247247
/// The character set for rendering for decor

0 commit comments

Comments
 (0)