chiark / gitweb /
Remove some pubs from html.rs.
authorSimon Tatham <anakin@pobox.com>
Sun, 31 Dec 2023 08:35:52 +0000 (08:35 +0000)
committerSimon Tatham <anakin@pobox.com>
Sun, 31 Dec 2023 08:35:52 +0000 (08:35 +0000)
Just spotted that those aren't really needed.

src/html.rs

index 697fd93990cf472047dfe46dac37fc8685ea1bf4..156512d70735e3fade70855f0c975fac74cdcae0 100644 (file)
@@ -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 { }
     }
 }