smol-rs / async-signal

Asynchronous signal handling
Apache License 2.0
15 stars 6 forks source link

docs: signals needs to be mut #35

Closed SteveLauC closed 3 months ago

SteveLauC commented 3 months ago

The signals variable in the example needs to be mut so that futures_lite::stream::StreamExt::next(&mut self) can be invoked.