chiark
/
gitweb
/
~ian
/
mastodonochrome.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c66b999
)
Remove some pubs from html.rs.
author
Simon Tatham
<anakin@pobox.com>
Sun, 31 Dec 2023 08:35:52 +0000
(08:35 +0000)
committer
Simon 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
patch
|
blob
|
history
diff --git
a/src/html.rs
b/src/html.rs
index 697fd93990cf472047dfe46dac37fc8685ea1bf4..156512d70735e3fade70855f0c975fac74cdcae0 100644
(file)
--- 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 { }
}
}