about summary refs log tree commit diff
path: root/src/doc
AgeCommit message (Collapse)AuthorLines
2017-09-16stabilized iterator_for_each (closes #42986)Michal Budzynski-17/+0
updated clippy and rls as it uses the iterator_for_each
2017-09-16stabilized compiler_fences (fixes #41091)Michal Budzynski-106/+0
2017-09-15unstable book section for `fn_must_use`Zack M. Davis-0/+30
2017-09-15Auto merge of #43949 - GuillaumeGomez:compile_fail_stable, r=alexcrichtonbors-8/+33
Compile fail stable Since #30726, we never made the `compile_fail` flag nor the error code check stable. I think it's time to change this fact. r? @alexcrichton
2017-09-12Auto merge of #44413 - est31:move_man, r=nikomatsakisbors-0/+433
Move the man directory to a subdirectory There is no reason it should be in the top directory.
2017-09-08Move the man directory to a subdirectoryest31-0/+433
There is no reason it should be in the top directory.
2017-09-05remove tests for doc(masked)QuietMisdreavus-16/+0
2017-09-05update `doc_masked` docs and tracking issueQuietMisdreavus-2/+5
2017-09-05add feature gate doc_masked and testsQuietMisdreavus-0/+37
2017-09-05use - for unstable book filenamesJon Gjengset-0/+0
2017-09-05Add or_default to Entry APIsJon Gjengset-0/+13
2017-09-03Add precision for rustdoc block codesGuillaume Gomez-0/+13
2017-09-03Add compile_fail documentationGuillaume Gomez-8/+20
2017-09-01Fix unstable book exampleMatt Ickstadt-2/+4
2017-09-01Implement RFC 1925Matt Ickstadt-0/+21
2017-08-30Rollup merge of #44172 - mattico:patch-2, r=frewsxcvAlex Crichton-1/+1
Fix link in unstable book entry for Generators
2017-08-30Rollup merge of #44044 - mattico:string-splice-return, r=dtolnayAlex Crichton-2/+1
Remove Splice struct return value from String::splice The implementation is now almost identical to the one in the RFC. Fixes #44038 cc #32310
2017-08-29Fix link in unstable book entry for GeneratorsMatt Ickstadt-1/+1
2017-08-26Remove Splice struct return value from String::spliceMatt Ickstadt-2/+1
2017-08-17Merge remote-tracking branch 'origin/master' into genAlex Crichton-23/+0
2017-08-17Rollup merge of #43914 - steveklabnik:update-books, r=QuietMisdreavusCorey Farwell-0/+0
Update the books for next release
2017-08-16Update the books for next releasesteveklabnik-0/+0
2017-08-16Stabilize rvalue promotion to 'static.Eduard-Mihai Burtescu-23/+0
2017-08-16Merge remote-tracking branch 'origin/master' into genAlex Crichton-33/+111
2017-08-15Auto merge of #43500 - murarth:string-retain, r=alexcrichtonbors-0/+23
Add method `String::retain` Behaves like `Vec::retain`, accepting a predicate `FnMut(char) -> bool` and reducing the string to only characters for which the predicate returns `true`.
2017-08-15Auto merge of #43863 - steveklabnik:ship-the-rustdoc-book, r=frewsxcvbors-32/+4
Ship the rustdoc book Fixes #42322, as it's the last step. Blocked on https://github.com/rust-lang/rust/pull/43790, though they will not conflict. r? @rust-lang/docs
2017-08-14Add method `String::retain`Murarth-0/+23
Behaves like `Vec::retain`, accepting a predicate `FnMut(char) -> bool` and reducing the string to only characters for which the predicate returns `true`.
2017-08-14Merge remote-tracking branch 'origin/master' into genAlex Crichton-5/+458
2017-08-14Remove plugins chaptersteveklabnik-32/+2
we don't want to support plugins
2017-08-14Rollup merge of #43790 - steveklabnik:rustdoc-passes, r=QuietMisdreavusCorey Farwell-1/+84
Write the "passes" chapter of the rustdoc book cc #42322 r? @rust-lang/docs
2017-08-14Write the "passes" chapter of the rustdoc booksteveklabnik-1/+84
cc #42322
2017-08-14link to the rustdoc book from the main docssteveklabnik-0/+2
2017-08-13Auto merge of #43348 - kennytm:fix-24658-doc-every-platform, r=alexcrichtonbors-0/+42
Expose all OS-specific modules in libstd doc. 1. Uses the special `--cfg dox` configuration passed by rustbuild when running `rustdoc`. Changes the `#[cfg(platform)]` into `#[cfg(any(dox, platform))]` so that platform-specific API are visible to rustdoc. 2. Since platform-specific implementations often won't compile correctly on other platforms, `rustdoc` is changed to apply `everybody_loops` to the functions during documentation and doc-test harness. 3. Since platform-specific code are documented on all platforms now, it could confuse users who found a useful API but is non-portable. Also, their examples will be doc-tested, so must be excluded when not testing on the native platform. An undocumented attribute `#[doc(cfg(...))]` is introduced to serve the above purposed. Fixes #24658 (Does _not_ fully implement #1998).
2017-08-12Auto merge of #43812 - steveklabnik:rustdoc-doc-tests, r=QuietMisdreavusbors-1/+237
rustdoc doc tests This is mostly adapted from the book v1's chapter. cc https://github.com/rust-lang/rust/issues/42322 r? @rust-lang/docs
2017-08-11rustdoc doc testssteveklabnik-1/+237
2017-08-11address review feedbacksteveklabnik-4/+10
2017-08-10ignore more thingssteveklabnik-4/+4
2017-08-10review feedbacksteveklabnik-4/+12
2017-08-10doc doc(inline) and doc(no_inline)steveklabnik-1/+57
2017-08-10Document the doc attributesteveklabnik-4/+109
cc #42322
2017-08-10Implemented #[doc(cfg(...))].kennytm-0/+42
This attribute has two effects: 1. Items with this attribute and their children will have the "This is supported on **** only" message attached in the documentation. 2. The items' doc tests will be skipped if the configuration does not match.
2017-08-09Merge remote-tracking branch 'origin/master' into genAlex Crichton-0/+0
2017-08-05Bump 'src/doc/book' git submodule.Corey Farwell-0/+0
Primarily to pick up this change: https://github.com/rust-lang/book/pull/866 ...to move this PR forward: https://github.com/rust-lang/rust/pull/43641
2017-08-03Update nomiconSimon Sapin-0/+0
2017-07-28Update rename State in docsJohn Kåre Alsaker-11/+11
2017-07-28Remove support for `gen arg`Alex Crichton-9/+9
2017-07-28Tweak docsJohn Kåre Alsaker-8/+8
2017-07-28Touch up unstable docs for generatorsAlex Crichton-4/+11
2017-07-28Fix examplesJohn Kåre Alsaker-5/+8
2017-07-28Clarifying documentation for generatorAlex Crichton-4/+7