aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJorge Israel Peña <[email protected]>2017-07-16 06:09:41 -0700
committeralex <[email protected]>2017-07-16 15:09:41 +0200
commitb249c8212ecd37cf3d52188fcc56f45268b3400e (patch)
tree75a46a5dbd79c30da2b1a7600a0500afbeeef841 /src
parentHandle the closing of Shards (#126) (diff)
downloadserenity-b249c8212ecd37cf3d52188fcc56f45268b3400e.tar.xz
serenity-b249c8212ecd37cf3d52188fcc56f45268b3400e.zip
Make CloseHandle derive Copy (#127)
Diffstat (limited to 'src')
-rw-r--r--src/client/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/mod.rs b/src/client/mod.rs
index 6702a92..05e82e9 100644
--- a/src/client/mod.rs
+++ b/src/client/mod.rs
@@ -56,7 +56,7 @@ use ::framework::Framework;
static HANDLE_STILL: AtomicBool = ATOMIC_BOOL_INIT;
-#[derive(Clone)]
+#[derive(Copy, Clone)]
pub struct CloseHandle;
impl CloseHandle {