From 40aaf7f3489d8e212375f878afd5e83c757bafe0 Mon Sep 17 00:00:00 2001 From: Yufan Lou Date: Mon, 25 Mar 2019 02:20:41 -0400 Subject: [PATCH] Fix link to lifetime elision rules --- src/part06.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/part06.rs b/src/part06.rs index 21fe644..939fe08 100644 --- a/src/part06.rs +++ b/src/part06.rs @@ -162,7 +162,7 @@ fn rust_foo(mut v: Vec) -> i32 { //@ application code. Most of the time, we don't have to explicitly add lifetimes to function //@ types. This is thanks to *lifetime elision*, where Rust will automatically insert lifetimes we //@ did not specify, following some simple, well-documented -//@ [rules](https://doc.rust- lang.org/stable/book/lifetimes.html#lifetime-elision). +//@ [rules](https://doc.rust-lang.org/stable/book/lifetimes.html#lifetime-elision). //@ [index](main.html) | [previous](part05.html) | [raw source](workspace/src/part06.rs) | //@ [next](part07.html) -- 2.30.2