1
0
mirror of https://github.com/rust-lang/rustlings.git synced 2025-07-01 00:45:17 +02:00

Merge pull request #2173 from JoelMarcey/if2-comment-fix

Fix argument comment in test of if2.rs
This commit is contained in:
Mo
2024-12-13 19:48:16 +01:00
committed by GitHub

View File

@ -19,7 +19,7 @@ mod tests {
#[test] #[test]
fn yummy_food() { 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!"); assert_eq!(picky_eater("strawberry"), "Yummy!");
} }