Skip to content

Commit

Permalink
Merge pull request #40 from tyilo/fix-example
Browse files Browse the repository at this point in the history
Fix example in README
  • Loading branch information
spastorino authored Jan 24, 2025
2 parents 3576fd2 + 2e41511 commit eb32feb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ methods returning `impl Trait`.
#[dynosaur::dynosaur(DynNext)]
trait Next {
type Item;
async fn next(&mut self) -> Self::Item;
async fn next(&mut self) -> Option<Self::Item>;
}
```

Expand Down

0 comments on commit eb32feb

Please sign in to comment.