about summary refs log tree commit diff
path: root/library/alloc/src/lib.rs
diff options
context:
space:
mode:
authorYoshua Wuyts <yoshuawuyts@gmail.com>2020-11-13 18:24:26 +0100
committerYoshua Wuyts <yoshuawuyts@gmail.com>2021-01-22 17:41:56 +0100
commit0c8db16a67d02127cb6b4a1f399db054517f6aee (patch)
tree3bb4424dddad5e7715b1f7187b6691c475967618 /library/alloc/src/lib.rs
parentbbc01bb624a960533e049fdb98d0489ff2a8de06 (diff)
downloadrust-0c8db16a67d02127cb6b4a1f399db054517f6aee.tar.gz
rust-0c8db16a67d02127cb6b4a1f399db054517f6aee.zip
Add `core::stream::Stream`
This patch adds the `core::stream` submodule and implements `core::stream::Stream` in accordance with RFC2996.

Add feedback from @camelid
Diffstat (limited to 'library/alloc/src/lib.rs')
-rw-r--r--library/alloc/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/alloc/src/lib.rs b/library/alloc/src/lib.rs
index 8d721ed7487..e524eb05fcd 100644
--- a/library/alloc/src/lib.rs
+++ b/library/alloc/src/lib.rs
@@ -82,6 +82,7 @@
 #![feature(array_windows)]
 #![feature(allow_internal_unstable)]
 #![feature(arbitrary_self_types)]
+#![feature(async_stream)]
 #![feature(box_patterns)]
 #![feature(box_syntax)]
 #![feature(cfg_sanitize)]