forked from mirror/async-std
Fix failing docs
This commit is contained in:
parent
d21bac4663
commit
6418bc9849
3 changed files with 6 additions and 3 deletions
|
@ -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…
Reference in a new issue