Skip to content

Commit fc26bba

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 3ac1ab3 commit fc26bba

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
@@ -199,7 +199,7 @@ struct OptionCell<T> {
199199
value: MaybeUninit<T>,
200200
}
201201

202-
impl Drop<T> for OptionCell<T> {
202+
impl<T> Drop for OptionCell<T> {
203203
fn drop(&mut self) {
204204
// Safety: The cell is being dropped, so it can't be accessed again.
205205
unsafe { self.take_inner() };

0 commit comments

Comments
 (0)