diff options
Diffstat (limited to 'library/src/text')
| -rw-r--r-- | library/src/text/mod.rs | 6 | ||||
| -rw-r--r-- | library/src/text/par.rs | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/library/src/text/mod.rs b/library/src/text/mod.rs index 8484ff57..1ab1c37d 100644 --- a/library/src/text/mod.rs +++ b/library/src/text/mod.rs @@ -407,7 +407,7 @@ impl Fold for FontFeatures { } /// A text space. -#[derive(Debug, Clone, Hash)] +#[derive(Debug, Hash)] pub struct SpaceNode; #[node(Behave)] @@ -424,7 +424,7 @@ impl Behave for SpaceNode { } /// A line break. -#[derive(Debug, Clone, Hash)] +#[derive(Debug, Hash)] pub struct LinebreakNode { pub justify: bool, } @@ -444,7 +444,7 @@ impl Behave for LinebreakNode { } /// A smart quote. -#[derive(Debug, Clone, Hash)] +#[derive(Debug, Hash)] pub struct SmartQuoteNode { pub double: bool, } diff --git a/library/src/text/par.rs b/library/src/text/par.rs index 1d01071d..6551ae9c 100644 --- a/library/src/text/par.rs +++ b/library/src/text/par.rs @@ -114,7 +114,7 @@ castable! { } /// A paragraph break. -#[derive(Debug, Clone, Hash)] +#[derive(Debug, Hash)] pub struct ParbreakNode; #[node] |
