File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 3
3
A _ field expression_ consists of an expression followed by a single dot and an
4
4
[ identifier] ( identifiers.html ) , when not immediately followed by a
5
5
parenthesized expression-list (the latter is always a [ method call
6
- expression] ( method-call-expr.html ) ). A field expression denotes a field of a
6
+ expression] ( expressions/ method-call-expr.html) ). A field expression denotes a field of a
7
7
[ struct] ( types.html#struct-types ) or [ union] ( items/unions.html ) . To call a
8
8
function stored in a struct parentheses are needed around the field expression
9
9
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ A [path](paths.html) used as an expression context denotes either a local
4
4
variable or an item. Path expressions that resolve to local or static variables
5
5
are [ lvalues] ( expressions.html#lvalues-and-rvalues ) , other paths
6
6
are rvalues. Using a ` static mut ` variable requires an [ ` unsafe `
7
- block] ( block-expr.html#unsafe-blocks ) .
7
+ block] ( expressions/ block-expr.html#unsafe-blocks) .
8
8
9
9
``` rust
10
10
# mod globals {
You can’t perform that action at this time.
0 commit comments