From 240a3080c1edfc8ef956d1f6cf7515035f815a7f Mon Sep 17 00:00:00 2001 From: HunterChen <1480811935cyt@gmail.com> Date: Wed, 20 Dec 2023 12:15:02 +0800 Subject: [PATCH] Update closure.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复closure课后习题链接错误 --- src/advance/functional-programing/closure.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/advance/functional-programing/closure.md b/src/advance/functional-programing/closure.md index 77dbe972..c5007350 100644 --- a/src/advance/functional-programing/closure.md +++ b/src/advance/functional-programing/closure.md @@ -810,5 +810,6 @@ fn factory(x:i32) -> Box i32> { 这块儿内容在进阶生命周期章节中有讲,这里就不再赘述,读者可移步[此处](https://course.rs/advance/lifetime/advance.html#闭包函数的消除规则)进行回顾。 +## 课后习题 -{{#include ../../practice.md}} +> [Rust By Practice](https://practice.rs/functional-programing/closure.html),支持代码在线编辑和运行,并提供详细的[习题解答](https://github.com/sunface/rust-by-practice/blob/master/solutions/functional-programing/closure.md)。