From 0d9f388dc78909319ef69a1e4a89365ba7da2ee1 Mon Sep 17 00:00:00 2001 From: TeCHiScy Date: Sun, 22 Jan 2023 18:10:54 +0800 Subject: [PATCH] Update ch13-01-closures.md --- src/ch13-01-closures.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ch13-01-closures.md b/src/ch13-01-closures.md index 30700ed..a880427 100644 --- a/src/ch13-01-closures.md +++ b/src/ch13-01-closures.md @@ -101,7 +101,7 @@ let add_one_v4 = |x| x + 1 ; {{#include ../listings/ch13-functional-features/listing-13-04/output.txt}} ``` -接下来在示例 13-5 中,我们修改闭包体以便向 `list` vector 增加一个元素。闭包现在捕获一个可变引用: +接下来在示例 13-5 中,我们修改闭包体让它向 `list` vector 增加一个元素。闭包现在捕获一个可变引用: 文件名:src/main.rs