Commit Graph
3968 Commits
Author SHA1 Message Date
LeafyLi 22fb3d0cba Improve wording to be more inclusive 2020-07-11 11:18:54 -04:00
Steve Klabnik 84a31397b3 Merge pull request #2389 from ChrisDenton/windowsbuildtools
Update Windows install instructions
2020-07-04 10:50:18 -05:00
Chris Denton bad683bb7d Update Windows install instructions
Updates the Visual Studio build tools link and adds a sentence about what needs to be selected during install.
2020-07-02 19:37:15 +01:00
Steve Klabnik bcf17fb23a Merge pull request #2386 from YEriin/patch-1
Update ch01-02-hello-world.md
2020-06-27 08:05:15 -05:00
YErii fce7281061 Update ch01-02-hello-world.md
first paragraph starts with a new line
2020-06-27 16:38:44 +08:00
Steve Klabnik c9d5db3e8b Merge pull request #2380 from EvanCarroll/master
bump mdbook version in github action
2020-06-24 00:31:33 -05:00
Evan Carroll 4222a2975b bump mdbook version in github action 2020-06-20 17:26:10 -05: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
Steve Klabnik 6a95859f6b Merge pull request #2374 from Dev380/master
Reword Chapter 6 page 2, match
2020-06-15 16:17:13 -05:00
Dev380 41d9f4c9ae Reword Chapter 6 page 2, match
Removed unnecessary coma for readability.
2020-06-14 20:27:16 +00:00
Steve Klabnik 84ee234a06 Merge pull request #2373 from rust-lang/gh2287
Clarify some package/crate distinctions in chapter 14
2020-06-14 08:24:20 -05: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
Steve Klabnik fd7e93cfd6 Merge pull request #2371 from sadika9/patch-1
Use same naming for Rhs as libcore/ops
2020-06-14 01:02:30 -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 30cd9dfe71 Merge pull request #2362 from ayushmishra2005/remove_unnecessary_long_type_name_#1869
Unnecessarily long type name in Ch 13
2020-06-07 23:07:19 -05: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 f20232b2f8 Merge pull request #2364 from rust-lang/gh2148
Mention that to_lowercase isn't perfect
2020-06-07 08:01:57 -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
Ayush Kumar Mishra 25389fe4aa Unnecessarily long type name in Ch 13 #1869 2020-06-07 18:20:41 +05:30
Carol (Nichols || Goulding) d899c0f200 Merge pull request #2360 from RalfJung/contrib
fix typo in CONTRIBUTING.md
2020-06-05 15:48:28 -04:00
Ralf Jung ef6d5b29a6 fix typo in CONTRIBUTING.md 2020-06-05 20:29:20 +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 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 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 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