Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/fn/closures.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@

<!--
Closures are functions that can capture the enclosing environment. For
example, a closure that captures the x variable:
example, a closure that captures the `x` variable:
-->
Rustにおけるクロージャは、その外側の環境を捕捉した関数のことです。例えば、次のコードは変数xを捕捉したクロージャです
Rustにおけるクロージャは、その外側の環境を捕捉した関数のことです。例えば、次のコードは変数`x`を捕捉したクロージャです

```Rust
|val| val + x
Expand Down