mirror of
https://git.aramjonghu.dev/AramJonghu/rustlings.git
synced 2026-09-05 17:53:29 +02:00
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.
This commit is contained in:
@@ -1171,9 +1171,8 @@ Use the `as` operator to cast one of the operands in the last line of the
|
||||
name = "conversions2"
|
||||
dir = "23_conversions"
|
||||
hint = """
|
||||
Implement From<FairyCredit> for GnomeCoin. Check the documentation of `From` to
|
||||
learn about its required items:
|
||||
https://doc.rust-lang.org/std/convert/trait.From.html"""
|
||||
For the conversion from Fahrenheit to Celsius, you have to determine the formula
|
||||
yourself. Don't forget the order of operations!"""
|
||||
|
||||
[[exercises]]
|
||||
name = "conversions3"
|
||||
|
||||
Reference in New Issue
Block a user