Commit Graph

3759 Commits

Author SHA1 Message Date
SuperSamus
05f8008f5d Update ch19-01-unsafe-rust.md 2020-01-30 12:06:14 +01:00
SuperSamus
0889e73d62 Update ch19-01-unsafe-rust.md
Fixes #2042.
2019-12-28 16:57:32 +01:00
Steve Klabnik
5c5cfd2e94 Merge pull request #2065 from emmericp/test-output-rust-1.39
document new --show-output option in ch 11-2 (Rust >= 1.39)
2019-12-16 09:27:21 -06:00
Steve Klabnik
67284d2d45 Merge pull request #2183 from Hofer-Julian/patch-1
Fix sentence in ch07
2019-12-15 11:32:56 -06:00
Julian Hofer
5bd82160c1 Fix sentence in ch07 2019-12-15 11:51:32 +01:00
Steve Klabnik
ef8bb56803 Merge pull request #2176 from ayeseeem/patch-1
Remove optional commas from match arms in ch18-03
2019-11-28 11:00:04 -06:00
Steve Klabnik
d9a6bebaa5 Merge pull request #2177 from xxyzz/master
Remove call_box() from ch20-03
2019-11-28 10:58:34 -06:00
xxyzz
9a5a1bfaec remove call_box() 2019-11-28 23:34:57 +08:00
ayeseeem
86f0ae4831 Remove optional commas from match arms in ch18-03
Removes a couple of optional commas from the match arms, for consistency within the examples, which in other arms do not have (optional) commas. Matches `rustfmt` behaviour.
2019-11-28 07:46:33 +00:00
Steve Klabnik
81ebaa2a3f Merge pull request #2138 from danbugs/master
small fix ch04-03 & code block typo ch07-02
2019-11-15 08:30:04 -08:00
Dan Chiarlone
34b089627c removed typo in code block from ch07-02 2019-11-14 10:06:25 -08:00
Steve Klabnik
ef072458f9 Merge pull request #1779 from vitorenesduarte/improved_compiler_output_16.3
Adapt content of Chapter 16.3 in order to be consistent with improved compiler message
2019-11-13 09:11:30 -08:00
Steve Klabnik
120e76a0cc Merge pull request #1906 from crlf0710/remove_fnbox
[Rust 1.35] Remove FnBox and use builtin impl FnOnce for Box<FnOnce()> instead.
2019-11-13 09:09:51 -08:00
Dan Chiarlone
9fcebe6e1b small fix ch04-03 line 161 'counting from 1' 2019-11-07 09:18:56 -08:00
Steve Klabnik
e79dd62aa6 Merge pull request #1957 from ayushmishra2005/master
No need for an iterator here to fetch values
2019-10-30 07:33:12 -05:00
Steve Klabnik
28fa3d15b0 Merge pull request #1999 from Zoybean/patch-4
Update Ch19.1 on slice splitting
2019-10-29 07:16:09 -05:00
Steve Klabnik
405ff3b496 Merge pull request #2022 from jsosthoff/master
fixed inconsistent terminology regarding enums
2019-10-28 06:44:34 -05:00
Steve Klabnik
57adb83f69 Merge pull request #2020 from UnHumbleBen/patch-1
Update ch15-03 code to match output.
2019-10-25 08:25:56 -05:00
Steve Klabnik
09d26dd741 Merge pull request #2040 from UnHumbleBen/patch-3
Fixes #2039
2019-10-24 07:32:01 -05:00
Steve Klabnik
67c5a6e9d9 Merge pull request #2049 from DieBauer/patch-1
Update ch15-03-drop.md
2019-10-24 07:30:04 -05:00
Steve Klabnik
6f8820db32 Merge pull request #2061 from tonytonyjan/patch-5
unit type value is also a value
2019-10-22 08:19:11 -05:00
簡煒航 (Jian Weihang)
24b3d87113 Update src/ch20-02-multithreaded.md
Co-Authored-By: Steve Klabnik <steve@steveklabnik.com>
2019-10-22 21:12:16 +08:00
Steve Klabnik
df86c4afc1 Merge pull request #2059 from akhi3030/master
Minor: remove an extraneous `.`
2019-10-22 07:54:37 -05:00
Steve Klabnik
22397a00dc Merge pull request #1992 from sebras/suggestions
Clarifications and consistent use of quotation marks
2019-10-15 18:09:27 -05:00
Sebastian Rasmussen
6598d3abac Avoid mixing up the words elements and array/items. 2019-10-15 15:54:15 +02:00
Sebastian Rasmussen
9fd678a9f2 Clarification. 2019-10-15 15:54:14 +02:00
Sebastian Rasmussen
94e6df28d9 Improve wording.
Especially the word "other" in this sentence is unclear, "other"
than what/which?
2019-10-15 15:22:46 +02:00
Sebastian Rasmussen
c427a67639 Clarify meaning. 2019-10-15 15:22:46 +02:00
Sebastian Rasmussen
27e741b227 Clarify that it is not the installer that contains the documentation. 2019-10-15 15:22:46 +02:00
Sebastian Rasmussen
f63a103270 Consistently use quotation marks around “Hello, world!”. 2019-10-15 15:22:46 +02:00
Steve Klabnik
9bb8b16196 Merge pull request #2092 from Aleru/master
Make a portion of text less ambiguous
2019-10-14 18:42:55 -05:00
Aleru
a5a5bf9d6e Update ch07-05-separating-modules-into-different-files.md 2019-10-14 12:56:15 -04:00
Carol (Nichols || Goulding)
e6d12af594 fix heading level (#2117)
fix heading level
2019-10-14 12:45:15 -04:00
Steve Klabnik
7b23a000fc Merge pull request #1951 from mlevesquedion/fix/duck-typing-typo
Add missing "of" before `"duck typing"`.
2019-10-14 08:24:33 -05:00
Steve Klabnik
b227d5e5aa Merge pull request #1991 from BooleanCat/no-debug-print
ch18-03: no need to debug print destructured int
2019-10-14 08:23:56 -05:00
Steve Klabnik
aa339f78da Merge pull request #2047 from UnHumbleBen/patch-5
Subtle fix to introduce ? on Option in Chapter 9.2
2019-10-14 08:17:25 -05:00
Steve Klabnik
34b403864a Merge pull request #1976 from L0uisc/10.2-wording
make wording clearer
2019-10-14 08:16:34 -05:00
Kai Zhang
70a82519e4 fix heading level 2019-10-14 02:46:03 +00:00
Carol (Nichols || Goulding)
6d3e768204 Update the version of rand we use
Chapter 7 was using a newer version but claimed to match ch2 and ch14.
2019-10-05 21:24:37 -04:00
Carol (Nichols || Goulding)
04806c80be Fix tidy error. (#2104)
Fix tidy error.
2019-10-01 20:20:22 -04:00
Eric Huss
cf633ee5b9 Fix tidy error.
Upstream tidy doesn't like the whitespace in `ci/build.sh` (no tabs,
too many newlines).
2019-10-01 08:48:26 -07:00
Carol (Nichols || Goulding)
d69b1058c6 Fancy quotes 2019-09-30 21:10:38 -04:00
Carol (Nichols || Goulding)
6290b930cd Commit autogenerated cargo content 2019-09-30 21:10:26 -04:00
Carol (Nichols || Goulding)
51c9ab3e5b Move all scripts into tools 2019-09-30 21:09:58 -04:00
Carol (Nichols || Goulding)
26565efc3f We can start lines with numbers without creating ordered lists 2019-09-30 20:57:31 -04:00
Carol (Nichols || Goulding)
627f2678d2 ci: validate that all used references are defined (#2032)
ci: validate that all used references are defined
2019-09-30 20:38:12 -04:00
Carol (Nichols || Goulding)
5b2740e64a Remove the check for unstable features
We don't use nightly Rust anymore, nor do we try to land docs for
features while they're still unstable, so this check is no longer
needed. The tests will just fail if we try to use a feature flag in code
listings.
2019-09-30 20:29:07 -04:00
Carol (Nichols || Goulding)
26f87b6aa9 Specify the rustc version we're using in a rust-toolchain file
This should be kept in sync with the version we test in .travis.yml.
2019-09-30 20:13:33 -04:00
Carol (Nichols || Goulding)
46022c1827 Merge remote-tracking branch 'origin/master' into ci-check-references 2019-09-30 20:06:31 -04:00
Carol (Nichols || Goulding)
5005a1df9f Fix broken link to Chapter 13-01 in Chapter 12-04 (#2025)
Fix broken link to Chapter 13-01 in Chapter 12-04
2019-09-29 20:51:56 -04:00