mirror of
https://git.aramjonghu.dev/AramJonghu/rustlings.git
synced 2026-09-05 09:43:31 +02:00
primitive_types4 solution
This commit is contained in:
@@ -267,8 +267,8 @@ dir = "04_primitive_types"
|
||||
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 (plus one) indices of the items in the `Array` that you
|
||||
want to end up in the slice.
|
||||
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 have an
|
||||
ampersand for a reference since the second argument is a reference, take a look
|
||||
|
||||
Reference in New Issue
Block a user