Skip to content

Commit

Permalink
Merge pull request #24 from cramertj/patch-1
Browse files Browse the repository at this point in the history
Add missing &mut to Next::next in README
  • Loading branch information
spastorino authored Nov 7, 2024
2 parents f375464 + 9abd61f commit c8343e6
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(&self) -> Self::Item;
async fn next(&mut self) -> Self::Item;
}
```

Expand Down

0 comments on commit c8343e6

Please sign in to comment.