robotty/twitch-irc-rs

Update docs to use tokio's recv instead of next

Opened this issue · 2 comments

Unless I'm missing something, next() is the same as recv(), except that for next() you have to have StreamExt in scope, correct?

In that case, I agree, the documentation will be updated to use recv.

I believe that is correct yes. I found when following the examples to the letter, with tokio v 0.2.22 due to other dependencies in my project it refused to compile. switching to recv() was the simplest fix in my case.