YErii
fce7281061
Update ch01-02-hello-world.md
...
first paragraph starts with a new line
2020-06-27 16:38:44 +08:00
Carol (Nichols || Goulding)
4e7c00bece
Link to the reference file that exists
...
Thought I was going to be clever but linkcheck doesn't like it.
2020-06-19 09:39:12 -04:00
Carol (Nichols || Goulding)
9ebf3a03d8
Link to the reference
2020-06-19 08:34:25 -04:00
Carol (Nichols || Goulding)
77fa546b15
Merge pull request #2351 from rust-lang/steveklabnik-patch-3
...
Clean up discussion around advanced lifetime stuff
2020-06-19 08:28:15 -04:00
Dev380
41d9f4c9ae
Reword Chapter 6 page 2, match
...
Removed unnecessary coma for readability.
2020-06-14 20:27:16 +00:00
Steve Klabnik
833e66318f
Clarify some package/crate distinctions in chapter 14
...
Fixes #2287
2020-06-14 08:21:52 -05:00
Steve Klabnik
c15f1bca53
Merge pull request #2368 from alexxroche/patch-1
...
Not mandatory with cargo 1.41.0-nightly
2020-06-14 01:04:23 -05:00
Sadika Sumanapala
1f8e2ec392
Use same naming for Rhs as libcore/ops
...
Use same naming scheme as libcore/ops
2020-06-13 22:20:21 +05:30
Alexx Roche
090be67d31
Not mandatory with cargo 1.41.0-nightly
...
```bash
$ cargo run
Finished dev [unoptimized + debuginfo] target(s) in 0.02s
Running `target/debug/adder`
Hello, world! 10 plus one is 11!
```
2020-06-11 13:00:49 +02:00
Steve Klabnik
48b962532c
Merge pull request #2363 from rust-lang/gh1761
...
Tweak example in chapter 10
2020-06-07 08:35:33 -05:00
Steve Klabnik
43565d343b
Tweak example in chapter 10
...
We were cheating due to Copy, and that made this example awkward.
Returning a reference is probably better here anyway, and it makes
everything flow a bit nicer.
Fixes #1761
2020-06-07 08:01:34 -05:00
Steve Klabnik
82892bfe74
Mention that to_lowercase isn't perfect
...
FIxes #2148
2020-06-07 07:59:19 -05: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
201a57d9ca
Clean up discussion around advanced lifetime stuff
...
This stuff has been removed
Fixes #2211
2020-06-01 08:44:06 -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