Skip to content

Commit 46d2a96

Browse files
authored
Fix small typo in Drop documentation
1 parent 07ef259 commit 46d2a96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/ops/drop.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
///
7979
/// In other words, if you tried to explicitly call `Drop::drop` in the above example, you'd get a compiler error.
8080
///
81-
/// If you'd like explicitly call the destructor of a value, [`mem::drop`] can be used instead.
81+
/// If you'd like to explicitly call the destructor of a value, [`mem::drop`] can be used instead.
8282
///
8383
/// [`mem::drop`]: drop
8484
///

0 commit comments

Comments
 (0)