summaryrefslogtreecommitdiff
path: root/library/src/text
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-11-18 11:25:36 +0100
committerLaurenz <laurmaedje@gmail.com>2022-11-18 12:49:27 +0100
commit92f2c56203c6528e35ec1feae14e5dd2c2425311 (patch)
tree8438f9fe8e6cd4b91aad3302d9725975a6b50501 /library/src/text
parentc3895cbd66688c8d677d5795813432b9a72b3ef9 (diff)
Reorganize style module
Diffstat (limited to 'library/src/text')
-rw-r--r--library/src/text/mod.rs6
-rw-r--r--library/src/text/par.rs2
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]