summaryrefslogtreecommitdiffstats
path: root/runtime/src/command/action.rs
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/src/command/action.rs')
-rw-r--r--runtime/src/command/action.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/runtime/src/command/action.rs b/runtime/src/command/action.rs
index f04c642c..c9ffe801 100644
--- a/runtime/src/command/action.rs
+++ b/runtime/src/command/action.rs
@@ -26,9 +26,6 @@ pub enum Action<T> {
/// Run a clipboard action.
Clipboard(clipboard::Action<T>),
- /// Run a clipboard action on primary.
- ClipboardPrimary(clipboard::Action<T>),
-
/// Run a window action.
Window(window::Action<T>),
@@ -69,9 +66,6 @@ impl<T> Action<T> {
Self::Future(future) => Action::Future(Box::pin(future.map(f))),
Self::Stream(stream) => Action::Stream(Box::pin(stream.map(f))),
Self::Clipboard(action) => Action::Clipboard(action.map(f)),
- Self::ClipboardPrimary(action) => {
- Action::ClipboardPrimary(action.map(f))
- }
Self::Window(window) => Action::Window(window.map(f)),
Self::System(system) => Action::System(system.map(f)),
Self::Widget(operation) => {
@@ -94,9 +88,6 @@ impl<T> fmt::Debug for Action<T> {
Self::Clipboard(action) => {
write!(f, "Action::Clipboard({action:?})")
}
- Self::ClipboardPrimary(action) => {
- write!(f, "Action::ClipboardPrimary({action:?})")
- }
Self::Window(action) => {
write!(f, "Action::Window({action:?})")
}