about summary refs log tree commit diff
path: root/src/liballoc/lib.rs
diff options
context:
space:
mode:
authorClar Fon <them@lightdark.xyz>2019-10-05 18:23:37 -0400
committerClar Fon <them@lightdark.xyz>2019-10-22 19:56:41 -0400
commiteeb549bfc31c27c6cec98eb852409a51f0a8162c (patch)
tree30ef378fa03e108c3b52d2d07454d42f1e8751f3 /src/liballoc/lib.rs
parent57bfb8096295150c06559da10adc5629e445a4ac (diff)
downloadrust-eeb549bfc31c27c6cec98eb852409a51f0a8162c.tar.gz
rust-eeb549bfc31c27c6cec98eb852409a51f0a8162c.zip
Add Cow::is_borrowed and Cow::is_owned
Diffstat (limited to 'src/liballoc/lib.rs')
-rw-r--r--src/liballoc/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/liballoc/lib.rs b/src/liballoc/lib.rs
index 3684162d8b1..94379afc2bd 100644
--- a/src/liballoc/lib.rs
+++ b/src/liballoc/lib.rs
@@ -85,6 +85,7 @@
 #![feature(const_generic_impls_guard)]
 #![feature(const_generics)]
 #![feature(const_in_array_repeat_expressions)]
+#![feature(cow_is_borrowed)]
 #![feature(dispatch_from_dyn)]
 #![feature(core_intrinsics)]
 #![feature(container_error_extra)]