2
0
Fork 1
mirror of https://github.com/async-rs/async-std.git synced 2025-05-14 02:51:29 +00:00

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 - Initial beta release

View file

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

View file

@ -62,7 +62,10 @@ impl AsyncRead for Empty {
impl AsyncBufRead for Empty { impl AsyncBufRead for Empty {
#[inline] #[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(&[])) Poll::Ready(Ok(&[]))
} }