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, {