Skip to content

Commit 66a7a33

Browse files
committed
zephyr: Make alloc public
Although this module has no contents that are public, mark the module itself as public so it can be a container for its documentation. Signed-off-by: David Brown <[email protected]>
1 parent f2dcad7 commit 66a7a33

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

zephyr/src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ pub mod _export {
130130
pub use core::format_args;
131131
}
132132

133+
// Mark this as `pub` so the docs can be read.
133134
/// If allocation has been requested, provide the allocator.
134135
#[cfg(CONFIG_RUST_ALLOC)]
135-
mod alloc;
136+
pub mod alloc;

0 commit comments

Comments
 (0)