Skip to content

Commit

Permalink
little update
Browse files Browse the repository at this point in the history
  • Loading branch information
jinzhongjia committed Nov 1, 2024
1 parent b739ff3 commit 7404fda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions course/basic/define-variable.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ PS:说实话,我认为这个设计并不太好。
为什么是作用域顶层呢?实际上,zig 将一个源码文件看作是一个容器。
:::

## 解构赋值(Destructuring Assignment)
## 解构赋值

解构赋值是 `0.12` 新引入的语法,允许对可索引的聚合结构(如元组、向量和数组)进行解构。
解构赋值(Destructuring Assignment)是于 `0.12` 新引入的语法,允许对可索引的聚合结构(如元组、向量和数组)进行解构。

<<<@/code/release/define_variable.zig#deconstruct

0 comments on commit 7404fda

Please sign in to comment.