diff options
Diffstat (limited to 'src/library/text.rs')
| -rw-r--r-- | src/library/text.rs | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/library/text.rs b/src/library/text.rs index 4aa1bdec..fb0f7e08 100644 --- a/src/library/text.rs +++ b/src/library/text.rs @@ -19,7 +19,7 @@ use crate::util::{EcoString, SliceExt}; /// A single run of text with the same style. #[derive(Hash)] -pub struct TextNode(pub EcoString); +pub struct TextNode; #[class] impl TextNode { @@ -144,12 +144,6 @@ impl TextNode { } } -impl Debug for TextNode { - fn fmt(&self, f: &mut Formatter) -> fmt::Result { - write!(f, "Text({:?})", self.0) - } -} - /// Strong text, rendered in boldface. pub struct StrongNode; |
