Skip to content

Commit

Permalink
格式化
Browse files Browse the repository at this point in the history
  • Loading branch information
jinzhongjia committed Nov 19, 2023
1 parent d8c0d8d commit aa7363a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion learn/basic/process_control/decision.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,4 +147,4 @@ if (d) |*optional_value| {

以上代码中,`*optional_value` 捕获的是可选类型的指针,我们在内部尝试解引用后再一次捕获指针来进行操作。

:::
:::
2 changes: 1 addition & 1 deletion learn/basic/process_control/loop.md
Original file line number Diff line number Diff line change
Expand Up @@ -417,4 +417,4 @@ pub fn main() !void {

`else |x|` 时语法出现在 `while` 表达式上,`while` 条件必须是错误联合类型。

:::
:::

0 comments on commit aa7363a

Please sign in to comment.