summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMo <76752051+mo8it@users.noreply.github.com>2024-12-13 19:48:16 +0100
committerGitHub <noreply@github.com>2024-12-13 19:48:16 +0100
commit26cf4989a2d9ffe6464e737ec341305384c86080 (patch)
tree10ef6c79950e3e52c6c7b16f649d49c1c22b52e0
parentd07de879a7dcfd5645bb8a658d0b20eff37250dc (diff)
parent6e60f441e9e93e7ebc3dc0072de7eaef8052931d (diff)
Merge pull request #2173 from JoelMarcey/if2-comment-fix
Fix argument comment in test of if2.rs
-rw-r--r--exercises/03_if/if2.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/exercises/03_if/if2.rs b/exercises/03_if/if2.rs
index 10037f2..ca8493c 100644
--- a/exercises/03_if/if2.rs
+++ b/exercises/03_if/if2.rs
@@ -19,7 +19,7 @@ mod tests {
#[test]
fn yummy_food() {
- // This means that calling `picky_eater` with the argument "food" should return "Yummy!".
+ // This means that calling `picky_eater` with the argument "strawberry" should return "Yummy!".
assert_eq!(picky_eater("strawberry"), "Yummy!");
}