From ad9a0713fde9a9ee9eb3cb9d1b766300b36435c2 Mon Sep 17 00:00:00 2001 From: Steve Klabnik Date: Thu, 6 Aug 2015 20:18:49 -0400 Subject: [PATCH] Remove reference to diabetes 1. this isn't actually true about diabetes 2. people with diabetes will get *real sad* when reading this 3. it isn't actually necessary. --- src/doc/nomicon/lifetimes.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/doc/nomicon/lifetimes.md b/src/doc/nomicon/lifetimes.md index f211841ec0c..58272a1bc37 100644 --- a/src/doc/nomicon/lifetimes.md +++ b/src/doc/nomicon/lifetimes.md @@ -52,8 +52,7 @@ likely desugar to the following: } ``` -Wow. That's... awful. Let's all take a moment to thank Rust for being a -diabetes-inducing torrent of syrupy-goodness. +Wow. That's... awful. Let's all take a moment to thank Rust for making this easier. Actually passing references to outer scopes will cause Rust to infer a larger lifetime: