From: Yufan Lou Date: Mon, 25 Mar 2019 06:20:41 +0000 (-0400) Subject: Fix link to lifetime elision rules X-Git-Url: https://git.ralfj.de/rust-101.git/commitdiff_plain/40aaf7f3489d8e212375f878afd5e83c757bafe0?hp=88cd95d43aa7327670f1253a26d2a9b79cc945c4 Fix link to lifetime elision rules --- 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)