diff --git a/rustbook-en/listings/ch19-patterns-and-matching/listing-19-15/src/main.rs b/rustbook-en/listings/ch19-patterns-and-matching/listing-19-15/src/main.rs index 9407cc16a..7edf7f2bb 100644 --- a/rustbook-en/listings/ch19-patterns-and-matching/listing-19-15/src/main.rs +++ b/rustbook-en/listings/ch19-patterns-and-matching/listing-19-15/src/main.rs @@ -19,7 +19,7 @@ fn main() { println!("Text message: {text}"); } Message::ChangeColor(r, g, b) => { - println!("Change the color to red {r}, green {g}, and blue {b}") + println!("Change the color to red {r}, green {g}, and blue {b}"); } } } diff --git a/rustbook-en/listings/ch19-patterns-and-matching/listing-19-16/src/main.rs b/rustbook-en/listings/ch19-patterns-and-matching/listing-19-16/src/main.rs index 1e7ad5f19..a31eeffb9 100644 --- a/rustbook-en/listings/ch19-patterns-and-matching/listing-19-16/src/main.rs +++ b/rustbook-en/listings/ch19-patterns-and-matching/listing-19-16/src/main.rs @@ -18,7 +18,7 @@ fn main() { println!("Change color to red {r}, green {g}, and blue {b}"); } Message::ChangeColor(Color::Hsv(h, s, v)) => { - println!("Change color to hue {h}, saturation {s}, value {v}") + println!("Change color to hue {h}, saturation {s}, value {v}"); } _ => (), }