Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: liv <[email protected]>
  • Loading branch information
Tostapunk and shadows-withal authored Jul 18, 2022
1 parent 02d78c3 commit e1d6abb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions info.toml
Original file line number Diff line number Diff line change
Expand Up @@ -796,9 +796,9 @@ path = "exercises/lifetimes/lifetimes2.rs"
mode = "compile"
hint = """
Remember that the generic lifetime 'a will get the concrete lifetime that is equal to the smaller of the lifetimes of x and y.
You can take at leats two paths to achieve the desidered result while keeping the inner block:
1. move string2 declaration to make it live as long as string1 (how is result declared?)
2. move println! into the inner block"""
You can take at least two paths to achieve the desired result while keeping the inner block:
1. Move the string2 declaration to make it live as long as string1 (how is result declared?)
2. Move println! into the inner block"""

[[exercises]]
name = "lifetimes3"
Expand Down

0 comments on commit e1d6abb

Please sign in to comment.