Jason Orendorff
2e3f0d8451
add [T]::rsplit() and rsplit_mut() #41020
2017-04-04 13:40:26 -05:00
Amanieu d'Antras
7b89bd7cca
Add ptr::offset_to
2017-04-03 01:36:56 +01:00
Alex Crichton
34cf28826f
rustc: Stabilize the #![windows_subsystem] attribute
...
This commit stabilizes the `#![windows_subsystem]` attribute which is a
conservative exposure of the `/SUBSYSTEM` linker flag on Widnows platforms. This
is useful for creating applications as well as console programs.
Closes #37499
2017-04-01 06:36:48 -07:00
Corey Farwell
4af41b4789
Rollup merge of #40925 - DaseinPhaos:patch-5, r=steveklabnik
...
Add missing link in unstable-book
add link to specialization's tracking issue
2017-03-31 11:43:36 -04:00
Corey Farwell
eef2a9598b
Sync all unstable features with Unstable Book; add tidy lint.
...
Add a tidy lint that checks for...
* Unstable Book sections with no corresponding SUMMARY.md links
* unstable features that don't have Unstable Book sections
* Unstable Book sections that don't have corresponding unstable features
2017-03-31 11:40:44 -04:00
Luxko
8804a4a6d9
Add missing link in unstable-book
...
add link to specialization's tracking issue
2017-03-30 20:36:07 +08:00
Corey Farwell
be76eb43ff
Rollup merge of #40901 - MaloJaffre:fix-double-redirect, r=steveklabnik
...
Avoid linking to a moved page in rust.html
2017-03-29 16:53:32 -04:00
Malo Jaffré
4ef554206c
Avoid linking to a moved page in rust.html
2017-03-29 15:38:47 +02:00
Corey Farwell
96dd9a9d27
Rollup merge of #40786 - frewsxcv:unstable-book-remaining-features, r=steveklabnik
...
Add all unstable features to Unstable Book.
Add all unstable features to the Unstable Book, also remove a few that
either no longer exist or were promoted to stable.
These changes were extracted out of
https://github.com/rust-lang/rust/pull/40694
2017-03-29 08:57:04 -04:00
Corey Farwell
589e01fbfa
Add all unstable features to Unstable Book.
...
Add all unstable features to the Unstable Book, also remove a few that
either no longer exist or were promoted to stable.
These changes were extracted out of
https://github.com/rust-lang/rust/pull/40694
2017-03-29 00:11:02 -04:00
steveklabnik
434e601446
Update various book modules
...
This includes an important fix for rustc contributors in
https://github.com/rust-lang/book/pull/571
I'm going to update the other ones as well here while we're at it; no
need to spam PRs.
2017-03-27 17:41:58 -04:00
Corey Farwell
03d54a4f06
Rollup merge of #40740 - shepmaster:inclusive-range-unstable-doc, r=steveklabnik
...
Basic documentation for inclusive range syntax
Done so that we can remove mention of this from the stable documentation ⚠️ .
2017-03-25 09:30:30 -07:00
Corey Farwell
0e57709161
Rollup merge of #40732 - petrochenkov:booktidy, r=steveklabnik
...
Update the book submodule and fix tidy
When the book was included into https://github.com/rust-lang/rust as a submodule, tidy started failing on Windows.
https://github.com/rust-lang/book/pull/549 fixed the problem, now the submodule needs to be updated.
2017-03-22 19:30:35 -04:00
Jake Goulding
c5a9f1f3f6
Basic documentation for inclusive range syntax
2017-03-22 17:46:27 -04:00
Vadim Petrochenkov
9e772b0092
Update the book submodule and fix tidy
2017-03-22 11:51:03 +03:00
Stjepan Glavina
6acbbc66f7
Add docs for sort_unstable to unstable book
2017-03-21 23:45:27 +01:00
Corey Farwell
b6240e51ae
Rollup merge of #40685 - portal-chan:patch-1, r=eddyb
...
Add missing associated type Item to Iterator
2017-03-20 23:45:05 -04:00
Corey Farwell
17656ab328
Rollup merge of #40556 - cramertj:stabilize-pub-restricted, r=petrochenkov
...
Stabilize pub(restricted)
Fix https://github.com/rust-lang/rust/issues/32409
2017-03-20 23:44:59 -04:00
portal
1a00c8fe0f
Add missing associated type Item to Iterator
2017-03-20 23:29:04 +02:00
steveklabnik
d1d9626e75
Fix up various links
...
The unstable book, libstd, libcore, and liballoc all needed some
adjustment.
2017-03-20 10:10:16 -04:00
steveklabnik
c0e7b16f61
Update book and reference submodules
...
Some links needed adjustment to support this new scheme.
2017-03-20 10:10:15 -04:00
steveklabnik
f17965da1e
Import submodule for the book.
...
It's all in the external repository now.
2017-03-20 10:10:15 -04:00
steveklabnik
e4628fb0db
Remove the existing book
...
We'll bring this back in with the next commit, as a submodule.
2017-03-20 10:10:14 -04:00
Corey Farwell
7b686ce4ca
Rollup merge of #40441 - tschottdorf:promotable-rfc, r=eddyb
...
Add feature gate for rvalue-static-promotion
Probably needs more tests (which ones?) and there may be other things that need to be done. Also not sure whether the version that introduces the flag is really `1.15.1`.
See https://github.com/rust-lang/rfcs/pull/1414 .
Updates #38865 .
2017-03-19 10:18:12 -04:00
Corey Farwell
3bec563958
Rollup merge of #40586 - steveklabnik:add-unstable-sort-to-unstable-book, r=frewsxcv
...
add sort_unstable to unstable book
cc #40585
2017-03-17 08:49:10 -04:00
Corey Farwell
f9236bdfcc
Rollup merge of #40496 - projektir:docs_number_headings, r=frewsxcv
...
Using X headings #39850
Fix for issue #39850 , the headings should now be 1, 2, and 3.
2017-03-17 08:48:58 -04:00
Corey Farwell
127c3ad362
Rollup merge of #40466 - projektir:outdated_docs_highlighting, r=steveklabnik
...
Remove doc about highlighting code in other languages #40301
This doesn't appear to be true any longer, so removing it to avoid confusion. See #40301
Thoughts:
- may be a good idea to remove "Let's discuss the details of these code blocks.", as there's not much being discussed at this point;
- does `text` still work?
r? @steveklabnik
2017-03-17 08:48:55 -04:00
Corey Farwell
dee6989b43
Rollup merge of #40457 - frewsxcv:frewsxcv-macos, r=steveklabnik
...
Update usages of 'OSX' (and other old names) to 'macOS'.
As of last year with version 'Sierra', the Mac operating system is now
called 'macOS'.
2017-03-17 08:48:52 -04:00
Corey Farwell
69717170a4
Rollup merge of #40456 - frewsxcv:frewsxcv-docs-function-parens, r=GuillaumeGomez
...
Remove function invokation parens from documentation links.
This was never established as a convention we should follow in the 'More
API Documentation Conventions' RFC:
https://github.com/rust-lang/rfcs/blob/master/text/1574-more-api-documentation-conventions.md
2017-03-17 08:48:51 -04:00
steveklabnik
3d01e1ada9
add sort_unstable to unstable book
...
cc #40585
2017-03-16 17:47:30 -04:00
Taylor Cramer
28626ca5b1
Stabilize pub(restricted)
2017-03-15 22:39:04 -07:00
Tobias Schottdorf
f06b04949f
Improve the documentation for rvalue_static_promotion
2017-03-14 11:06:50 -04:00
Tobias Schottdorf
b43c744318
Add feature toggle for rvalue-static-promotion RFC
...
See https://github.com/rust-lang/rfcs/pull/1414 .
Updates #38865 .
2017-03-14 11:06:50 -04:00
Corey Farwell
e7b0f2badf
Remove function invokation parens from documentation links.
...
This was never established as a convention we should follow in the 'More
API Documentation Conventions' RFC:
https://github.com/rust-lang/rfcs/blob/master/text/1574-more-api-documentation-conventions.md
2017-03-13 21:43:18 -04:00
Corey Farwell
d3ae2eb58e
Rust unstable book: basic desc and example for concat_idents.
2017-03-13 21:39:19 -04:00
Corey Farwell
e58e3d0bc0
Rust unstable book: basic desc and example for non_ascii_idents.
2017-03-13 21:38:46 -04:00
Corey Farwell
137c1e8121
Rust unstable book: basic desc and example for i128_type.
2017-03-13 21:38:44 -04:00
Corey Farwell
0dd03ffaf7
Rust unstable book: basic desc and example for const_indexing.
2017-03-13 21:38:24 -04:00
Corey Farwell
327e8e9196
Rust unstable book: basic desc and example for conservative_impl_trait.
2017-03-13 21:38:07 -04:00
Corey Farwell
e06c51553d
Rust unstable book: basic desc and example for const_fn.
2017-03-13 21:35:52 -04:00
projektir
11d3344562
Using X headings #39850
2017-03-13 19:13:26 -04:00
projektir
eb203d597f
Adjust wording #40301
2017-03-13 18:37:21 -04:00
projektir
064477391c
Remove doc about highlighting code in other languages #40301
2017-03-13 00:14:42 -04:00
Corey Farwell
97a1b6a055
Update usages of 'OSX' (and other old names) to 'macOS'.
...
As of last year with version 'Sierra', the Mac operating system is now
called 'macOS'.
2017-03-12 14:59:04 -04:00
Ariel Ben-Yehuda
7c18194498
Rollup merge of #40222 - steveklabnik:extract-nomicon, r=alexcrichton
...
Extract nomicon to its own repo
part of https://github.com/rust-lang/rust/issues/39588
same as https://github.com/rust-lang/rust/pull/40213 but for the nomicon
r? @alexcrichton
2017-03-08 20:53:50 +02:00
Ariel Ben-Yehuda
df9a721a55
Rollup merge of #40154 - steveklabnik:link-unstable-book, r=frewsxcv
...
add unstable book to the bookshelf
r? @frewsxcv @GuillaumeGomez
2017-03-08 20:53:48 +02:00
steveklabnik
4369aee657
import nomicon submodule
2017-03-04 10:41:00 -05:00
steveklabnik
5a644f417e
remove nomicon
2017-03-04 10:40:40 -05:00
steveklabnik
846f59f831
import reference submodule
2017-03-04 10:38:46 -05:00
steveklabnik
0f48db83ba
remove reference
2017-03-04 10:38:10 -05:00