1
0
mirror of https://gitlab.com/xmpp-rs/xmpp-rs.git synced 2024-07-03 20:00:36 +02:00

lower rust versions really don't like this

This commit is contained in:
lumi 2017-03-25 23:25:28 +01:00
parent 6c11716926
commit 35fc26f378

View File

@ -3,8 +3,8 @@ use secret::SecretKind;
#[macro_export]
macro_rules! impl_validator_using_provider {
( $type:ty, $secret:ty ) => {
impl $crate::server::Validator<$secret> for $type {
( $validator:ty, $secret:ty ) => {
impl $crate::server::Validator<$secret> for $validator {
fn validate(
&self,
identity: &$crate::common::Identity,