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,