diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-08-03 01:54:05 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-08-03 01:54:05 +0800 |
| commit | d860a25ea43fc190c0463b8854492f8d6c630b48 (patch) | |
| tree | bdd7dc095cb4f7fe1717f3d2557b9f5fbe58dfcf /mingling | |
| parent | c01c3a53a5e117c60df846de7d2c1bdc43627a0b (diff) | |
docs(mingling): fix doc example compile error
Diffstat (limited to 'mingling')
| -rw-r--r-- | mingling/src/docs/gen_program.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mingling/src/docs/gen_program.md b/mingling/src/docs/gen_program.md index 91e7b91..16402c0 100644 --- a/mingling/src/docs/gen_program.md +++ b/mingling/src/docs/gen_program.md @@ -7,10 +7,12 @@ You can access them like this: ```rust # pub struct ThisProgram; # impl ThisProgram { fn new() -> Self { ThisProgram } } +# fn main() { // main.rs / lib.rs // Use them here via crate::* let mut program = crate::ThisProgram::new(); +# } // `ThisProgram` is generated here // | |
