Skip to content

Commit a55278c

Browse files
authored
Merge pull request #1543 from ehuss/fix-unsafe-blocks-link
Update link for unsafe blocks.
2 parents cdef0cb + 04a0845 commit a55278c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/expressions/block-expr.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ if false {
180180
> _UnsafeBlockExpression_ :\
181181
>    `unsafe` _BlockExpression_
182182
183-
_See [`unsafe` block](../unsafe-blocks.md) for more information on when to use `unsafe`_
183+
_See [`unsafe` blocks] for more information on when to use `unsafe`_.
184184

185185
A block of code can be prefixed with the `unsafe` keyword to permit [unsafe operations].
186186
Examples:
@@ -233,6 +233,7 @@ fn is_unix_platform() -> bool {
233233
[`loop`]: loop-expr.md#infinite-loops
234234
[`std::ops::Fn`]: ../../std/ops/trait.Fn.html
235235
[`std::future::Future`]: ../../std/future/trait.Future.html
236+
[`unsafe` blocks]: ../unsafe-keyword.md#unsafe-blocks-unsafe-
236237
[`while let`]: loop-expr.md#predicate-pattern-loops
237238
[`while`]: loop-expr.md#predicate-loops
238239
[array expressions]: array-expr.md

0 commit comments

Comments
 (0)