mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-25 23:04:17 -05:00
fix(primitives-4.rs): update hint so it's less confusing
This commit is contained in:
parent
b949422d46
commit
662e5bddd7
1 changed files with 1 additions and 1 deletions
|
@ -216,7 +216,7 @@ mode = "test"
|
||||||
hint = """
|
hint = """
|
||||||
Take a look at the Understanding Ownership -> Slices -> Other Slices section of the book:
|
Take a look at the Understanding Ownership -> Slices -> Other Slices section of the book:
|
||||||
https://doc.rust-lang.org/book/ch04-03-slices.html
|
https://doc.rust-lang.org/book/ch04-03-slices.html
|
||||||
and use the starting and ending indices of the items in the Array
|
and use the starting and ending (plus one) indices of the items in the Array
|
||||||
that you want to end up in the slice.
|
that you want to end up in the slice.
|
||||||
|
|
||||||
If you're curious why the first argument of `assert_eq!` does not
|
If you're curious why the first argument of `assert_eq!` does not
|
||||||
|
|
Loading…
Reference in a new issue