minsung.cho 939777825f fix: remove ambiguous .into() example from strings4
The `"nice weather".into()` line could be solved with either
`string_slice` or `string`. The `string_slice` choice compiled and
passed the exercise while emitting a `clippy::useless_conversion`
warning, so the exercise could pass with a warning still present.

Understanding why `.into()` works for both targets requires the `From`
trait, which rustlings introduces later. Remove the example from the
exercise and solution.

Fixes #2190
2026-05-23 18:27:34 -07:00
..
2024-05-25 18:19:30 +02:00
2025-05-12 20:31:13 +02:00
2024-10-09 15:27:36 +02:00
2024-06-27 02:25:11 +02:00
2024-07-22 12:02:59 +02:00
2025-11-20 12:49:27 +01:00
2024-08-09 12:47:32 +02:00

Official Rustlings solutions

Before you finish an exercise, its solution file will only contain an empty main function. The content of this file will be automatically replaced by the actual solution once you finish the exercise.

Note that these solutions are often only one possibility to solve an exercise.