Skip to content

Commit 71b1eb5

Browse files
committed
refactor: Move display_list under renderer
1 parent a1007dd commit 71b1eb5

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

Diff for: src/lib.rs

-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
//!
4242
//! Finally, `impl Display` into a final `String` output.
4343
44-
mod display_list;
4544
pub mod renderer;
4645
mod snippet;
4746

File renamed without changes.

Diff for: src/renderer/mod.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,13 @@
3131
//! let renderer = Renderer::styled();
3232
//! println!("{}", renderer.render(snippet));
3333
34+
mod display_list;
3435
mod margin;
3536
pub(crate) mod stylesheet;
3637

37-
use crate::display_list::DisplayList;
3838
use crate::snippet::Snippet;
3939
pub use anstyle::*;
40+
use display_list::DisplayList;
4041
pub use margin::Margin;
4142
use std::fmt::Display;
4243
use stylesheet::Stylesheet;

0 commit comments

Comments
 (0)