-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
flow_control/while.html is confusing #1175
Comments
peter-lyons-kehl
added a commit
to peter-lyons-kehl/rust-by-example
that referenced
this issue
Apr 19, 2019
marioidival
added a commit
that referenced
this issue
Apr 22, 2019
Manishearth
added a commit
to Manishearth/rust
that referenced
this issue
May 17, 2019
Update books ## nomicon 1 commits in fb29b147be4d9a1f8e24aba753a7e1de537abf61..c656171b749b7307f21371dd0d3278efee5573b8 2019-04-22 19:10:29 -0400 to 2019-04-25 15:31:26 -0400 - Lifetimes: Updates to incorporate NLL (rust-lang/nomicon#101) ## reference 5 commits in 2a2de9c..862b669 2019-04-22 10:25:52 -0700 to 2019-05-04 23:41:35 -0700 - Typo (rust-lang/reference#606) - Added missing ? to Generics from InherentImpl and TraitImpl (rust-lang/reference#604) - Add missing ( to ExternalFunctionItem (rust-lang/reference#603) - Remove unneeded | from AssignmentExpression (rust-lang/reference#601) - Remove unneeded ( from TypePathSegment (rust-lang/reference#602) ## book 6 commits in db919bc6bb9071566e9c4f05053672133eaac33e..29fe982990e43b9367be0ff47abc82fb2123fd03 2019-04-15 20:11:03 -0400 to 2019-05-15 17:48:40 -0400 - Ignore a non-compiling test listing and add code to fix a test listing - Remove nostarch snapshots I've checked in layout - Reword error messages to maybe not need to wrap lines in print - This example doesn't compile but wasn't marked as such - Update install instructions for VS 2019 (rust-lang/book#1923) - Switch IRC to Discord ## rust-by-example 9 commits in 1ff0f8e018838a710ebc0cc1a7bf74ebe73ad9f1..811c697b232c611ed754d279ed20643a0c4096f6 2019-04-15 08:15:32 -0300 to 2019-04-28 18:56:42 -0300 - Fix typo in dsl.md (rust-lang/rust-by-example#1187) - File read lines (rust-lang/rust-by-example#1186) - For rust-lang/rust-by-example#1184 closes rust-lang/rust-by-example#1184 (rust-lang/rust-by-example#1185) - Link to Reference for macro_rules designators (rust-lang/rust-by-example#1182) - Improve section Meta/Docs (rust-lang/rust-by-example#1183) - Small improvements to various files (rust-lang/rust-by-example#1173) - 19.2 Vectors Error in Code Example (rust-lang/rust-by-example#1178) - For rust-lang/rust-by-example#1175 (rust-lang/rust-by-example#1176) - For rust-lang/rust-by-example#1179 (rust-lang/rust-by-example#1180) ## rustc-guide 12 commits in 99e1b1d..3cb727b 2019-04-20 09:57:54 -0500 to 2019-05-07 09:53:32 -0500 - Fix typo, 'which' repeated twice - [canonicalization] fix result canonicalization example (rust-lang/rustc-dev-guide#304) - Rename to RUSTC_LOG - Added mention of universal ctags - Fix link in walkthrough - Remove IRC from discussion chats - Bring the updating LLVM guide up to date - use nightly rust for ci - Fixed broken chalk links - Add documentation for two-phase borrows - Explain new powers of the `treat-err-as-bug` flag - Update lowering-module test case ## edition-guide 3 commits in c413d42a207bd082f801ec0137c31b71e4bfed4c..581c6cccfaf995394ea9dcac362dc8e731c18558 2019-04-22 01:14:56 +0200 to 2019-05-06 12:47:44 -0700 - Fix typo in controlling-panics-with-std-panic.md (rust-lang/edition-guide#158) - Fix links for book editions. (rust-lang/edition-guide#149) - Update now that NLL is enabled in 2015. (rust-lang/edition-guide#157) ## embedded-book 3 commits in de3d55f521e657863df45260ebbca1b10527f662..9858872bd1b7dbba5ec27dc30d34eba00acd7ef9 2019-04-22 12:58:28 +0000 to 2019-05-02 18:56:54 +0000 - Update linux.md (rust-embedded/book#167) - Clarify list of available targets for installation (rust-embedded/book#165) - minor grammar fix (rust-embedded/book#188)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
Thank you for Rust By Example.
https://doc.rust-lang.org/stable/rust-by-example/flow_control/while.html reads "The while keyword can be used to loop until a condition is met." That is confusing - it sounds more like do...until() or until()...end loop from other languages.
Suggest changing to "The while keyword can be used to run a loop while a condition is true." (Based on https://doc.rust-lang.org/stable/book/ch03-05-control-flow.html#conditional-loops-with-while.)
The text was updated successfully, but these errors were encountered: