Capture global module docs in JSON.

This commit is contained in:
Stephen Chung
2022-12-01 23:35:26 +08:00
parent fcc363af60
commit eb5b15e954
2 changed files with 24 additions and 2 deletions

View File

@@ -247,6 +247,7 @@ fn setup_editor() -> Editor<()> {
rl
}
/// Module containing sample functions.
#[export_module]
mod sample_functions {
/// This is a sample function.