summaryrefslogtreecommitdiffstats
path: root/examples/editor
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2023-09-16 15:40:16 +0200
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2023-09-16 15:40:16 +0200
commitd051f21597bb333ac10183aaa3214a292e9aa365 (patch)
tree0735e31bae1fefcf004ebba199bd5ec759040605 /examples/editor
parentc6d0443627c22dcf1576303e5a426aa3622f1b7d (diff)
downloadiced-d051f21597bb333ac10183aaa3214a292e9aa365.tar.gz
iced-d051f21597bb333ac10183aaa3214a292e9aa365.tar.bz2
iced-d051f21597bb333ac10183aaa3214a292e9aa365.zip
Implement `Copy` and `Paste` actions for `text::Editor`
Diffstat (limited to 'examples/editor')
-rw-r--r--examples/editor/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/editor/src/main.rs b/examples/editor/src/main.rs
index 2a70b34c..11819c69 100644
--- a/examples/editor/src/main.rs
+++ b/examples/editor/src/main.rs
@@ -9,7 +9,7 @@ struct Editor {
content: text_editor::Content,
}
-#[derive(Debug, Clone, Copy)]
+#[derive(Debug, Clone)]
enum Message {
Edit(text_editor::Action),
}