diff options
| author | Zeyla Hellyer <[email protected]> | 2018-01-27 21:05:20 -0800 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2018-01-27 21:05:20 -0800 |
| commit | 13b0de121eda30e59849fd442c8a0926a63df2b8 (patch) | |
| tree | d625052bca668b7b92016eb819a8b1b2ca5e475f /src/voice/audio.rs | |
| parent | Correctly set role's position on new roles (diff) | |
| download | serenity-13b0de121eda30e59849fd442c8a0926a63df2b8.tar.xz serenity-13b0de121eda30e59849fd442c8a0926a63df2b8.zip | |
Reduce number of clones in the library
Diffstat (limited to 'src/voice/audio.rs')
| -rw-r--r-- | src/voice/audio.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/voice/audio.rs b/src/voice/audio.rs index 24a4fcd..21f8f31 100644 --- a/src/voice/audio.rs +++ b/src/voice/audio.rs @@ -24,7 +24,7 @@ pub trait AudioReceiver: Send { data: &[i16]); } -#[derive(Clone)] +#[derive(Clone, Copy)] pub enum AudioType { Opus, Pcm, |