Skip to content

Commit 2255a41

Browse files
authored
chore: fix docgen example (#349)
* chore: fix docgen example * dont wait for finalize just do it
1 parent 2d9fba8 commit 2255a41

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/docgen.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ fn main() -> std::io::Result<()> {
2424

2525
// 1. add the docgen plugin and run your app as normal
2626
app.add_plugins(ScriptingDocgenPlugin::default());
27-
// running the app once like below would do the trick
28-
// app.cleanup();
29-
// app.finish();
27+
app.finish();
28+
app.cleanup();
29+
// running update once will do the trick
3030
// app.update();
3131

3232
// or 2. manually trigger the system

0 commit comments

Comments
 (0)