Fix failing docs

This commit is contained in:
Stjepan Glavina 2019-08-16 17:39:49 +02:00
parent d21bac4663
commit 6418bc9849
3 changed files with 6 additions and 3 deletions

View file

@ -1,3 +1,3 @@
# Version 0.99.2
# Version 0.99.3
- Initial beta release

View file

@ -1,6 +1,6 @@
[package]
name = "async-std"
version = "0.99.2"
version = "0.99.3"
authors = [
"Stjepan Glavina <stjepang@gmail.com>",
"The async-std Project Developers",

View file

@ -62,7 +62,10 @@ impl AsyncRead for Empty {
impl AsyncBufRead for Empty {
#[inline]
fn poll_fill_buf(self: Pin<&mut Self>, _: &mut Context<'_>) -> Poll<io::Result<&[u8]>> {
fn poll_fill_buf<'a>(
self: Pin<&'a mut Self>,
_: &mut Context<'_>,
) -> Poll<io::Result<&'a [u8]>> {
Poll::Ready(Ok(&[]))
}