summaryrefslogtreecommitdiff
path: root/src/syntax.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2019-03-30 20:51:09 +0100
committerLaurenz <laurmaedje@gmail.com>2019-03-30 20:58:46 +0100
commit5ca303ecadff190800dd55a5a5ae224dc28a3920 (patch)
treea49504b831981de1041a3f7f0ca44a3892f14ef1 /src/syntax.rs
parentadfd7dd0735d8a4efeac634c53bbf386e91a4c41 (diff)
Make things more consistent ♻
Diffstat (limited to 'src/syntax.rs')
-rw-r--r--src/syntax.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syntax.rs b/src/syntax.rs
index 56e11605..46b84832 100644
--- a/src/syntax.rs
+++ b/src/syntax.rs
@@ -2,7 +2,7 @@
/// A logical unit of the incoming text stream.
-#[derive(Debug, Clone, Eq, PartialEq)]
+#[derive(Debug, Copy, Clone, Eq, PartialEq)]
pub enum Token<'s> {
/// One or more whitespace (non-newline) codepoints.
Space,