From e00022c2efcd2152b934365fd915fd7132c9de97 Mon Sep 17 00:00:00 2001 From: Alexis Beingessner Date: Tue, 28 Jul 2015 15:16:59 -0700 Subject: [PATCH] fix incorrect name --- lifetimes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lifetimes.md b/lifetimes.md index 5d7b305..37d0357 100644 --- a/lifetimes.md +++ b/lifetimes.md @@ -137,7 +137,7 @@ fn main() { // need to last for the whole scope x is valid for. The return // of as_str must find a str somewhere *before* this function // call. Obviously not happening. - println!("{}", as_str::<'d>(&'d temp)); + println!("{}", as_str::<'d>(&'d x)); } } }