Commit Graph
3120 Commits
Author SHA1 Message Date
Steve Klabnik 1c890e4c7a Merge pull request #1473 from ulidtko/patch-1
Fix misplaced code around "`where` clauses for clearer code" ch10-02
2018-09-05 11:43:54 -04:00
Steve Klabnik 4a54efa489 Merge pull request #1480 from alexreg/raw-identifiers
Added subsection on raw identifiers to appendix on keywords.
2018-09-05 11:01:53 -04:00
Steve Klabnik 78f836e889 Merge pull request #1513 from dralley/add-dictionary
Add 'dictionary' as an alternate name example for HashMap
2018-09-05 10:49:34 -04:00
Steve Klabnik 37dd0a4623 Merge pull request #1511 from jeysal/master
Multithreaded web server: explain unexpected browser behavior
2018-09-05 10:49:14 -04:00
Steve Klabnik 3f584040b4 Merge pull request #1507 from slongfield/patch-1
Update error message in chapter 12-03
2018-09-05 10:48:52 -04:00
Steve Klabnik 2bfc6b428f Merge pull request #1506 from CrepeGoat/patch-1
Fixed typo: unmatched double quotes
2018-09-05 10:48:14 -04:00
Steve Klabnik 4b48b3addf Merge pull request #1482 from jianghong/ch09-03-patch
ch09-03/ch11-01: Update  type to be i32 in Guess struct code example
2018-09-05 10:43:26 -04:00
Steve Klabnik be54d05a11 Merge pull request #1479 from jiwonjoung/master
fixed typo
2018-09-05 10:42:15 -04:00
Steve Klabnik ecbe01b3ea Merge pull request #1476 from bzm3r/master
fixed unnecessary apostrophe in section 19-03
2018-09-05 10:40:52 -04:00
Steve Klabnik 315b938b78 Merge pull request #1471 from dguo/io-prelude
Fix an unused import warning in minigrep
2018-09-05 10:39:45 -04:00
Steve Klabnik ebab8f53b0 Merge pull request #1470 from dguo/patch-1
Fix a typo in ch12-02
2018-09-05 10:38:59 -04:00
Steve Klabnik 3bba8d17bf Merge pull request #1467 from yasushisakai/master
ch20-02-multithreaded.md listing 20-21: deleting 'dyn' for call_box
2018-09-05 10:38:24 -04:00
Steve Klabnik 223e0e47b5 Merge pull request #1465 from KWierso/literal_underscore
Update 2018-edition/src/ch03-01-variables-and-mutability.md to explain the underscore in '100_000'
2018-09-05 10:37:55 -04:00
Steve Klabnik 309eccb913 Merge pull request #1463 from kaibyao/patch-1
Added commas in chapter 15.2
2018-09-05 10:37:01 -04:00
Steve Klabnik 8f019aa15c Merge pull request #1457 from dan-f/trait-objects-runtime-clarification
Clarify first trait object definition; hint at vtable
2018-09-05 10:35:26 -04:00
Steve Klabnik 6e6449b12d Merge pull request #1439 from frozar/snippet_fix
[SNIPPET] Add some crate 'import' in the beginning of a snippet.
2018-09-05 10:34:34 -04:00
Daniel Alley 06d6b67128 Add 'dictionary' as an alternate name example for HashMap
Python, C#, Julia, and Erlang all use Dict/Dictionary as a name for
HashMap, which makes it common enough to warrant being
listed explicitly.
2018-09-01 22:16:02 -04:00
Tim Seckinger 1ec2585f7e explain unexpected browser behavior 2018-08-30 20:00:50 +02:00
Stephen 26b63ae6cb Update error message in chapter 12-03
Looks like the error message generated in chapter 12-02 was changed in 5baf2e8, but was not updated in chapter 12-03
2018-08-28 22:00:51 -07:00
Becker A 9d24d7d3c1 Fixed typo: unmatched double quotes 2018-08-28 09:40:07 -04:00
Carol (Nichols || Goulding) 16c9dee766 Merge pull request #1492 from RalfJung/from_raw_parts
fix UB in from_raw_parts_mut example
2018-08-22 15:15:52 -04:00
Ralf Jung bad49e7d78 add type ascription for good measure 2018-08-19 18:13:24 +02:00
Ralf Jung 7fcf50e414 update README to match issue template 2018-08-19 18:13:24 +02:00
Ralf Jung 8efea99653 fix the same UB in the 2nd edition 2018-08-19 18:13:24 +02:00
Ralf Jung f58168f95e fix UB in from_raw_parts_mut example 2018-08-19 18:13:24 +02:00
Jackson Hong ccda732bdb Ch11-01: Update same code example to be i32 instead of u32 2018-08-13 19:51:24 -04:00
Jackson Hong d49c05e03f Update type to be i32 in Guess struct code example 2018-08-12 19:59:10 -04:00
Alexander Regueiro 25680019b2 Added subsection on raw identifiers to appendix on keywords. 2018-08-09 23:09:40 +01:00
Yuna Joung 6a848aab4c fixed typo 2018-08-08 20:11:00 -04:00
Brian Merchant 4a5d8df91b fixed unnecessary apostrophe in section 19-03 2018-08-06 17:13:47 -07:00
Maxim Ivanov 27015b02fa Fix misplaced code around "where clauses for clearer code" ch10-02 2018-08-06 00:48:17 +03:00
Danny Guo 6394029dc2 Fix an unused import warning in minigrep
Using the io prelude is no longer necessary, and the reference to the
`f` variable refers to an older version of the code.
2018-08-04 23:28:41 -04:00
Danny Guo f0337dd626 Fix a typo in ch12-02 2018-08-04 14:50:49 -04:00
Yasushi Sakai 31435f78ef ch20-02-mutlithreaded.md listing 20-21 deleting 'dyn' for call_box 2018-08-04 12:02:56 -04:00
Wes Kocher e6a6c0a2a5 Update 2018-edition/src/ch03-01-variables-and-mutability.md to explain '100_000' 2018-07-31 18:58:25 -07:00
Kai Yao 179e229613 Added commas in chapter 15.2
One of the sentences was rather long and took me multiple reads to understand.
2018-07-30 22:42:14 -05:00
frozar a4abe1a600 [SNIPPET] Add some crate 'import' in the beginning of a snippet. 2018-07-24 21:48:39 +02:00
Daniel Friedman ea6953c582 Clarify first trait object defn; hint at vtable
Briefly introduce the concept of the method table used for dynamic
dispatch in trait objects.
2018-07-23 13:41:59 -04:00
Steve Klabnik 88cdde350f Merge pull request #1456 from u32i64/master
Rename mod `test` to `tests` in chapters 12-04 and 12-05
2018-07-23 17:55:45 +02:00
Artem Varaksa 11e890675e Fix #1446: rename mod test to tests in chapters 12-04 and 12-05 2018-07-23 18:43:38 +03:00
Steve Klabnik 1390adb7df Merge pull request #1421 from brisad/two-lines-of-panic
Use correct count of number of panic lines
2018-07-23 16:11:47 +02:00
Steve Klabnik 20107982e1 Merge pull request #1450 from mssdvd/master
Fix two typos
2018-07-23 16:09:37 +02:00
Steve Klabnik f4badf130b Merge pull request #1442 from kraai/patch-4
Add missing period
2018-07-23 16:09:01 +02:00
Steve Klabnik 0d9b9638c2 Merge pull request #1441 from pakosmith/patch-1
Update mdbook to 0.1.7
2018-07-23 16:08:41 +02:00
Steve Klabnik 3918499cf6 Merge pull request #1437 from pieteromt/patch-1
Update ch17-01-what-is-oo.md
2018-07-23 16:08:21 +02:00
Steve Klabnik ef775f76c9 Merge pull request #1435 from rex4539/fix-typos
Fix typos
2018-07-23 16:06:27 +02:00
Steve Klabnik 3f1bea4408 Merge pull request #1432 from Lireer/patch-1
Redirect to the correct section of the second book
2018-07-23 16:05:31 +02:00
Steve Klabnik aecf4e694c Merge pull request #1424 from MateusAmin/master
Updated /index.md for Clarity
2018-07-23 16:05:03 +02:00
Steve Klabnik 49967c25c1 Merge pull request #1413 from EricR86/public-private-search
Remove public/private ambiguity from ch12 search function
2018-07-23 16:01:55 +02:00
Steve Klabnik 818719a00d Merge pull request #1404 from Turing-Chu/master
fix dot should out side of `Default`
2018-07-23 16:01:19 +02:00