Skip to content

Commit 3ac1ab3

Browse files
KodrAusm-ou-se
andauthored
Update src/libs/maintaining-std.md
Co-authored-by: Mara Bos <m-ou.se@m-ou.se>
1 parent b3b2e92 commit 3ac1ab3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libs/maintaining-std.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ struct OptionCell<T> {
229229
}
230230

231231
- impl Drop<T> for OptionCell<T> {
232-
+ unsafe impl Drop<#[may_dangle] T> for OptionCell<T> {
232+
+ unsafe impl<#[may_dangle] T> Drop for OptionCell<T> {
233233
```
234234

235235
### How could `mem` break assumptions?

0 commit comments

Comments
 (0)