Skip to content

Commit

Permalink
fix(primitive_types4): update outdated hint
Browse files Browse the repository at this point in the history
Exercise was changed to test (and the order was switched) in rust-lang#209.
  • Loading branch information
yourname committed Nov 13, 2019
1 parent f8fb018 commit 2d2676f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions info.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"""

Expand Down

0 comments on commit 2d2676f

Please sign in to comment.