From 4c4f27395073fa8ab7c756ad33c9df62b331204e Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Sun, 31 Dec 2023 08:35:52 +0000 Subject: [PATCH] Remove some pubs from html.rs. Just spotted that those aren't really needed. --- src/html.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 { } } } -- 2.30.2