Commit Graph

3941 Commits

Author SHA1 Message Date
Steve Klabnik
bc09bf505a Merge pull request #2347 from damoasda/translation-german
Link German translation in appendix F
2020-06-05 10:46:52 -05:00
Steve Klabnik
b9db810417 Merge pull request #2332 from sl4m/ch15-02-deref-update
Updates wording on Box example
2020-06-05 10:46:32 -05:00
Steve Klabnik
f22a3e6750 Merge pull request #2324 from unional/unional-patch-1
fix: match 15-24 with 15-18
2020-06-05 10:45:37 -05:00
Steve Klabnik
de7f70f2b7 Merge pull request #2305 from rxlecky/reword-ch01-03-recap
Reword ch01-03 recap paragraph
2020-06-05 10:44:48 -05:00
Steve Klabnik
7763fcda28 Merge pull request #2358 from rust-lang/gh1598
Remove some confusing wording.
2020-06-05 10:43:03 -05:00
Steve Klabnik
69a02d47e9 Remove some confusing wording.
We already talked about &String and &str coercing to &str earlier in the
book, so let's refer to that rather than repeat stuff here, which ends
up being a bit confusing anyway.

Fixes #1598
2020-06-05 10:40:11 -05:00
Steve Klabnik
1f1658d3a7 Merge pull request #2357 from rust-lang/gh1785
Clarify some wording a bit
2020-06-05 10:36:39 -05:00
Steve Klabnik
fed1ab75e4 Clarify some wording a bit
It's not just that we add something to the end, it's also that we need
to hold onto the reference.

FIxes #1785
2020-06-05 10:33:15 -05:00
Steve Klabnik
5255ce8deb Merge pull request #2348 from ryan-willis/ch12-05-powershell-note
Update ch12-05 PowerShell note
2020-06-03 07:35:51 -05:00
Ryan Willis
855aabd099 Update ch12-05 PowerShell note 2020-06-02 17:04:02 -07:00
Steve Klabnik
8f0c9a25a0 Merge pull request #2352 from rust-lang/console-highlighting
text -> console
2020-06-02 08:40:26 -05:00
Steve Klabnik
d44317c312 text -> console
The "text" style is just plain text, but we were also using it for
command line examples. Turns out that highlight.js has a style for this,
called "console."

This commit updates all instances of using text for a command line
example to use console instead.

Fixes #1449
2020-06-02 08:33:02 -05:00
Steve Klabnik
1e7000e117 Merge pull request #2350 from rust-lang/steveklabnik-patch-2
Improve wording around drop
2020-06-01 08:44:11 -05:00
Steve Klabnik
73616cefbf Improve wording around drop
Technically box is still special so this is in the compiler, not in a Drop impl.

Fixes #2260
2020-06-01 08:41:22 -05:00
Steve Klabnik
e4018f2a69 Merge pull request #2349 from rust-lang/steveklabnik-patch-1
Make some statements about crates more correct
2020-06-01 08:17:02 -05:00
Steve Klabnik
939098de3d Make some statements about crates more correct
We were a little fast and loose here, but:

* a package is what you depend on in cargo.toml, this downloads and includes all of its crates
* you use crates, not packages

There were several instances where we tried to say "package" where it was technically a crate, I've cleaned those up here.

Fixes #2210
2020-06-01 08:06:25 -05:00
Herbert Reiter
c99e7cf683 Add link to German translation 2020-05-31 21:50:32 +02:00
Herbert Reiter
0ea16be605 Merge pull request #3 from rust-lang/master
Update fork
2020-05-25 21:47:45 +02:00
Steve Klabnik
e8a4714a9d code is 1024 now, not 512 nostarch-2020-05-25 2020-05-25 10:29:27 -05:00
Steve Klabnik
18437032e0 Clean up install a bit
Rustup has gotten better about explaining the shell behavior, so
including it doesn't make sense. This also

Fixes #2129

The bit about reading the script feels out of place to me, and we mostly
included it because people complainined about bash | sh, but I care more
about the text than I do about that these days.
2020-05-23 08:57:26 -05:00
Steve Klabnik
e2108334d4 We don't need build.sh anymore 2020-05-22 23:48:48 -05:00
Steve Klabnik
201e91019d Fix CI status in README
It's the name of the workflow, not the name of the file the workflow is
in. D'oh!
2020-05-22 23:41:05 -05:00
Steve Klabnik
284d172303 Merge pull request #2337 from rust-lang/port-to-actions
Port to github actions
2020-05-22 23:38:29 -05:00
Steve Klabnik
745643f06c Remove Travis.yml 2020-05-22 23:36:28 -05:00
Steve Klabnik
4a49a4b7d9 Port to GitHub Actions
Most of the Rust project has moved over to Actions, but we were still on
Travis. This sets up the needed Actions for us.
2020-05-22 23:36:19 -05:00
Steve Klabnik
df7b104359 operating system -> allocator
This is more technically correct.

Fixes #2218
2020-05-22 17:36:09 -05:00
skim
4684caca9d updates wording on Box example 2020-05-13 12:11:22 -07:00
Steve Klabnik
6247be15a7 Merge pull request #2321 from gokhanettin/fix-guessing-game-listing-explanation
Fix guessing game listing explanation
2020-05-03 10:55:09 -05:00
Steve Klabnik
cea955d73b Merge pull request #2325 from DavidLiedle/master
Update ch01-01-installation.md
2020-05-03 10:52:46 -05:00
David Liedle
e4a06dce6a Update ch01-01-installation.md
Changes `http` to `https` in the link to StackOverflow
2020-04-29 18:31:04 -06:00
Homa Wong
1de0dc4b30 fix: matching with 15-18 2020-04-28 19:25:06 -07:00
Homa Wong
ed626f9e8d fix: matching with 15-18 2020-04-28 19:23:31 -07:00
SeleckyErik
c22d403357 Reword ch01-03 recap paragraph
The original wording suggests that cargo check builds a project. The new
wording makes it clear what its actual functionality  is.
2020-04-27 10:14:51 +02:00
Herbert Reiter
b3b5bd0756 Merge pull request #2 from rust-lang/master
Update fork
2020-04-26 20:43:28 +02:00
Steve Klabnik
e37c0e84e2 Merge pull request #2318 from pie-flavor/patch-1
Mention short-circuiting in Appendix 02
2020-04-26 09:31:36 -05:00
Gökhan Karabulut
8b4b7974d5 Fix guessing game listing explanation
Due to running rustfmt on code listings, explanation and listing does
not match in guessing game chapter. Fix this mismatch.
2020-04-26 14:38:25 +03:00
Adam Spofford
37f458ff61 Clarify short-circuiting behavior 2020-04-22 14:04:51 -07:00
Steve Klabnik
f688ff20a4 Merge pull request #2246 from Adeleet/master
Increase HTTP buffer size and add 'Content-Length' header
2020-04-15 08:26:06 -05:00
Steve Klabnik
f5db319e0b Merge pull request #2301 from x448/patch-1
Update ch01-01-installation.md to require TLS 1.2
2020-04-13 08:06:03 -05:00
Montgomery Edwards⁴⁴⁸
297534d172 Add https, proto, and tlsv to dictionary.txt 2020-04-12 23:21:18 -05:00
Montgomery Edwards⁴⁴⁸
0302ba9566 Update ch01-01-installation.md to require TLS 1.2
Require tlsv1.2 when downloading rustup init script like this:

$ curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh

The new code snippet still fits on one line (tested with Source Code Pro font in Firefox).

Close #2300
2020-04-11 12:04:10 -05:00
Steve Klabnik
2ae087182f Merge pull request #2239 from apatniv/use_references
traits as parameters: Use references instead of moving the values
2020-04-06 10:54:21 -05:00
Steve Klabnik
34553b9ffe Fix a broken link 2020-03-31 19:32:49 -05:00
Steve Klabnik
7d501925fd Merge pull request #2285 from aDotInTheVoid/patch-1
Update go docs link
2020-03-31 17:27:24 -05:00
Steve Klabnik
0ed3844e88 Merge pull request #2283 from pomokhtari/master
Add the farsi translation repo link
2020-03-31 17:26:59 -05:00
Steve Klabnik
85817b29ac Merge pull request #2278 from filakhtov/ch06-02-fix
Add the missing word to the sentence (ch06-2)
2020-03-31 17:23:40 -05:00
Steve Klabnik
b76c30a754 Merge pull request #2276 from NejcZdovc/listing-3-19-output
Fixes hardcoded output
2020-03-31 17:23:12 -05:00
Steve Klabnik
312045ac2b Merge pull request #2272 from ehuss/linkcheck-script
Use rust-lang/rust linkchecker on CI.
2020-03-31 17:21:56 -05:00
Steve Klabnik
2a87cc0d0e Merge pull request #2271 from andyps/addUnionToKeywords
Add union to the list of keywords
2020-03-31 17:21:34 -05:00
Steve Klabnik
6d4d121fb9 Merge pull request #2256 from seishun/patch-3
Clarify the wording
2020-03-31 17:19:57 -05:00