From a3d5c32751c3d95923e098bbb262e964e023833d Mon Sep 17 00:00:00 2001 From: Diego Barrios Romero Date: Wed, 21 Nov 2018 09:03:24 +0100 Subject: Make type copyable --- src/devices/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/devices/mod.rs b/src/devices/mod.rs index 5edbf1c..e5124e1 100644 --- a/src/devices/mod.rs +++ b/src/devices/mod.rs @@ -1,4 +1,4 @@ -#[derive(Debug)] +#[derive(Debug, Clone, Copy)] enum OperatingMode { OneShot, Continuous -- cgit v1.2.3-54-g00ecf