Remo Senekowitsch
360344ab6c
Simplify story and increase difficulty
...
Conversion between Celsius and Fahrenheit should be understandable to
most. Inverting the formula is still not very hard, but a little harder
than only multiplying by 100.
2026-05-15 10:41:35 +02:00
Remo Senekowitsch
db5ad7f42f
Use infallible conversion to teach From trait
2026-05-15 09:18:40 +02:00
Jane
5b1edf5f4f
Rename smart_pointers and conversions exercises with numeric prefix (Option A)
2026-05-13 19:36:32 +08:00
Jane
4338c58079
Rename smart_pointers and conversions exercises with numeric prefix
...
Update rustlings-macros/info.toml and dev/Cargo.toml accordingly
2026-05-13 19:36:32 +08:00
Eugen
0bed579a4b
try_from_into.rs: Improve slice implementation
...
Using pattern matching, we can reduce four bound checks to just one.
2025-11-29 19:24:55 +09:00
Samuel Tardieu
2653c3c4d4
Do not use .as_bytes().len() on strings
2024-09-22 10:49:55 +02:00
mo8it
db5911eb73
Use *=
2024-07-05 15:31:39 +02:00
mo8it
b87aa98634
Fix warnings
2024-07-04 13:38:35 +02:00
mo8it
825637f32c
as_ref_mut solution
2024-07-02 01:35:38 +02:00
mo8it
8ef5d10da2
Import the error variants in the tests
2024-07-02 01:29:30 +02:00
mo8it
5217cdc5e2
try_from_into solution
2024-07-02 01:26:09 +02:00
mo8it
e3c8c457ba
from_str solution
2024-07-02 01:03:55 +02:00
mo8it
cddaf4881e
from_into solution
2024-07-01 22:09:48 +02:00
mo8it
428d64ffa0
using_as solution
2024-07-01 21:41:22 +02:00
mo8it
177e2870c5
Edit comment
2024-04-25 16:30:01 +02:00
mo8it
2dac8e509b
Refactor embedded files to add solutions
2024-04-23 19:18:25 +02:00