about summary refs log tree commit diff
path: root/src/liballoc/lib.rs
diff options
context:
space:
mode:
authorSteven Allen <steven@stebalien.com>2016-08-13 14:42:36 -0400
committerSteven Allen <steven@stebalien.com>2016-08-18 12:16:29 -0400
commitde91872a3337dddf9a0d27df7bfb64f3965c81b0 (patch)
tree5204b54ce4d67aa5eb959f741167db6cba2f2454 /src/liballoc/lib.rs
parent43c090ed69a624928c03ad61a29a59badf80ff7b (diff)
downloadrust-de91872a3337dddf9a0d27df7bfb64f3965c81b0.tar.gz
rust-de91872a3337dddf9a0d27df7bfb64f3965c81b0.zip
Add a FusedIterator trait.
This trait can be used to avoid the overhead of a fuse wrapper when an iterator
is already well-behaved.

Conforming to: RFC 1581
Closes: #35602
Diffstat (limited to 'src/liballoc/lib.rs')
-rw-r--r--src/liballoc/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/lib.rs b/src/liballoc/lib.rs
index 0293d5402c4..90037f813cd 100644
--- a/src/liballoc/lib.rs
+++ b/src/liballoc/lib.rs
@@ -91,7 +91,7 @@
 #![feature(unsafe_no_drop_flag, filling_drop)]
 #![feature(unsize)]
 
-#![cfg_attr(not(test), feature(raw, fn_traits, placement_new_protocol))]
+#![cfg_attr(not(test), feature(fused, raw, fn_traits, placement_new_protocol))]
 #![cfg_attr(test, feature(test, box_heap))]
 
 // Allow testing this library