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
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
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::thread::spawn)[https://doc.rust-lang.org/std/thread/fn.spawn.html ] for reference.
2021-04-27 01:39:21 +05:30
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
kangxiaoning
475807042f
correct the signature of the deref method
2021-03-21 21:33:10 +08:00
Carol (Nichols || Goulding)
3e4f4789d4
Merge pull request #2646 from gsserge/immutable
...
Clarify the immutability of a reference
2021-03-19 10:19:03 -04:00
Carol (Nichols || Goulding)
1d27ae30f9
Tweak wording around Windows representation of enter
2021-03-19 10:18:17 -04:00
Carol (Nichols || Goulding)
22b7e0f350
Merge pull request #2648 from wthlolbbq/patch-1
...
Ch. 02 note - Enter results in CRLF on Windows
2021-03-19 10:14:49 -04:00
Carol (Nichols || Goulding)
925c7ea178
Merge pull request #2649 from Kixunil/patch-1
...
Added an example of slicing result
2021-03-19 10:14:12 -04:00
Carol (Nichols || Goulding)
bf33eb6289
Fix word wrapping, mention dictionary.txt is also in the ci dir
2021-03-19 10:08:48 -04:00
Carol (Nichols || Goulding)
070c491138
Merge pull request #2652 from xrmx/patch-1
...
README: note that spellcheck.sh is in ci directory
2021-03-19 10:07:34 -04:00
Carol (Nichols || Goulding)
31c68554ac
Merge pull request #2655 from leonardus/master
...
Change someurl.com to example.org
2021-03-19 10:07:07 -04:00
leonardus
ec67fb5777
Change someurl.com to example.org
2021-03-18 14:35:45 -04:00
Riccardo Magliocchetti
e05db66dfd
README: note that spellcheck.sh is in ci directory
2021-03-17 08:59:39 +01:00
Martin Habovštiak
ca34e5965a
Added an example of slicing result
...
This should make it clearer how slicing works.
2021-03-15 18:19:39 +01:00
wthlolbbq
9b99745acc
Ch. 02 note - Enter results in CRLF on Windows
...
verify with https://doc.rust-lang.org/std/primitive.char.html#examples-6 and https://www.unicode.org/charts/PDF/U0000.pdf
2021-03-14 17:04:01 +01:00
Sergey Glushchenko
a7a6804a24
Clarify the immutability of a reference
2021-03-12 19:40:45 +01:00
Carol (Nichols || Goulding)
fc2f690fc1
Fix wrapping
2021-03-05 14:03:22 -05:00
Carol (Nichols || Goulding)
bcd40eb12d
Merge pull request #2633 from gthb/patch-1
...
fix: redundant double introduction of shadowing
2021-03-05 14:02:16 -05:00
Gunnlaugur Thor Briem
ce745d7615
fix: redundant double introduction of shadowing
2021-03-01 21:59:29 +00:00
Carol (Nichols || Goulding)
0f87daf683
Ohhh the should_panic was for mdbook test. Oops
...
`panics` is the ferris class, which was why ferris didn't show up on
these. The doc tests don't pass CLI args either, so these will panic
during tests, and we don't want to ignore them because we do want to
compile them.
This should fix the build 🤞
2021-03-01 08:54:04 -05:00
Carol (Nichols || Goulding)
69e592dcdd
Fix bad regex in the update rustc script and regenerate broken output
...
Fixes #2595
2021-02-28 21:34:07 -05:00
Carol (Nichols || Goulding)
1e9ee0217e
Clarify that we only mentioned unwrap_or_else, but haven't explained it
...
Fixes #2596 .
2021-02-28 20:47:02 -05:00
Carol (Nichols || Goulding)
ea290a5376
Add ferris to some listings that don't compile. Fixes #2598
2021-02-28 20:43:14 -05:00
Carol (Nichols || Goulding)
5bb407aa4a
Remove fancy quote from a code comment
...
This isn't always recognized as UTF-8 on all platforms after
copy-pasting.
Fixes #2606
Related to #2539 , #1307 , #1533
2021-02-28 20:33:09 -05:00
Carol (Nichols || Goulding)
2250f51091
Panic now points at our code, not stdlib slice code
...
Fixes #2550 .
2021-02-28 20:31:26 -05:00
Carol (Nichols || Goulding)
24e275d624
Disable playground on thread::sleep examples
...
The playground times out, and the point of these examples is seeing the
pause in between the printlns, which the playground doesn't do.
Fixes #2607 .
2021-02-28 20:12:42 -05:00
Carol (Nichols || Goulding)
f0dbd1c247
Disable playground button on listings in ch 12 that use CLI args
...
You can't pass CLI args to the playground, so it doesn't make sense to
run them in the browser. Also, these were marked as should_panic,
because if you *do* run them in the browser or without arguments, they
panic, but that's not the happy path we're writing, so "should" panic
isn't really correct.
Fixes #2370 .
2021-02-28 20:07:03 -05:00
Carol (Nichols || Goulding)
d710ea4add
Reword ambiguous sentence. Fixes #2317 .
2021-02-22 20:29:57 -05:00
Carol (Nichols || Goulding)
f207d4125b
Rename shoes_in_my_size to shoes_in_size to be a better example
...
Fixes #2262 .
2021-02-22 20:20:31 -05:00