summary refs log tree commit diff
path: root/src/doc
AgeCommit message (Collapse)AuthorLines
2016-10-19Stabilise attributes on statements.Nick Cameron-2/+1
Note that attributes on expressions are still unstable and are behind the `stmt_expr_attributes` flag. cc [Tracking issue](https://github.com/rust-lang/rust/issues/15701)
2016-09-26Rollup merge of #36563 - vanjacosic:patch-1, r=steveklabnikJonathan Turner-5/+6
Docs: Update to "Getting Started" section I came across #34523 and wanted to suggest a solution. See commit for details. It seemed like a good place to start contributing, let me know if I did anything wrong 😇
2016-09-26Remove whitespace from line endingsVanja Cosic-4/+4
2016-09-25Auto merge of #36564 - vanjacosic:patch-2, r=GuillaumeGomezbors-2/+2
Docs: Update to "Ownership" section Found #34865 while looking for easy docs wins I could contribute with.
2016-09-18Updated "Ownership". Trying to fix #34865Vanja Cosic-2/+2
- Reword - Add link
2016-09-18Updated "Getting started". Trying to fix #34523Vanja Cosic-5/+6
- Updated paragraphs and wording for clarity. - Renamed `helloworld.rs` to `myprogram.rs` to make it clearer that it's an unrelated example.
2016-09-17Browsers do not consistently handle non-integer values for font-size.Eitan Adler-1/+1
2016-09-14Don't ignore a doc code-block we can compile.Corey Farwell-1/+1
2016-09-14Rollup merge of #36374 - dangcheng:patch-1, r=steveklabnikGuillaume Gomez-2/+2
book: fix mistake (File::open -> File::create)
2016-09-13Rollup merge of #36380 - kylog:fix-typo, r=steveklabnikGuillaume Gomez-1/+1
book: fix a typo
2016-09-12change error messagedangcheng-2/+2
2016-09-10book: fix a typoKylo Ginsberg-1/+1
2016-09-10Rollup merge of #36326 - JDemler:master, r=steveklabnikGuillaume Gomez-1/+1
Fixed typo in nomicon
2016-09-10fix mistake (File::open -> File::create)dangcheng-2/+2
2016-09-09Auto merge of #36332 - llogiq:static_consts_feature, r=nikomatsakisbors-0/+3
add static_in_const feature gate also updates tests and deletes the spurious .bk files I inadvertently added last time. r? @nikomatsakis
2016-09-09Issue deprecation warnings for safe accesses to extern staticsVadim Petrochenkov-1/+1
2016-09-08added feature description to referenceAndre Bogus-0/+3
2016-09-07Fixed typo in nomiconJakob Demler-1/+1
2016-09-04Remove mention of `unsafe_no_drop_flag` from Reference and NomiconAndrew Paseltiner-14/+0
2016-09-04Rollup merge of #36225 - johnthagen:fix-nightly-docs, r=steveklabnikManish Goregaokar-1/+1
Update nightly docs supported Windows versions to match Getting Started page https://doc.rust-lang.org/book/getting-started.html#tier-1 shows that Windows 7+ is officially supported (implying, for example Windows 10), but the nightly page only listed 7, 8, and Server 2008 R2).
2016-09-02Rollup merge of #35754 - QuietMisdreavus:must-use-reference, r=ManishearthJonathan Turner-0/+3
Add `must_use` to the Reference I'm a bit uncertain about the exact phrasing, but having it mentioned at all is probably better than before.
2016-09-02Update supported Windows versions to match Getting Started page.johnthagen-1/+1
2016-09-01Auto merge of #34494 - CensoredUsername:allow_sysV64_abi, r=nagisabors-0/+5
Allow specification of the system V AMD64 ABI constraint. This can be specified using `extern "sysV64" fn` on all platforms. This ABI is used as the C ABI on unix platforms, but can only be specified there using extern "C". It was impossible to specify on other platforms. Meanwhile the win64 ABI, which was the extern "C" ABI on the windows platform could be specified on other platforms using extern "win64". This pull request adds the the "sysV64" ABI constraint which exposes this calling convention on platforms where it is not the C ABI.
2016-08-30Add the sysv64 calling convention to the list of known calling conventions ↵CensoredUsername-0/+4
and add the feature(abi_sysv64) to the list of known features
2016-08-30Change ABI string from sysV64 to sysv64CensoredUsername-1/+1
2016-08-30Allow specification of the system V AMD64 ABI constraint.CensoredUsername-0/+1
This can be specified using `extern sysV64 fn` on all platforms
2016-08-30Rollup merge of #35962 - regexident:compiler-plugin-docs, r=steveklabnikGuillaume Gomez-3/+3
Updated code sample in chapter on syntax extensions. The affected API apparently had changed with commit d59accfb065843d12db9180a4f504664e3d23ef1. --- Further more I had to add ```toml [lib] name = "roman_numerals" crate-type = ["dylib"] ``` to `Cargo.toml` as I otherwise got this compiler error (despite `#![crate_type="dylib"]`): [E0457]: plugin `roman_numerals` only found in rlib format, but must be available in dylib format Might be worth adding a note about that?
2016-08-25Remove style guide.Steve Klabnik-2518/+0
We originally imported this into the repository with the intent of fixing it up. Instead, nothing happened. Its appearance on rust-lang.org makes it seem semi-official, but it's not. The rustfmt strike team will end up producing something like this anyway, and leaving it around does nothing but mislead people.
2016-08-24Rollup merge of #35948 - tshepang:missing-comma, r=steveklabnikJonathan Turner-2/+2
reference: add trailing commas
2016-08-24Updated code sample in chapter on syntax extensions.Vincent Esche-3/+3
The affected API apparently had changed with commit d59accfb065843d12db9180a4f504664e3d23ef1.
2016-08-23Rollup merge of #35913 - frewsxcv:panic, r=steveklabnikGuillaume Gomez-2/+2
Mark panicking tests as `should_panic` instead of `no_run`. None
2016-08-23reference: add trailing commasTshepang Lekhonkhobe-2/+2
2016-08-22Mark panicking tests as `should_panic` instead of `no_run`.Corey Farwell-2/+2
2016-08-22Correct failing book testPanashe M. Fundira-0/+6
2016-08-21Add reference to `Self` in traits chapter (book)Panashe M. Fundira-0/+22
2016-08-20Rollup merge of #35794 - cantino:fix-typo, r=apasel422Jonathan Turner-1/+1
Fix minor typo Minor typo in the book.
2016-08-20Rollup merge of #35781 - ErikUggeldahl:spellingfix, r=apasel422Jonathan Turner-2/+2
Very minor spelling fix in the book Changed datastructure to data structure. r? @steveklabnik
2016-08-18Fix minor typoAndrew Cantino-1/+1
2016-08-18Fix tiny spelling mistake in bookErik Uggeldahl-2/+2
Changed datastructure to data structure
2016-08-18Fix linksNick Cameron-4/+4
2016-08-17Add `must_use` to the ReferenceQuietMisdreavus-0/+3
2016-08-17Rollup merge of #35681 - Rufflewind:patch-1, r=apasel422Jonathan Turner-3/+3
Fix spacing in code of closures.md The spacing seems inconsistent with existing style conventions.
2016-08-17Rollup merge of #35663 - CryZe:no-stdlib, r=ManishearthJonathan Turner-12/+29
Improve `No stdlib` and related Documentation This renames all lang item function names to the ones used in `libstd` and `libpanic_unwind`. It also explains the `eh_unwind_resume` lang item in the `libcore` documentation, where it was missing. A third function is also needed on certain compilation targets, so this was also added to the `No stdlib` documentation.
2016-08-17Rollup merge of #35595 - urschrei:associated_types_docfix, r=steveklabnikJonathan Turner-1/+1
Clarify type declaration language in Associated Types docs A small fix for the Associated Types docs r? @steveklabnik
2016-08-17Rollup merge of #34370 - steveklabnik:keyword-ref-mention, r=ManishearthJonathan Turner-0/+5
A disclaimer about keywords. Some people cite this list as "zomg Rust has so many keywords," so make it clear that these aren't all used by the language today.
2016-08-15A disclaimer about keywords.Steve Klabnik-0/+5
Some people cite this list as "zomg Rust has so many keywords," so make it clear that these aren't all used by the language today.
2016-08-15Fix spacing in code of closures.mdPhil Ruffwind-3/+3
The spacing seems inconsistent with existing style conventions.
2016-08-14Rollup merge of #35647 - ahmedcharles:spelling, r=alexcrichtonEduard-Mihai Burtescu-1/+1
Ensure that attributes are spelled properly.
2016-08-14Improve `No stdlib` and related DocumentationChristopher Serr-12/+29
2016-08-13Ensure that attributes are spelled properly.Ahmed Charles-1/+1