Fix failing docs

pull/46/head^2 v0.99.3
Stjepan Glavina 5 years ago
parent d21bac4663
commit 6418bc9849

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

@ -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",

@ -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(&[]))
}

Loading…
Cancel
Save