mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-06-29 15:58:45 +00:00
Merge pull request #2405 from aeft/improve-doc
Align section references with Rust Book section names
This commit is contained in:
commit
4bab596677
@ -265,10 +265,10 @@ for `a.len() >= 100`?"""
|
||||
name = "primitive_types4"
|
||||
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.
|
||||
Take a look at the 'Understanding Ownership -> The Slice Type -> 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.
|
||||
|
||||
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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user