Skip to content

Commit 3d9daf0

Browse files
Fix unsized coërcions regression
1 parent 80a55ed commit 3d9daf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/pin.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2037,7 +2037,7 @@ pub macro pin($value:expr $(,)?) {
20372037
}
20382038
pin
20392039
},
2040-
}
2040+
} as $crate::pin::Pin<&mut _> // allow unsized coërcions
20412041
}
20422042

20432043
/// Since the 2024 edition, the rules for lifespan-of-temporaries extension have changed,

0 commit comments

Comments
 (0)