Skip to content

Commit 05d1142

Browse files
frank-kingcarols10cents
authored andcommitted
Temporarily remove the link to Drop::drop
1 parent 39aecea commit 05d1142

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/ch04-01-what-is-ownership.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ from Listing 4-1 using a `String` instead of a string literal:
219219
There is a natural point at which we can return the memory our `String` needs
220220
to the allocator: when `s` goes out of scope. When a variable goes out of
221221
scope, Rust calls a special function for us. This function is called
222-
[`drop`][drop]<!-- ignore -->, and it’s where the author of `String` can put
222+
`drop`, and it’s where the author of `String` can put
223223
the code to return the memory. Rust calls `drop` automatically at the closing
224224
curly bracket.
225225

@@ -520,4 +520,3 @@ transferring ownership: references.
520520
[derivable-traits]: appendix-03-derivable-traits.html
521521
[methods]: ch05-03-method-syntax.html#methods
522522
[paths-module-tree]: ch07-03-paths-for-referring-to-an-item-in-the-module-tree.html
523-
[drop]: ../std/ops/trait.Drop.html#tymethod.drop

0 commit comments

Comments
 (0)