Skip to content

Commit

Permalink
docs: fix typo in builtin-plugin.md (#8897)
Browse files Browse the repository at this point in the history
chore(docs): fix typo in builtin-plugin
  • Loading branch information
stormslowly authored Dec 30, 2024
1 parent ea91d3d commit d3ce023
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion website/docs/en/contribute/architecture/builtin-plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pub struct MyPlugin {
}

// define the plugin hook
#[plugin_hook(CompilerCompilation for MuPlugin)]
#[plugin_hook(CompilerCompilation for MyPlugin)]
async fn compilation(&self, compilation: &mut Compilation) -> Result<()> {
// do something...
}
Expand Down
2 changes: 1 addition & 1 deletion website/docs/zh/contribute/architecture/builtin-plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ pub struct MyPlugin {
}

// define the plugin hook
#[plugin_hook(CompilerCompilation for MuPlugin)]
#[plugin_hook(CompilerCompilation for MyPlugin)]
async fn compilation(&self, compilation: &mut Compilation) -> Result<()> {
// do something...
}
Expand Down

0 comments on commit d3ce023

Please sign in to comment.