fix incorrect name
This commit is contained in:
parent
0d37e78977
commit
b93438f648
1 changed files with 1 additions and 1 deletions
|
|
@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue