Commit Graph
1380 Commits
Author SHA1 Message Date
Martin Kröning 03411f7a0c Derive Macros: Update dependencies 2019-12-19 15:53:32 +01:00
Martin Kröning c4d64a818b Add exclamation mark: Improve consistency
In the rest of the chapter, this output is listed with exclamation mark.
2019-12-19 15:50:41 +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
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
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)andSteve Klabnik 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
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) d69b1058c6 Fancy quotes 2019-09-30 21:10:38 -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) 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
JensandSteve Klabnik 7882e2479f Update src/ch15-03-drop.md
Co-Authored-By: Steve Klabnik <steve@steveklabnik.com>
2019-09-23 09:57:55 +02:00
Carol (Nichols || Goulding) 636685fd35 Update version mentioned on the front page 2019-09-15 13:23:07 -04:00
Carol (Nichols || Goulding) af34ac954a Update error messages (#1737)
Update error messages
2019-09-15 13:21:01 -04:00
Steve Klabnik 277cded887 Merge pull request #2066 from mb64/more-specific-cargo-doc-link
Replace Cargo docs link with a more specific link
2019-09-15 11:50:29 -05:00
Steve Klabnik c8fa0a7283 Merge pull request #2064 from IceTDrinker/await_keyword
Added missing await reserved keyword
2019-09-15 11:50:06 -05:00
Steve Klabnik 72b2f9e0b8 Merge pull request #2046 from UnHumbleBen/patch-4
Added second missing dyn
2019-09-15 11:47:58 -05:00
Steve Klabnik 3268dd1075 Merge pull request #2038 from UnHumbleBen/patch-2
Removed unnecessary & in function call
2019-09-15 11:47:26 -05:00
Steve Klabnik c10efd239d Merge pull request #2031 from galkinvv/galkinvv-display-compile-error
Printing non-Display structs is a *compile* error
2019-09-15 11:46:37 -05:00
Steve Klabnik 4e5847c4df Merge pull request #1993 from JosephTLyons/Add-additional-bullet-point-for-unsafe
Added a bullet point to have list of things unsafe allows for match u…
2019-09-15 11:43:21 -05:00
Steve Klabnik 04b5cecf64 Merge pull request #1986 from RobbertH/patch-1
Rewrote a confusing sentence
2019-09-15 11:42:51 -05:00
Steve Klabnik c199e13cc7 Merge pull request #1977 from kevinmehall/patch-1
Replace deprecated `...` range syntax with `..=`
2019-09-15 11:42:26 -05:00