Commit Graph

4214 Commits

Author SHA1 Message Date
Carol (Nichols || Goulding)
abc2ff3258 Make the link to the reference relative 2021-07-05 13:31:04 -04:00
Carol (Nichols || Goulding)
f710f8c7bc Merge remote-tracking branch 'origin/pr/2753' 2021-07-05 13:28:35 -04:00
Carol (Nichols || Goulding)
4ba90c1df8 Merge pull request #2750 from smasher164/patch-1
Reword number of library crates a package contains
2021-07-05 13:27:45 -04:00
Carol (Nichols || Goulding)
cfb2c3cce7 Clarify explanation of why you can test private functions; add link 2021-07-05 13:26:51 -04:00
Carol (Nichols || Goulding)
6d747785a6 Merge remote-tracking branch 'origin/pr/2743' 2021-07-05 13:19:20 -04:00
Carol (Nichols || Goulding)
05a580c326 Fix code hiding that I broke in eb60fedc9
Pointed out in https://github.com/rust-lang/book/pull/2741
2021-07-05 13:07:17 -04:00
Carol (Nichols || Goulding)
81d05c9a6d Link to the exact later section we're talking about 2021-07-05 11:11:18 -04:00
Taylor Yu
b413277520 improve cross-references for newtype pattern 2021-07-05 11:06:30 -04:00
Carol (Nichols || Goulding)
a04d5855a5 Merge pull request #2731 from Bernardozomer/issue2730-ch12.5-listing-12-20-add-missing-warning
ch12-05, listing 12-20: Add missing "does not compile" warning
2021-07-05 11:04:34 -04:00
Carol (Nichols || Goulding)
b1666c2844 cargo format 2021-07-04 13:43:21 -04:00
Carol (Nichols || Goulding)
ee7f225e2e Merge remote-tracking branch 'origin/pr/2724' 2021-07-04 13:36:45 -04:00
Carol (Nichols || Goulding)
219b9b6e97 Remove ordinal numbers and only refer to indexes to avoid confusion 2021-07-04 13:35:22 -04:00
Carol (Nichols || Goulding)
338042ceb9 Let's mention the former and current authors of tlborm. 2021-07-04 13:31:14 -04:00
Carol (Nichols || Goulding)
c4ba568304 Merge pull request #2722 from seanchen1991/main
Update tlborm link to point to Veykril's up-to-date version
2021-07-04 13:29:47 -04:00
Carol (Nichols || Goulding)
761398ff32 Merge remote-tracking branch 'origin/pr/2720' 2021-07-03 21:10:19 -04:00
Carol (Nichols || Goulding)
0ba3ca6874 Describe the ferris pictures in the alt text
When the Ferrises actually occur, they have title attributes that says
their meaning. I feel like in this spot, it's better to describe the
ferrises rather than repeat what the right hand column says.
2021-07-03 20:41:17 -04:00
Carol (Nichols || Goulding)
8d94ee9ad2 Merge remote-tracking branch 'origin/pr/2707' 2021-07-03 14:41:48 -04:00
Carol (Nichols || Goulding)
1a4e07ad8d Reword ... explanation to include the word deprecated, list that first 2021-07-03 14:20:29 -04:00
Carol (Nichols || Goulding)
1ec8817b20 Merge pull request #2714 from Canop/patch-1
Precise that the `...` inclusive range pattern has been replaces
2021-07-03 14:18:01 -04:00
Carol (Nichols || Goulding)
6f9feee64e Merge pull request #2696 from marekpetak/not-used-ref-confusion 2021-07-03 14:15:47 -04:00
Carol (Nichols || Goulding)
b05c6b8523 Merge pull request #2777 from smasher164/patch-2
fix typo: missing "type" after generic
2021-07-02 09:27:50 -04:00
Carol (Nichols || Goulding)
ea3d0a2332 Merge pull request #2709 from jayeshmann/patch-1 2021-07-01 22:08:45 -04:00
Carol (Nichols || Goulding)
b06edab6de Remove sentence about how Rust used to be 2021-07-01 22:06:03 -04:00
Carol (Nichols || Goulding)
da0ed7e87f Merge pull request #2692 from wpd/fix-a-static-confusion
Fix a potentially confusing statement about static lifetimes of static variables.
2021-07-01 22:03:18 -04:00
Carol (Nichols || Goulding)
310f3090da Merge pull request #2663 from jeannekamikaze/master
Replace 'which'.
2021-07-01 22:00:27 -04:00
Akhil Indurti
0618bd3ece fix typo: missing "type" after generic
"generic" isn't a noun. Did you mean "generic type"?
2021-07-01 20:36:46 -04:00
Ivor Wanders
9308f406fc Link to the object safety section in the reference
Makes it easier to find the reference's section on object safety,
this section contains clear examples of what methods are allowed
and what aren't.
2021-06-09 19:38:49 -04:00
Akhil Indurti
55c0582c4e Reword number of library crates a package contains
Previous wording is confusing because
1. "zero or one" and "no more" are redundant.
2. "must" and "zero or one" are contradictory. If one is not required, why is there a "must"?
2021-06-05 18:32:32 -04:00
Alex Kapranoff
4c510f3479 Comma 2021-05-29 12:16:56 -07:00
Alex Kapranoff
87cee4aba1 Reason why unit tests can test private functions
Clarify that it is possible for tests that are located in a child module.
2021-05-29 12:10:06 -07:00
bbz
bfe5349557 Add missing "does not compile" warning 2021-05-22 01:31:59 -03:00
Joël J. Présent
d9bf1c56f7 Use format strings for panic! calls of tools 2021-05-16 10:37:08 +02:00
Sean Chen
e8150ce98d Update tlborm link to point to Veykril's up-to-date version 2021-05-10 13:38:49 -05:00
Steve Klabnik
55a26488dd Merge pull request #2717 from helixbass/ch11-01-writing-tests-past-tense-led
Past-tensify "lead" -> "led"
2021-05-09 12:03:18 -05:00
Hannah Town
79b719d878 Update appendix-02-operators.md
The various range operators can be overloaded by using the `PartialOrd` trait.

I'm aware this edit conflicts with another pending pull request. I'll be happy to deconflict them if the other one merges first.
2021-05-08 14:19:15 -04:00
Carol (Nichols || Goulding)
f032cf9e7d Merge pull request #2718 from rust-lang/update-rustc 2021-05-06 22:32:15 -04:00
Carol (Nichols || Goulding)
1263e3fad3 Update to 1.52 2021-05-06 22:28:13 -04:00
Carol (Nichols || Goulding)
b31140b9fa Update to 1.51 2021-05-06 20:54:26 -04:00
Julian Rosse
9e4730d111 past-tensify "lead" -> "led" 2021-05-05 20:46:44 -04:00
Canop
f3533ea06a Precise that the ... inclusive range pattern has been replaces
It has been deprecated and the compiler suggests to replace it.

Having it without warning in the list is source of confusion. See https://stackoverflow.com/q/67370919/263525
2021-05-03 17:02:05 +02:00
Jayesh Mann
c2bc97eb61 Another block 2021-04-27 02:13:02 +05:30
Jayesh Mann
a6ab8f6362 Updated spawn implementation from documentation
Check (std:🧵:spawn)[https://doc.rust-lang.org/std/thread/fn.spawn.html] for reference.
2021-04-27 01:39:21 +05:30
Guillaume Gomez
f9716fd0f6 Add missing alt on images 2021-04-24 19:44:07 +02:00
Steve Klabnik
50dd06cb71 Merge pull request #2704 from shirshak55/patch-1
Update link in COPYRIGHT (http to https)
2021-04-23 13:21:54 -05:00
Shirshak
1fc25a4c42 Update COPYRIGHT 2021-04-22 14:45:45 +05:45
mattko
6d26493533 changed to 'will not be used'
This should make it clearer that the variables will not be used in the future, hence the rest of the code will work.
2021-04-19 15:00:00 +01:00
mattko
2ac6fdc8b1 Change the comment so its cleaner what author meant 2021-04-15 13:01:21 +01:00
Patrick Doyle
dcf2a8c577 Fix a potentially confusing statement about static lifetimes of static variables. 2021-04-09 15:04:30 -04:00
Steve Klabnik
b54090a99e Merge pull request #2658 from kangxiaoning/deref
correct the signature of the `deref` method
2021-03-24 11:21:46 -05:00
msunet
d4e9473dbc Replace 'which'. 2021-03-23 09:59:09 -07:00