Merge pull request #1598 from yamila-moreno/fix/hint-in-primitives-4

fix(primitives-4.rs): update hint so it's less confusing
This commit is contained in:
liv 2023-09-04 13:58:05 +02:00 committed by GitHub
commit 4d9b68b377
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -217,7 +217,7 @@ mode = "test"
hint = """
Take a look at the Understanding Ownership -> Slices -> Other Slices section of the book:
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.
If you're curious why the first argument of `assert_eq!` does not