Skip to content

Commit 1a65aad

Browse files
authored
Fix Spelling mistake (#157)
1 parent f8d0570 commit 1a65aad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

idioms/dtor-finally.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ The finaliser must be assigned into a variable, otherwise it will be destroyed
7676
immediately, rather than when it goes out of scope. The variable name must start
7777
with `_` if the variable is only used as a finaliser, otherwise the compiler
7878
will warn that the finaliser is never used. However, do not call the variable
79-
`_` with no suffix - in that case it will be again be destroyed immediately.
79+
`_` with no suffix - in that case it will be destroyed immediately.
8080

8181
In Rust, destructors are run when an object goes out of scope. This happens
8282
whether we reach the end of block, there is an early return, or the program

0 commit comments

Comments
 (0)