summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorliv <mokou@fastmail.com>2022-11-19 00:35:08 +0100
committerGitHub <noreply@github.com>2022-11-19 00:35:08 +0100
commitcea60a2eb9303ec78f8f2026e3d9b6588461b905 (patch)
tree3c55544c624d7b44d7c48a3e4f3aff888e8536b7
parent97e3c419aaae6d368bdab69035c44ddf6da43633 (diff)
parent2ceb59a11d7e2c8aa31d3bd7e1c7cb2c94d61300 (diff)
Merge pull request #1273 from craymel/fix-structs3-hint
fix: Update structs3 hint
-rw-r--r--info.toml4
1 files changed, 1 insertions, 3 deletions
diff --git a/info.toml b/info.toml
index 5a17750..df3820d 100644
--- a/info.toml
+++ b/info.toml
@@ -386,11 +386,9 @@ name = "structs3"
path = "exercises/structs/structs3.rs"
mode = "test"
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 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"""