diff options
| author | Jorge Israel Peña <[email protected]> | 2017-07-16 06:09:41 -0700 |
|---|---|---|
| committer | alex <[email protected]> | 2017-07-16 15:09:41 +0200 |
| commit | b249c8212ecd37cf3d52188fcc56f45268b3400e (patch) | |
| tree | 75a46a5dbd79c30da2b1a7600a0500afbeeef841 /src | |
| parent | Handle the closing of Shards (#126) (diff) | |
| download | serenity-b249c8212ecd37cf3d52188fcc56f45268b3400e.tar.xz serenity-b249c8212ecd37cf3d52188fcc56f45268b3400e.zip | |
Make CloseHandle derive Copy (#127)
Diffstat (limited to 'src')
| -rw-r--r-- | src/client/mod.rs | 2 |
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 { |