From 6418bc9849b435c9c6846bd74ebf094ef917ccc1 Mon Sep 17 00:00:00 2001 From: Stjepan Glavina Date: Fri, 16 Aug 2019 17:39:49 +0200 Subject: [PATCH] Fix failing docs --- CHANGELOG.md | 2 +- Cargo.toml | 2 +- src/io/empty.rs | 5 ++++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4b9fb9b8..744ced8c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,3 @@ -# Version 0.99.2 +# Version 0.99.3 - Initial beta release diff --git a/Cargo.toml b/Cargo.toml index aa07ee63..d80ab391 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "async-std" -version = "0.99.2" +version = "0.99.3" authors = [ "Stjepan Glavina ", "The async-std Project Developers", diff --git a/src/io/empty.rs b/src/io/empty.rs index 41978bcc..4e5236aa 100644 --- a/src/io/empty.rs +++ b/src/io/empty.rs @@ -62,7 +62,10 @@ impl AsyncRead for Empty { impl AsyncBufRead for Empty { #[inline] - fn poll_fill_buf(self: Pin<&mut Self>, _: &mut Context<'_>) -> Poll> { + fn poll_fill_buf<'a>( + self: Pin<&'a mut Self>, + _: &mut Context<'_>, + ) -> Poll> { Poll::Ready(Ok(&[])) }