fix: Update structs3 hint

This commit is contained in:
craymel 2022-11-18 23:38:27 +11:00
parent 97e3c419aa
commit 2ceb59a11d

View File

@ -386,11 +386,9 @@ name = "structs3"
path = "exercises/structs/structs3.rs" path = "exercises/structs/structs3.rs"
mode = "test" mode = "test"
hint = """ hint = """
The new method needs to panic if the weight is physically impossible :), how do we do that in Rust?
For is_international: What makes a package international? Seems related to the places it goes through right? For is_international: What makes a package international? Seems related to the places it goes through right?
For calculate_transport_fees: Bigger is more expensive usually, we don't have size, but something may fit the bill here :) For get_fees: This method takes an additional argument, is there a field in the Package struct that this relates to?
Have a look in The Book, to find out more about method implementations: https://doc.rust-lang.org/book/ch05-03-method-syntax.html""" Have a look in The Book, to find out more about method implementations: https://doc.rust-lang.org/book/ch05-03-method-syntax.html"""