Skip to content

Commit

Permalink
zz
Browse files Browse the repository at this point in the history
  • Loading branch information
3dgen committed Sep 10, 2023
1 parent 260f79d commit a0ed094
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion en/5.CompositeTypes/5.1.Reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ In Wa-lang, adding the `&` symbol before a variable is called a **reference** op

```wa
i: i32 = 42
j := &i // j的类型为 *i32 ,既:i32型引用
j := &i // The type of j is *i32, that is: reference of i32
```

Adding the `*` symbol before a reference variable is called a **dereference** operation. The value of the dereference expression is the value of the original variable it refers to, for example:
Expand Down

0 comments on commit a0ed094

Please sign in to comment.