Commit Graph

  • de7213a962 Move the function name note a bit later Carol (Nichols || Goulding) 2022-04-24 20:05:19 -04:00
  • 2609c8d610 Add an example of passing a function name to a Fn trait argument Carol (Nichols || Goulding) 2022-04-24 20:04:42 -04:00
  • 5e58b9cc3f Start of better Fn traits explanation Carol (Nichols || Goulding) 2022-04-22 21:03:52 -04:00
  • ce4da5ccbf Start of a new closure example Carol (Nichols || Goulding) 2022-04-05 20:50:33 -04:00
  • f2b9c19831 Add more weasel words around closure type annotation. Fixes #2837. Carol (Nichols || Goulding) 2022-04-04 19:53:56 -04:00
  • 4bfc9edbc4 Use impl Iterator instead of std::env::Args Carol (Nichols || Goulding) 2022-03-30 21:15:25 -04:00
  • 4284e16071 Propagate ch3 edits to src Carol (Nichols || Goulding) 2022-04-20 21:14:22 -04:00
  • f63a69e016 Updating chapter 3 to use new println style Carol (Nichols || Goulding) 2022-04-20 21:07:56 -04:00
  • 6815f64fc1 Specify loop label format. Fixes #3105. Carol (Nichols || Goulding) 2022-04-20 20:53:20 -04:00
  • 875f62c44a Clarify function definition must be in an accessible scope. Fixes #3003 Carol (Nichols || Goulding) 2022-04-20 20:37:37 -04:00
  • 1dfc9e94b9 Addressing tech review comments, propagating other changes Carol (Nichols || Goulding) 2022-04-20 08:56:19 -04:00
  • 08d3ebbc4e Comments from tech review Carol (Nichols || Goulding) 2022-04-13 09:13:22 -04:00
  • c2ee07d72f Chapter 3, section 2 - Add explicit type annotation to example of scalar type char. Nuno-Mota 2021-12-02 23:20:51 +01:00
  • de0dbffc58 Remove duplicate text Herbert Reiter 2022-04-15 13:06:04 +02:00
  • cf8bc8dbba Add missing punctuation mark in ch16-01 Tilman 2022-04-18 12:48:09 +02:00
  • f326ca0fc4 Update main.rs Aaron Reisman 2022-04-15 18:15:27 -07:00
  • 765318b844 Propagate nostarch edits to src Carol (Nichols || Goulding) 2022-04-12 20:17:45 -04:00
  • 5550c34f85 Propagate updated test example code to nostarch snapshot Carol (Nichols || Goulding) 2022-04-11 20:21:14 -04:00
  • 6eabc87f2a Edits to nostarch edits Carol (Nichols || Goulding) 2022-04-11 20:17:27 -04:00
  • ca8827eabe edits from nostarch Carol (Nichols || Goulding) 2022-04-11 16:50:14 -04:00
  • ea34019f7d Fix error message for the example code TenType 2022-04-06 15:46:03 -07:00
  • 0922daed18 Update ch10-03-lifetime-syntax.md Péter Kovács 2022-04-03 13:09:55 +02:00
  • 7de335a056 update ch13-02 to reflect changes in #2797 Max Niederman 2022-03-02 20:42:38 -08:00
  • cecf909561 Update to 1.59 Carol (Nichols || Goulding) 2022-03-29 20:30:42 -04:00
  • 4a8924fd5b Edits to chapter 2 after tech review Carol (Nichols || Goulding) 2022-03-29 17:50:04 -04:00
  • be4dfaa337 Fix #3102 - CH10.2 // 'use aggretaror::' instead of 'use chapter10::'. Guilloux Stephan (Ubuntu) 2022-03-30 09:31:01 +02:00
  • ea90bbaf53 Fix nostarch snapshot Carol (Nichols || Goulding) 2022-03-28 21:56:18 -04:00
  • 554aafc400 Snapshot of chapter 7 for nostarch Carol (Nichols || Goulding) 2022-03-28 21:26:44 -04:00
  • d683a3aa45 Add a forward reference to chapter 14, another example of pub use Carol (Nichols || Goulding) 2022-03-28 21:22:02 -04:00
  • 0d2ea762f0 Clarify pub use example. Fixes #2716. Carol (Nichols || Goulding) 2022-03-28 21:17:40 -04:00
  • 14a30331c5 Fancy quotes Carol (Nichols || Goulding) 2022-03-28 20:50:51 -04:00
  • 7c966bdf6b Fix incorrectly worded sentence. Fixes #3086. Carol (Nichols || Goulding) 2022-03-28 20:49:56 -04:00
  • 2b847dc5ea Reword description of how a listing came to be Carol (Nichols || Goulding) 2022-03-28 20:48:00 -04:00
  • 6977b7fdf1 Call out binary+library crate practices Carol (Nichols || Goulding) 2022-03-28 20:33:21 -04:00
  • 1966d0ca22 Define binary and library crates more explicitly Carol (Nichols || Goulding) 2022-03-28 20:32:41 -04:00
  • db3a9cfbda Clarify when a path is a crate name and when it should be literal crate Carol (Nichols || Goulding) 2022-03-28 19:44:33 -04:00
  • f549453cfb Make it clearer the outer mod doesn't move to the file Carol (Nichols || Goulding) 2022-03-26 21:25:31 -04:00
  • 59b9fbd778 Don't wrap this example in main when copying. Fixes #2930. Carol (Nichols || Goulding) 2022-03-26 21:13:32 -04:00
  • 9fcf4f7a55 Try to make clearer that mod is not an import Carol (Nichols || Goulding) 2022-03-26 21:09:01 -04:00
  • 597d00a91b Mention mod.rs file naming scheme Carol (Nichols || Goulding) 2022-03-26 20:59:07 -04:00
  • e2ab7a933d Explain why submodule subdirectories are needed more Carol (Nichols || Goulding) 2022-03-26 20:46:31 -04:00
  • 1321884718 Rename a separate example of serve_order to deliver_order Carol (Nichols || Goulding) 2022-03-25 15:59:04 -04:00
  • bd477bc886 Show an example that use only applies in its own scope Carol (Nichols || Goulding) 2022-03-24 21:10:06 -04:00
  • 1901760602 quick modules guide Carol (Nichols || Goulding) 2022-03-23 21:51:58 -04:00
  • f3d0dc7427 Tweak a snippet of ch18-03 Koichi ITO 2022-03-24 02:59:31 +09:00
  • 3fa81cda9f Propagating edits to chapter 10 back Carol (Nichols || Goulding) 2022-03-22 21:13:37 -04:00
  • 79c42ede54 Responses to nostarch questions of chapter 10 Carol (Nichols || Goulding) 2022-03-10 20:33:08 -05:00
  • b450438d70 Update src/ch04-01-what-is-ownership.md jcleira 2022-03-17 07:28:51 +01:00
  • f77e8c47bd Add Danish translation link. Connects to #3079. Carol (Nichols || Goulding) 2022-03-22 21:41:46 -04:00
  • 036e88a4f1 Fix some links and small wordings Carol (Nichols || Goulding) 2022-03-04 21:53:33 -05:00
  • 704f045e2a Snapshot of chapter 19 for nostarch Carol (Nichols || Goulding) 2022-03-04 21:24:35 -05:00
  • c81fa94d04 Clarify fully-qualified syntax explanation Carol (Nichols || Goulding) 2022-03-04 21:22:04 -05:00
  • 3f255ed40b Add a back reference about enum variant initializer fns. Fixes #800. Carol (Nichols || Goulding) 2022-02-27 21:26:12 -05:00
  • 49460caffa Update ch01-03-hello-cargo.md Martin Ceronio 2022-02-23 14:02:48 +02:00
  • d6ebf5be06 ch03-05: Add definite article for the block of code Michael Ho 2022-02-25 13:46:12 +01:00
  • 8ffabe0c79 Change variable names from "slice" to "values" Carol (Nichols || Goulding) 2022-02-21 20:21:18 -05:00
  • 022a046d78 Remove reference to advanced lifetime section that no longer exists Carol (Nichols || Goulding) 2022-02-21 20:11:08 -05:00
  • 081a2559dd Fix link to go to the right newtype section Carol (Nichols || Goulding) 2022-02-21 20:09:49 -05:00
  • 56e5fba937 Remove confusing and redundant part of a sentence about newtypes Carol (Nichols || Goulding) 2022-02-21 20:03:40 -05:00
  • a044beeb99 Make transition less repetitive Carol (Nichols || Goulding) 2022-02-21 20:01:02 -05:00
  • a55c883c8b Correct wording about associated functions. Carol (Nichols || Goulding) 2022-02-21 19:54:01 -05:00
  • 99c373e92c Remove unnecessary extern crate proc_macro Carol (Nichols || Goulding) 2022-02-21 19:47:18 -05:00
  • 190ca67473 Clarify that this code is defining, not using a procedural macro Carol (Nichols || Goulding) 2022-02-21 19:37:42 -05:00
  • 1d0cccf688 Add manual regeneration steps for cargo new test Carol (Nichols || Goulding) 2022-02-21 17:35:54 -05:00
  • 10c67b4410 Update Listing 11-1 to reflect current contents Alex Hawthorne 2022-02-19 22:50:17 -06:00
  • 67b768c0b6 Snapshot of ch18 for nostarch Carol (Nichols || Goulding) 2022-02-09 21:31:38 -05:00
  • e72de80f11 Remove mention of destructuring references as that's not covered currently Carol (Nichols || Goulding) 2022-02-09 21:28:53 -05:00
  • 8490ff280f Add note that exhaustiveness checking doesn't extend to match guards Carol (Nichols || Goulding) 2022-02-09 21:21:49 -05:00
  • 89f8e7b6e7 Change match guard example to actually be unexpressable with patterns alone Carol (Nichols || Goulding) 2022-02-09 21:21:09 -05:00
  • c8a9ac9cee Corrected listing number from 9-10 to 9-13 Damian Benecki 2022-02-03 23:27:34 +01:00
  • e7bfb353b1 Remove duplicate paragraph after No Starch related changes Herbert Reiter 2022-01-30 17:15:23 +01:00
  • 98904efaa4 Snapshot of chapter 17 for nostarch Carol (Nichols || Goulding) 2022-01-27 21:36:46 -05:00
  • 727ef100a5 Remove the section on object safety. Carol (Nichols || Goulding) 2022-01-27 21:34:34 -05:00
  • 8b98b7b7c1 Don't put a hyphen in 'object safe'. Fixes #2960. Carol (Nichols || Goulding) 2022-01-27 21:25:03 -05:00
  • 851449061b Clarify that add_text on Post will work in any state. Fixes #2159. Carol (Nichols || Goulding) 2022-01-27 21:19:38 -05:00
  • 9f9641b09d Fix incorrect descriptions of what the code is doing. Fixes #2745. Carol (Nichols || Goulding) 2022-01-27 21:12:29 -05:00
  • 75b9d4a8dc Fix link style and inclusion in print Carol (Nichols || Goulding) 2022-01-26 22:00:20 -05:00
  • d1752dffcf Snapshot of ch16 for nostarch Carol (Nichols || Goulding) 2022-01-26 21:44:28 -05:00
  • 6b9eae8ce9 Cut discussion of threading models Rust *doesn't* support. Carol (Nichols || Goulding) 2022-01-26 21:43:36 -05:00
  • a0960b111b Update a quote of compiler output Carol (Nichols || Goulding) 2022-01-26 21:33:59 -05:00
  • 72c6960684 Move transfers between threads, not shares. Fixes #2843. Carol (Nichols || Goulding) 2022-01-26 21:26:26 -05:00
  • 95b5e7c86d Ch20-02 Remove reference to a long-gone "trick" Jan Szopinski 2022-01-26 22:17:37 +00:00
  • 4491cee45a Clarify translations a bit Carol (Nichols || Goulding) 2022-01-26 21:07:07 -05:00
  • dd3c9d7222 Added a mention to the translations appendix booleancoercion 2022-01-23 12:53:04 +02:00
  • 0bac27c661 Fix listing number from 8-5 to 9-5 in ch09-02 Thomas Ramirez 2022-01-25 17:57:20 +01:00
  • 4cc38c8f66 Moving example into blockquote means it can't be extracted to a listing project Carol (Nichols || Goulding) 2022-01-21 22:10:04 -05:00
  • 3ace9fc3f0 Move a link to the end with all the other links Carol (Nichols || Goulding) 2022-01-21 22:03:15 -05:00
  • 199ca99926 Propagate edits back to ch 9 Carol (Nichols || Goulding) 2022-01-21 21:45:12 -05:00
  • 4669366937 Responding to edits in chapter 9 Carol (Nichols || Goulding) 2022-01-21 21:36:36 -05:00
  • a4efcd52c4 Update to 1.58 Carol (Nichols || Goulding) 2022-01-20 10:18:08 -05:00
  • c351a63184 Snapshot of chapter 15 for nostarch Carol (Nichols || Goulding) 2022-01-19 21:13:29 -05:00
  • 5bebc80f61 Change 'only difference' to 'main difference'. Fixes #1581. Carol (Nichols || Goulding) 2022-01-19 21:20:17 -05:00
  • 76b1d01c70 Add a back reference to tuple struct syntax. Fixes #1916 Carol (Nichols || Goulding) 2022-01-11 16:59:11 -05:00
  • 676c8cda87 Add a link to a section reference Carol (Nichols || Goulding) 2022-01-11 16:58:43 -05:00
  • 45fe0fc9af Remove an outdated example that says it won't compile but it does Carol (Nichols || Goulding) 2022-01-11 16:47:40 -05:00
  • f17df27fc1 Add a notice to the top of all nostarch snapshots Carol (Nichols || Goulding) 2022-01-18 17:40:27 -05:00
  • db403a8bdf Fix quotes Carol (Nichols || Goulding) 2022-01-11 16:27:49 -05:00
  • d68d96576b Grammar (minor): 'or' → 'and' for enum variants Jeroen Hoek 2022-01-09 11:55:38 +01:00
  • 1fd8900313 Propagate edits of chapter 8 to src Carol (Nichols || Goulding) 2022-01-11 15:31:40 -05:00
  • ee3ca10416 Replies to nostarch edits Carol (Nichols || Goulding) 2022-01-11 15:14:08 -05:00