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 4b9fb9b..744ced8 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 aa07ee6..d80ab39 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 41978bc..4e5236a 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(&[])) }