Skip to content

Commit

Permalink
chore(docs): fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
StrikeForceZero committed Jan 21, 2025
1 parent 54bce92 commit 483bef9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Which generates this code
```rust
mod plugin_module {
// ...
fn ini(app: &mut App) {
fn init(app: &mut App) {
app.register_type::<FooComponent>();
app.register_type::<FooComponentWithGeneric<bool>>();
app.register_type::<FooComponentWithGeneric<u32>>();
Expand All @@ -79,7 +79,7 @@ mod plugin_module {
## Usage - [Nightly](https://github.com/StrikeForceZero/bevy_auto_plugin_macros/tree/nightly)
```rust
use bevy::prelude::*;
use bevy_auto_plugin_macros::*;
use bevy_auto_plugin_macros::auto_plugin::*;

#[auto_register_type]
#[derive(Component, Reflect)]
Expand Down

0 comments on commit 483bef9

Please sign in to comment.