rust-lang / book

The Rust Programming Language
https://doc.rust-lang.org/book/
Other
15.26k stars 3.44k forks source link

Add missing semicolon in listing 19-15 and 19-16 #4079

Closed jasonodonnell closed 1 month ago

jasonodonnell commented 1 month ago

The code in 19.15 and 19.16 are correct and the compiler will not complain, however, every other arms println! have a semicolon but it is missing from the last one. Added it for consistency.