Carol (Nichols || Goulding)
f2a78f64b6
Change CamelCase to UpperCamelCase
...
Brings the terminology in line with the rest of the project, see
<https://github.com/rust-lang/rfcs/pull/2389 >.
Connects to #2194 .
2023-01-23 13:19:32 -05:00
Ethan Roseman
e7c688559e
Clarify *type* parameter names
2022-07-04 20:37:56 -04:00
Benjamin Ferrari
c2b950eb51
bugfix/typo-ch10-01 Fix typo in chapter ch10-01
2022-06-13 15:48:39 -04:00
Carol (Nichols || Goulding)
4aa96a3d20
Propagate ch10 edits to src
2022-06-01 21:35:13 -04:00
Herbert Reiter
de0dbffc58
Remove duplicate text
2022-04-18 19:29:45 -04:00
Carol (Nichols || Goulding)
3fa81cda9f
Propagating edits to chapter 10 back
2022-03-22 21:48:30 -04:00
Carol (Nichols || Goulding)
6a23b2c7ff
Further edits to #2895
2021-11-13 21:31:22 -05:00
Jack Clayton
748b4cd243
Clarify generic types in mixin
2021-11-13 21:29:11 -05:00
Carol (Nichols || Goulding)
8b09da0530
Clarify generics in method definitions and impls. Fixes #2679 .
2021-11-13 21:09:15 -05:00
dalrrard
76917f677d
Reverted changes made in 43565d3
and added a small explanation to ch10-00-generics.md
2020-09-20 00:23:08 -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
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
Carol (Nichols || Goulding)
5c71aac643
Extract code listings to separate files
2020-01-25 21:20:38 -05:00
Carol (Nichols || Goulding)
af34ac954a
Update error messages ( #1737 )
...
Update error messages
2019-09-15 13:21:01 -04:00
supbear
f617d58c1a
Change "different than" to "different from"
...
Change "different than" and similar phrases to use "from" instead.
2019-01-14 06:33:17 +02:00
Yuning Zhang
1cc979b771
Update error messages
2019-01-02 12:01:48 -05:00
Carol (Nichols || Goulding)
356d131f57
Update and extract Traits as Parameters section
2019-01-01 16:45:59 -05:00
Carol (Nichols || Goulding)
e2716d1a54
Merge remote-tracking branch 'origin/pr/1579'
2018-12-09 22:00:52 -05:00
Steve Klabnik
1fedfc4b96
move the book to the top level
2018-11-20 13:45:05 -05:00
steveklabnik
4f2dc56485
move most stuff into second-edition
2017-03-03 11:45:16 -05:00
Carol (Nichols || Goulding)
55d9e75ffe
Add span and class around filename
2017-02-20 10:44:51 -05:00
Carol (Nichols || Goulding)
5c53a7990b
mix -> mixup
2017-02-20 10:32:12 -05:00
Carol (Nichols || Goulding)
c16d1add67
Use a better example for methods with different generics
...
Thank you @ScottAbbey!!!
2017-02-19 10:50:30 -05:00
Carol (Nichols || Goulding)
30807f90fd
More tweaks
2017-02-17 14:42:51 -05:00
Carol (Nichols || Goulding)
172756e856
Move trait foreshadowing earlier
2017-02-16 14:50:50 -05:00
Carol (Nichols || Goulding)
a71d2e03fb
More spellings
2017-02-15 20:41:43 -05:00
Carol (Nichols || Goulding)
0ae5f80532
More edits
2017-02-15 19:20:24 -05:00
Carol (Nichols || Goulding)
f405db9c67
Edits to chapter 10
2017-02-13 23:02:32 -05:00
Carol (Nichols || Goulding)
c9fd8eb1da
More argument/parameter clarifications
2017-01-06 19:45:31 -05:00
Luc Street
77370c0736
Change 'argument' to 'parameter' in a few places
...
Source: http://stackoverflow.com/a/156787
- Make a couple consequent edits for clarity/phrasing
2017-01-02 12:48:21 -08:00
Scott Olson
12663fcbd4
Fix alignment in side-by-side code example.
2016-12-10 15:04:45 -08:00
Carol (Nichols || Goulding)
74d6fc999b
Add valid markup for code snippets/filenames/captions
...
So that we can style these nicer.
Also make all filenames in prose be italics, not code formatting.
Also fix some messed-up listing numbers.
2016-11-28 09:25:03 -05:00
Carol (Nichols || Goulding)
fbde6631aa
Change some lingering uses of bash syntax highlighting to text
2016-11-25 15:24:46 -05:00
Carol (Nichols || Goulding)
a28ffd668d
Swap some emphasis underscores for asterisks
2016-11-14 14:23:18 -05:00
Carol (Nichols || Goulding)
f341124f33
Add some filenames and fn mains for clarity
2016-11-14 14:20:35 -05:00
Carol (Nichols || Goulding)
e6e56ed7d4
Reword to not say concept
2016-11-14 12:47:01 -05:00
Carol (Nichols || Goulding)
aa269b9f61
Revisions prompted by comments from pornel
2016-11-12 14:36:43 -05:00
Carol (Nichols || Goulding)
5f298bab49
Revise traits, and a little bit in syntax to make names match
...
A bit of rearranging, a bit cut, changing names so everything isn't
called `print`
2016-11-11 16:42:34 -05:00
Carol (Nichols || Goulding)
a035990c05
Revisions to generics syntax, and a bit to the intro too
...
So i lied
2016-11-11 14:51:20 -05:00
Carol (Nichols || Goulding)
63a645dd45
Fixing analogy wording
2016-11-11 10:42:35 -05:00
Carol (Nichols || Goulding)
d8eebfcfe1
Be more precise about what's in the prelude
2016-11-11 10:40:31 -05:00
Carol (Nichols || Goulding)
5fa5071c01
Standardize heading formatting
...
- Bump subsections in a level
- Title case
- Code formatting
2016-11-10 22:26:10 -05:00
Carol (Nichols || Goulding)
3c884c88f7
Newline between code block and text
2016-11-10 22:19:07 -05:00
Carol (Nichols || Goulding)
7dc9bcbe80
Small wording edits
2016-11-10 22:02:57 -05:00
Steve Klabnik
479b254803
Start of generics chapter
2016-11-10 22:02:57 -05:00
Steve Klabnik
dfe2d91dbb
Break syntax out into its own chapter
...
we probably want a better title, idk
2016-11-10 22:02:57 -05:00