Skip to content

Commit f0d0c69

Browse files
committed
Fix Pin::set bounds regression
1 parent c6db1ca commit f0d0c69

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

library/core/src/pin.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1475,7 +1475,6 @@ impl<Ptr: Deref> Pin<Ptr> {
14751475
#[inline(always)]
14761476
pub fn set(&mut self, value: Ptr::Target)
14771477
where
1478-
Ptr: DerefMut,
14791478
Ptr::Target: Sized,
14801479
{
14811480
*(self.__pointer) = value;

0 commit comments

Comments
 (0)