mark io::cursor as unstable

Signed-off-by: Yoshua Wuyts <yoshuawuyts@gmail.com>
This commit is contained in:
Yoshua Wuyts 2019-09-13 20:02:31 +02:00
parent 69c9162558
commit 3b8e604acc
No known key found for this signature in database
GPG key ID: 24EA8164F96777ED

View file

@ -22,6 +22,7 @@ use std::task::{Context, Poll};
/// [`Vec`]: https://doc.rust-lang.org/std/vec/struct.Vec.html /// [`Vec`]: https://doc.rust-lang.org/std/vec/struct.Vec.html
/// [bytes]: https://doc.rust-lang.org/std/primitive.slice.html /// [bytes]: https://doc.rust-lang.org/std/primitive.slice.html
/// [`File`]: struct.File.html /// [`File`]: struct.File.html
#[cfg_attr(feature = "docs", doc(cfg(unstable)))]
#[derive(Clone, Debug, Default)] #[derive(Clone, Debug, Default)]
pub struct Cursor<T> { pub struct Cursor<T> {
inner: std::io::Cursor<T>, inner: std::io::Cursor<T>,