rust-lang / async-book

Asynchronous Programming in Rust
https://rust-lang.github.io/async-book/index.html
MIT License
1.79k stars 241 forks source link

Shouldn't this comma be missing? #187

Closed zll600 closed 1 year ago

zll600 commented 1 year ago

image

Maybe event is the last parameter?

Nereuxofficial commented 1 year ago

This is rather convention as it makes it easier to extend the function arguments. rustfmt also does this automatically, so looks like a non-issue