|
29 | 29 | //! Snippet --> Renderer --> impl Display
|
30 | 30 | //! ```
|
31 | 31 | //!
|
32 | | -//! The input type - [Snippet](self::snippet) is a structure designed |
| 32 | +//! The input type - [Snippet] is a structure designed |
33 | 33 | //! to align with likely output from any parser whose code snippet is to be
|
34 | 34 | //! annotated.
|
35 | 35 | //!
|
36 | | -//! The middle structure - [Renderer](self::renderer) is a structure designed |
| 36 | +//! The middle structure - [Renderer] is a structure designed |
37 | 37 | //! to convert a snippet into an internal structure that is designed to store
|
38 | 38 | //! the snippet data in a way that is easy to format.
|
39 | | -//! [Renderer](self::renderer) also handles the user-configurable formatting |
| 39 | +//! [Renderer] also handles the user-configurable formatting |
40 | 40 | //! options, such as color, or margins.
|
41 | 41 | //!
|
42 | 42 | //! Finally, `impl Display` into a final `String` output.
|
43 | 43 |
|
44 | 44 | mod display_list;
|
45 | 45 | pub mod renderer;
|
46 | | -pub mod snippet; |
| 46 | +mod snippet; |
| 47 | + |
| 48 | +#[doc(inline)] |
| 49 | +pub use renderer::Renderer; |
| 50 | +pub use snippet::*; |
0 commit comments