From: Ralf Jung Date: Mon, 25 Mar 2019 21:23:07 +0000 (+0100) Subject: Merge pull request #32 from louy2/patch-2 X-Git-Url: https://git.ralfj.de/rust-101.git/commitdiff_plain/b47621b6c6db5d528eb315308cd4e67a2bf9e3cd?hp=392c35cc88157a46418467782782ea95b91ba849 Merge pull request #32 from louy2/patch-2 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)