Skip to content

Commit

Permalink
Merge pull request #8 from heeuid/patch
Browse files Browse the repository at this point in the history
Fix issues in README example and impl_sets! macro
  • Loading branch information
TheEmeraldBee authored Jun 24, 2024
2 parents d591b30 + b0b3502 commit 2ccdeb5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ fn widget(mut frame: ResMut<WidgetFrame>, mut events: ResMut<Events>) -> WidgetR
Ok(())
}

fn main() -> Result<(), Box<dyn Error>> {
fn main() -> Result<(), impl Error> {
App::new(100)?.widgets(widget).run()
}
```
Expand Down
2 changes: 1 addition & 1 deletion src/set.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ impl_sets! {A 0 B 1 C 2 D 3 E 4 F 5 G 6 }
impl_sets! {A 0 B 1 C 2 D 3 E 4 F 5 G 6 H 7 }
impl_sets! {A 0 B 1 C 2 D 3 E 4 F 5 G 6 H 7 I 8 }
impl_sets! {A 0 B 1 C 2 D 3 E 4 F 5 G 6 H 7 I 8 J 9 }
impl_sets! {A 0 B 1 C 2 D 3 E 4 F 5 G 6 H 7 I 8 J 9 K 0}
impl_sets! {A 0 B 1 C 2 D 3 E 4 F 5 G 6 H 7 I 8 J 9 K 10}

0 comments on commit 2ccdeb5

Please sign in to comment.