about summary refs log tree commit diff
path: root/src/doc
AgeCommit message (Collapse)AuthorLines
2018-04-16Auto merge of #49956 - QuietMisdreavus:rustdoc-codegen, r=GuillaumeGomezbors-0/+25
rustdoc: port the -C option from rustc Blocked on https://github.com/rust-lang/rust/pull/49864. The included test won't work without those changes, so this PR includes those commits as well. When documenting items that require certain target features, it helps to be able to force those target features into existence. Rather than include a flag just to parse those features, i instead decided to port the `-C` flag from rustc in its entirety. It takes the same parameters, because it runs through the same parsing function. This has the added benefit of being able to control the codegen of doctests as well. One concern i have with the flag is that i set it to stable here. My rationale is that it is a direct port of functionality on rustc that is currently stable, used only in mechanisms that it is originally used for. If needed, i can set it back to be unstable.
2018-04-15add: note about copy from rust-forgecg-cnu-0/+4
2018-04-15fix: changed rust code to bash formattingcg-cnu-1/+1
2018-04-15refactor: fixed typos, text formatting suggested in the reviewcg-cnu-23/+26
2018-04-15refactor: Fixed all the lines exceeding more than 80 characterscg-cnu-17/+41
2018-04-15refactor: Change the name from debugging to compiler-debuggin.mdcg-cnu-1/+1
2018-04-15Add: Added the instructions for debugging from rust-forgecg-cnu-0/+297
2018-04-14Add definition of a fat pointer, double pointer, and wide pointerSamuel Wilson-1/+3
Definition referenced from Programming Rust by Jim Blandy & Jason Orendorff, published by O'Reilly. Page 214: References to Slices and Trait Objects. Double pointer and wide pointer both refer to fat pointer for detail.
2018-04-14Add definition of a fat pointerSamuel Wilson-0/+1
Definition referenced from Programming Rust by Jim Blandy & Jason Orendorff, published by O'Reilly. Page 214: References to Slices and Trait Objects.
2018-04-14Replace remaining uses of deprecated std::heap with std::allocMike Hommey-1/+1
2018-04-13add -C to the rustdoc bookQuietMisdreavus-0/+25
2018-04-12Rename alloc::Void to alloc::OpaqueSimon Sapin-3/+3
2018-04-12Use NonNull<Void> instead of *mut u8 in the Alloc traitMike Hommey-0/+1
Fixes #49608
2018-04-12Use the GlobalAlloc trait for #[global_allocator]Simon Sapin-4/+4
2018-04-12Auto merge of #49371 - scottmcm:catch-wrapping, r=nikomatsakisbors-4/+4
Add ok-wrapping to catch blocks, per RFC Updates the `catch{}` lowering to wrap the result in `Try::from_ok`. r? @nikomatsakis Fixes #41414 Fixes #43818
2018-04-12Auto merge of #48528 - bitshifter:repr_packed, r=eddybbors-0/+8
Implementation of `#[repr(packed(n))]` RFC 1399. Tracking issue https://github.com/rust-lang/rust/issues/33158.
2018-04-12Deprecate the std_unicode crateSimon Sapin-1/+1
2018-04-11Implementation of `#[repr(packed(n))]` RFC 1399.Cameron Hart-0/+8
2018-04-10Fix the unstable book to account for ok-wrappingScott McMurray-4/+4
2018-04-10talk about `only-X` in compiletestQuietMisdreavus-0/+2
2018-04-10add codegen options sectionsteveklabnik-0/+208
2018-04-09fix testssteveklabnik-27/+29
2018-04-09more lintssteveklabnik-46/+1035
2018-04-09document deny by default lintssteveklabnik-12/+237
2018-04-09add a lot of text about lintssteveklabnik-0/+824
2018-04-09add targets to TOCsteveklabnik-0/+6
2018-04-09write 'what is rustc'steveklabnik-0/+67
2018-04-09write headings for command line argumentssteveklabnik-2/+58
2018-04-09fix authorship in book.tomlsteveklabnik-1/+1
2018-04-09Add a TOCsteveklabnik-3/+23
2018-04-09update doc index to link to the rustc booksteveklabnik-0/+4
2018-04-09initialize the rustc booksteveklabnik-0/+10
2018-04-06update nightly documention for issue#100-bRajkumar Natarajan-6/+6
2018-04-06Fix unstable Rust code block issuevarkor-1/+1
2018-04-06Add mdbook test to Travisvarkor-0/+1
2018-04-06Fix spacingvarkor-5/+5
2018-04-06Replace txt with textvarkor-101/+101
2018-04-06Consolidate and fix code blocksvarkor-426/+584
2018-04-07Using X headings instead of 0.X #49739Pulkit Goyal-12/+12
2018-04-06Fixing the long lines in appendix-stupid-status#100Rajkumar Natarajan-16/+17
2018-04-06link directly to the compile-input functionNiko Matsakis-5/+6
2018-04-06Link to internal rustdocs#100Rajkumar Natarajan-22/+22
2018-04-05Rollup merge of #49628 - steveklabnik:learn-use-master, r=QuietMisdreavuskennytm-46/+63
Re-write the documentation index The docs team has decided that we're framing resources in three ways: "learning Rust," "using Rust," "mastering Rust." This is a more useful split than "beginner/intermediate/advanced." As we add more resources in the future, we expect "using Rust" to grow. "the bookshelf" as a concept is great, but isn't really organized along these lines. As such, this reorganizes the docs along these lines.
2018-04-03Re-write the documentation indexsteveklabnik-46/+63
The docs team has decided that we're framing resources in three ways: "learning Rust," "using Rust," "mastering Rust." This is a more useful split than "beginner/intermediate/advanced." As we add more resources in the future, we expect "using Rust" to grow. "the bookshelf" as a concept is great, but isn't really organized along these lines. As such, this reorganizes the docs along these lines.
2018-04-03Fix typo in rustdoc.mdPhilip Munksgaard-1/+1
2018-04-02Remove splice page from unstable book.Thayne McCombs-22/+0
2018-04-01Rollup merge of #49451 - QuietMisdreavus:epoch-doctests, r=GuillaumeGomezMark Simulacrum-0/+13
rustdoc: add an --edition flag to compile docs/doctests with a certain edition To correspond with the 2018 edition, this adds a (currently unstable) `--edition` flag to rustdoc that makes it compile crates and doctests with the given edition. Once this lands, Cargo should be updated to pass this flag when the edition configuration option is given.
2018-03-30Rollup merge of #49445 - GuillaumeGomez:light-theme, r=QuietMisdreavuskennytm-3/+3
Rename main theme into light theme r? @QuietMisdreavus
2018-03-29Update linksDan Robertson-1/+3
Add missing link and add link for UFCS.
2018-03-29Rename main theme into light themeGuillaume Gomez-3/+3