Fix failing docs

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

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

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

Loading…
Cancel
Save