Skip to content

Commit 6418bc9

Browse files
author
Stjepan Glavina
committed
Fix failing docs
1 parent d21bac4 commit 6418bc9

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# Version 0.99.2
1+
# Version 0.99.3
22

33
- Initial beta release

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "async-std"
3-
version = "0.99.2"
3+
version = "0.99.3"
44
authors = [
55
"Stjepan Glavina <stjepang@gmail.com>",
66
"The async-std Project Developers",

src/io/empty.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,10 @@ impl AsyncRead for Empty {
6262

6363
impl AsyncBufRead for Empty {
6464
#[inline]
65-
fn poll_fill_buf(self: Pin<&mut Self>, _: &mut Context<'_>) -> Poll<io::Result<&[u8]>> {
65+
fn poll_fill_buf<'a>(
66+
self: Pin<&'a mut Self>,
67+
_: &mut Context<'_>,
68+
) -> Poll<io::Result<&'a [u8]>> {
6669
Poll::Ready(Ok(&[]))
6770
}
6871

0 commit comments

Comments
 (0)