From 83e8c96ae918f563242e08eb48f4086a5d9c3034 Mon Sep 17 00:00:00 2001 From: gwenn Date: Mon, 14 Jun 2021 19:26:09 +0200 Subject: [PATCH] Fix InnerConnection::authorizer visibility --- src/hooks.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks.rs b/src/hooks.rs index 5540e9a..0366b5f 100644 --- a/src/hooks.rs +++ b/src/hooks.rs @@ -599,7 +599,7 @@ impl InnerConnection { }; } - pub fn authorizer<'c, F>(&'c mut self, authorizer: Option) + fn authorizer<'c, F>(&'c mut self, authorizer: Option) where F: for<'r> FnMut(AuthContext<'r>) -> Authorization + Send + RefUnwindSafe + 'static, {