From: Simon Tatham Date: Sun, 31 Dec 2023 08:35:52 +0000 (+0000) Subject: Remove some pubs from html.rs. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=4c4f27395073fa8ab7c756ad33c9df62b331204e;p=mastodonochrome.git Remove some pubs from html.rs. Just spotted that those aren't really needed. --- diff --git a/src/html.rs b/src/html.rs index 697fd93..156512d 100644 --- a/src/html.rs +++ b/src/html.rs @@ -7,11 +7,11 @@ use html2text::render::text_renderer::{ use super::coloured_string::ColouredString; #[derive(Clone, Debug, Default)] -pub struct OurDecorator { +struct OurDecorator { } impl OurDecorator { - pub fn new() -> OurDecorator { + fn new() -> OurDecorator { OurDecorator { } } }