diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/voice/connection.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/voice/connection.rs b/src/voice/connection.rs index 2a358a5..3b31488 100644 --- a/src/voice/connection.rs +++ b/src/voice/connection.rs @@ -410,7 +410,7 @@ fn encryption_key(client: &mut Client) -> Result<Key> { #[inline] fn has_valid_mode<T, It> (modes: It) -> bool -where T: PartialEq<str>, +where T: for<'a> PartialEq<&'a str>, It : IntoIterator<Item=T> { modes.into_iter().any(|s| s == CRYPTO_MODE) |