Fix InnerConnection::authorizer visibility

This commit is contained in:
gwenn 2021-06-14 19:26:09 +02:00
parent 73fd16958e
commit 83e8c96ae9

View File

@ -599,7 +599,7 @@ impl InnerConnection {
};
}
pub fn authorizer<'c, F>(&'c mut self, authorizer: Option<F>)
fn authorizer<'c, F>(&'c mut self, authorizer: Option<F>)
where
F: for<'r> FnMut(AuthContext<'r>) -> Authorization + Send + RefUnwindSafe + 'static,
{