aboutsummaryrefslogtreecommitdiff
path: root/src/voice/audio.rs
diff options
context:
space:
mode:
authorZeyla Hellyer <[email protected]>2018-01-27 21:05:20 -0800
committerZeyla Hellyer <[email protected]>2018-01-27 21:05:20 -0800
commit13b0de121eda30e59849fd442c8a0926a63df2b8 (patch)
treed625052bca668b7b92016eb819a8b1b2ca5e475f /src/voice/audio.rs
parentCorrectly set role's position on new roles (diff)
downloadserenity-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.rs2
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,