cognitive-engineering-lab / rust-book

The Rust Programming Language: Experimental Edition
https://rust-book.cs.brown.edu
Other
592 stars 92 forks source link

Typo fix in ch03-05-control-flow-sec2-loops.toml #137

Closed andygolay closed 11 months ago

andygolay commented 11 months ago

Should be a comma rather than a semicolon, to separate array elements

willcrichton commented 11 months ago

The semicolon is intentional, as this is demonstrating how to use the element-repetition syntax.

andygolay commented 11 months ago

Oops, sorry.

On Sun, Nov 5, 2023 at 10:58 AM Will Crichton @.***> wrote:

The semicolon is intentional, as this is demonstrating how to use the element-repetition syntax.

— Reply to this email directly, view it on GitHub https://github.com/cognitive-engineering-lab/rust-book/pull/137#issuecomment-1793775763, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEGI266ZYMMJHXV4S3LQASDYC6SQZAVCNFSM6AAAAAA65TL3YOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJTG43TKNZWGM . You are receiving this because you authored the thread.Message ID: @.***>