From 2c26777c75916ce2fa258ef5977149595c3f1e1e Mon Sep 17 00:00:00 2001 From: Sergio Benitez Date: Thu, 22 Dec 2016 04:15:29 -0800 Subject: [PATCH] Expose a single function in codegen to docs build. --- codegen/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codegen/src/lib.rs b/codegen/src/lib.rs index 92024983..c2a15655 100644 --- a/codegen/src/lib.rs +++ b/codegen/src/lib.rs @@ -117,7 +117,7 @@ macro_rules! register_decorators { ) } -#[doc(hidden)] +/// Compiler hook for Rust to register plugins. #[plugin_registrar] pub fn plugin_registrar(reg: &mut Registry) { // Enable logging early if the DEBUG_ENV_VAR is set.