mirror of
https://gitlab.com/xmpp-rs/xmpp-rs.git
synced 2024-07-12 22:21:53 +00:00
lower rust versions really don't like this
This commit is contained in:
parent
6c11716926
commit
35fc26f378
1 changed files with 2 additions and 2 deletions
|
@ -3,8 +3,8 @@ use secret::SecretKind;
|
||||||
|
|
||||||
#[macro_export]
|
#[macro_export]
|
||||||
macro_rules! impl_validator_using_provider {
|
macro_rules! impl_validator_using_provider {
|
||||||
( $type:ty, $secret:ty ) => {
|
( $validator:ty, $secret:ty ) => {
|
||||||
impl $crate::server::Validator<$secret> for $type {
|
impl $crate::server::Validator<$secret> for $validator {
|
||||||
fn validate(
|
fn validate(
|
||||||
&self,
|
&self,
|
||||||
identity: &$crate::common::Identity,
|
identity: &$crate::common::Identity,
|
||||||
|
|
Loading…
Reference in a new issue