]> git.lizzy.rs Git - rust.git/blobdiff - library/alloc/src/borrow.rs
Rollup merge of #106880 - tspiteri:borrowing-sub-typo, r=cuviper
[rust.git] / library / alloc / src / borrow.rs
index 904a53bb4acc73418e1f3431cba56f4b29057994..83a1385599bec8c70c79d54fdd67f154d238f9fa 100644 (file)
@@ -21,7 +21,6 @@
 impl<'a, B: ?Sized> Borrow<B> for Cow<'a, B>
 where
     B: ToOwned,
-    <B as ToOwned>::Owned: 'a,
 {
     fn borrow(&self) -> &B {
         &**self