mirror of
https://github.com/rust-lang/rustlings.git
synced 2024-12-26 23:36:30 +00:00
fix(primitive_types4): update outdated hint
Exercise was changed to test (and the order was switched) in #209.
This commit is contained in:
parent
a09f684f05
commit
4c5189df2b
1 changed files with 2 additions and 2 deletions
|
@ -152,8 +152,8 @@ https://doc.rust-lang.org/book/ch04-03-slices.html
|
|||
and use the starting and ending indices of the items in the Array
|
||||
that you want to end up in the slice.
|
||||
|
||||
If you're curious why the right hand of the `==` comparison does not
|
||||
have an ampersand for a reference since the left hand side is a
|
||||
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 at the Deref coercions section of the book:
|
||||
https://doc.rust-lang.org/book/ch15-02-deref.html"""
|
||||
|
||||
|
|
Loading…
Reference in a new issue