summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2024-04-20 17:38:16 +0300
committerLars Wirzenius <liw@liw.fi>2024-04-20 17:38:16 +0300
commit3f47cf143a5ddc629d1f8244d8dec2e00ab8382f (patch)
treede213fe8a4d121a6d0a25de766f015c092febf56
parentbe6eb22bb2336d6509a3030e079614b59da75cb8 (diff)
downloadhtml-page-3f47cf143a5ddc629d1f8244d8dec2e00ab8382f.tar.gz
feat: export Content from the crate
Signed-off-by: Lars Wirzenius <liw@liw.fi> Sponsored-by: author
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 946db72..51baa99 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -591,7 +591,7 @@ impl Display for Element {
/// Represent content in HTML.
#[derive(Clone, Debug, Eq, PartialEq)]
-enum Content {
+pub enum Content {
/// Non-HTML text.
Text(String),
/// An HTML element.