From 9a7a0f55b01053890dce65c1eeb53adbaee7c789 Mon Sep 17 00:00:00 2001 From: Allan Downey Date: Mon, 24 Jan 2022 23:18:04 +0800 Subject: [PATCH] Update: lifetime link --- book/contents/basic/ownership/borrowing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/contents/basic/ownership/borrowing.md b/book/contents/basic/ownership/borrowing.md index 132e6c9c..b2057863 100644 --- a/book/contents/basic/ownership/borrowing.md +++ b/book/contents/basic/ownership/borrowing.md @@ -259,7 +259,7 @@ help: consider using the `'static` lifetime ``` -错误信息引用了一个我们还未介绍的功能:[生命周期(lifetimes)](../../advance/lifetime.md)。不过,即使你不理解生命周期,也可以通过错误信息知道这段代码错误的关键信息: +错误信息引用了一个我们还未介绍的功能:[生命周期(lifetimes)](../../advance/lifetime/basic.md)。不过,即使你不理解生命周期,也可以通过错误信息知道这段代码错误的关键信息: ```text this function's return type contains a borrowed value, but there is no value for it to be borrowed from.