summaryrefslogtreecommitdiffstats
path: root/library/alloc/src/borrow.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/alloc/src/borrow.rs')
-rw-r--r--library/alloc/src/borrow.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/library/alloc/src/borrow.rs b/library/alloc/src/borrow.rs
index 83a138559..0c8c796ae 100644
--- a/library/alloc/src/borrow.rs
+++ b/library/alloc/src/borrow.rs
@@ -328,10 +328,9 @@ impl<B: ?Sized + ToOwned> Cow<'_, B> {
}
#[stable(feature = "rust1", since = "1.0.0")]
-#[rustc_const_unstable(feature = "const_deref", issue = "88955")]
-impl<B: ?Sized + ToOwned> const Deref for Cow<'_, B>
+impl<B: ?Sized + ToOwned> Deref for Cow<'_, B>
where
- B::Owned: ~const Borrow<B>,
+ B::Owned: Borrow<B>,
{
type Target = B;