Clarify hint of vecs1

A user got confused, thinking the two described methods are the *only*
ones. Calling them "basic" makes clear there are other (non-basic) ones.

discussed in:
https://github.com/rust-lang/rustlings/discussions/2419
This commit is contained in:
Remo Senekowitsch 2026-07-08 10:05:45 +02:00
parent 5e7a5d1721
commit 925321705e
No known key found for this signature in database

View File

@ -304,7 +304,7 @@ Now, you have another tool in your toolbox!"""
name = "vecs1"
dir = "05_vecs"
hint = """
In Rust, there are two ways to define a Vector.
In Rust, there are two basic ways to define a Vector.
1. One way is to use the `Vec::new()` function to create a new vector
and fill it with the `push()` method.
2. The second way is to use the `vec![]` macro and define your elements