From c8b46237722b64f0b0c678792c233649bd9d49e6 Mon Sep 17 00:00:00 2001 From: funkill2 Date: Sun, 27 Oct 2024 04:00:17 +0300 Subject: [PATCH] update original --- .../ch19-patterns-and-matching/listing-19-15/src/main.rs | 2 +- .../ch19-patterns-and-matching/listing-19-16/src/main.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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}"); } _ => (), }