Skip to content

Commit e1d6abb

Browse files
Apply suggestions from code review
Co-authored-by: liv <mokou@fastmail.com>
1 parent 02d78c3 commit e1d6abb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

info.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -796,9 +796,9 @@ path = "exercises/lifetimes/lifetimes2.rs"
796796
mode = "compile"
797797
hint = """
798798
Remember that the generic lifetime 'a will get the concrete lifetime that is equal to the smaller of the lifetimes of x and y.
799-
You can take at leats two paths to achieve the desidered result while keeping the inner block:
800-
1. move string2 declaration to make it live as long as string1 (how is result declared?)
801-
2. move println! into the inner block"""
799+
You can take at least two paths to achieve the desired result while keeping the inner block:
800+
1. Move the string2 declaration to make it live as long as string1 (how is result declared?)
801+
2. Move println! into the inner block"""
802802

803803
[[exercises]]
804804
name = "lifetimes3"

0 commit comments

Comments
 (0)