fix incorrect name

pull/10/head
Alexis Beingessner 9 years ago committed by Manish Goregaokar
parent 36d7b94c89
commit e00022c2ef

@ -137,7 +137,7 @@ fn main() {
// need to last for the whole scope x is valid for. The return // need to last for the whole scope x is valid for. The return
// of as_str must find a str somewhere *before* this function // of as_str must find a str somewhere *before* this function
// call. Obviously not happening. // call. Obviously not happening.
println!("{}", as_str::<'d>(&'d temp)); println!("{}", as_str::<'d>(&'d x));
} }
} }
} }

Loading…
Cancel
Save