X-Git-Url: https://git.ralfj.de/rust-101.git/blobdiff_plain/392c35cc88157a46418467782782ea95b91ba849..b47621b6c6db5d528eb315308cd4e67a2bf9e3cd:/src/part06.rs 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)