Ralf Jung
57fa4af306
link to stdlib atomic docs
2020-06-05 20:31:56 +02:00
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
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
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
Ryan Willis
855aabd099
Update ch12-05 PowerShell note
2020-06-02 17:04:02 -07: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
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
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
Steve Klabnik
e8a4714a9d
code is 1024 now, not 512
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
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
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
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
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
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
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
Steve Klabnik
645396636d
Merge pull request #2255 from seishun/patch-2
...
Improve sentence flow
2020-03-31 17:19:35 -05:00
Steve Klabnik
da3648abd2
Merge pull request #2247 from seishun/patch-1
...
Add missing apostrophe
2020-03-31 17:17:48 -05:00
Steve Klabnik
72998b7747
Merge pull request #2245 from ehuss/update-profile-link
...
Update cargo profiles link.
2020-03-31 17:16:49 -05:00
Steve Klabnik
7a40898b7a
Merge pull request #2238 from Zexbe/chapter6tochapter18
...
Add note about chapter 18 in chapter 6
2020-03-31 17:16:21 -05:00
Eric Huss
d5584fb1ef
Fix broken front_of_house.rs test on nightly.
2020-03-22 06:37:18 -07:00
Nixon Enraght-Moony
6862cb99ab
Update go docs link
2020-03-11 14:09:06 +00:00
Pouria Mokhtari
76e4ef9dbe
Add the farsi translation repo link
2020-03-09 00:20:30 +03:30
Garry Filakhtov
a273b02e59
Add the missing word to the sentence
2020-03-02 15:56:17 +11:00
NejcZdovc
61fa2fa976
Fixes hardcoded output
...
Resolves https://github.com/rust-lang/book/issues/2275
2020-02-24 14:14:14 +01:00
Andrey Pashentsev
de7174e670
add union to keywords
2020-02-21 15:09:48 +02:00
Nikolai Vavilov
fe3aa480cd
Clarify the wording
...
"a type which didn’t implement the type which defines the method" doesn't make a lot of sense.
2020-02-13 12:34:44 +02:00
Nikolai Vavilov
5cb3aaee03
Improve sentence flow
...
Having the nouns share the same verb when they're being contrasted feels weird.
2020-02-12 15:30:00 +02:00
Eric Huss
908f1416bf
Fix nomicon links.
2020-02-11 11:09:35 -08:00
Nikolai Vavilov
449518e34c
Add missing apostrophe
2020-02-07 18:19:31 +02:00
Adeleet
a641809576
Increase HTTP buffer size and add 'Content-Length' header
2020-02-06 23:51:24 +01:00
Eric Huss
62180ea079
Update cargo profiles link.
2020-02-03 19:52:45 -08:00
Carol (Nichols || Goulding)
5258c2f3d1
Update to Rust 1.41.0 ( #2244 )
...
Update to Rust 1.41.0
2020-02-03 13:59:24 -05:00
Carol (Nichols || Goulding)
a2bd349f86
Update to Rust 1.41.0
2020-02-03 10:36:54 -05:00
apatniv
33838c7ec7
Use references instead of moving the values
2020-02-01 07:17:23 +05:30