Skip to content

Commit

Permalink
refactor: Move display_list under renderer
Browse files Browse the repository at this point in the history
  • Loading branch information
Muscraft committed Dec 5, 2023
1 parent a1007dd commit 71b1eb5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
//!
//! Finally, `impl Display` into a final `String` output.
mod display_list;
pub mod renderer;
mod snippet;

Expand Down
File renamed without changes.
3 changes: 2 additions & 1 deletion src/renderer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,13 @@
//! let renderer = Renderer::styled();
//! println!("{}", renderer.render(snippet));
mod display_list;
mod margin;
pub(crate) mod stylesheet;

use crate::display_list::DisplayList;
use crate::snippet::Snippet;
pub use anstyle::*;
use display_list::DisplayList;
pub use margin::Margin;
use std::fmt::Display;
use stylesheet::Stylesheet;
Expand Down

0 comments on commit 71b1eb5

Please sign in to comment.