From 830c5832fe09b299d9987e243654746fda604ea8 Mon Sep 17 00:00:00 2001 From: "Carol (Nichols || Goulding)" Date: Fri, 11 Nov 2016 11:01:51 -0500 Subject: [PATCH] Clarify a statement about the lifetime elision rules --- src/ch10-03-lifetime-syntax.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ch10-03-lifetime-syntax.md b/src/ch10-03-lifetime-syntax.md index 5b26cd956..4e81b81be 100644 --- a/src/ch10-03-lifetime-syntax.md +++ b/src/ch10-03-lifetime-syntax.md @@ -386,7 +386,8 @@ And two related to output lifetimes: or `&mut self`, then the lifetime of `self` is the lifetime assigned to all output lifetime parameters. -If none of these things are true, then you must explicitly annotate lifetimes. +If none of these three rules apply, then you must explicitly annotate input and +output lifetimes. These rules sound a little bit technical, and they are. But we've found that they cover the vast majority of cases, allowing you to write a lot of code