about summary refs log tree commit diff
path: root/src/liballoc/lib.rs
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-10-23 22:19:08 +0200
committerGitHub <noreply@github.com>2019-10-23 22:19:08 +0200
commit4b9fbfbc29dbf0192dc0a9ed2bf6d61f2e7b971b (patch)
tree9dca0196997c4fa2ba795a0f45d6006151ea67ad /src/liballoc/lib.rs
parent426c6cf84fd6230240abe5e2e9007fcc7d1cddff (diff)
parenteeb549bfc31c27c6cec98eb852409a51f0a8162c (diff)
downloadrust-4b9fbfbc29dbf0192dc0a9ed2bf6d61f2e7b971b.tar.gz
rust-4b9fbfbc29dbf0192dc0a9ed2bf6d61f2e7b971b.zip
Rollup merge of #65144 - clarfon:moo, r=sfackler
Add Cow::is_borrowed and Cow::is_owned

Implements #65143.
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)]