about summary refs log tree commit diff
path: root/src
AgeCommit message (Collapse)AuthorLines
2015-01-10Merge pull request #20833 from nstoddard/masterbors-2/+2
Fix a couple wording issues in TRPL book Reviewed-by: Gankro
2015-01-10Merge pull request #20819 from GuillaumeGomez/masterbors-1/+1
Fixes typo Reviewed-by: alexcrichton
2015-01-10Merge pull request #20818 from rgs1/fix-guidebors-1/+1
Remove extra dangling period Reviewed-by: alexcrichton
2015-01-10Merge pull request #20817 from killercup/patch-2bors-5/+6
Update Conclusion of The Rust Programming Language Reviewed-by: steveklabnik
2015-01-10Merge pull request #20808 from Manishearth/span_fixbors-24/+8
Fix checking of command line expansion spans Reviewed-by: alexcrichton
2015-01-10Merge pull request #20771 from Kimundi/vec-macro-repeatbors-1/+22
Enabled the `vec![]` macro to use the `[a; b]` repeat syntax. Reviewed-by: alexcrichton
2015-01-10Feature-gate `<>` syntax used with `Fn`. Fixes #18875.Niko Matsakis-5/+41
2015-01-10auto merge of #20839 : alexcrichton/rust/missing-stability, r=aturonbors-0/+2
Both `Extend::extend` and `DoubleEndedIterator::next_back` were intended to be stable, but they mistakenly didn't have the `#[stable]` tag.
2015-01-10Fix `playpen.js` errors on `pre`s without IDsPascal Hertleif-0/+1
This adds an early return to skip code blocks without IDs. Fixes #20864.
2015-01-10auto merge of #20837 : huonw/rust/remove-unused-lifetime, r=nikomatsakisbors-6/+34
2015-01-10auto merge of #20794 : sfackler/rust/trailing-attrs, r=alexcrichtonbors-5/+49
Closes #20711
2015-01-09Mark _ as a word constituent to avoid highlighting parts of identifiers as ↵Sean Gillespie-0/+5
keywords
2015-01-10Should be `assert_eq!` not `assert_eq`Mike English-1/+1
2015-01-09Fix typo in documentation.Peter Schuller-2/+2
2015-01-10auto merge of #20802 : huonw/rust/book-css, r=steveklabnikbors-23/+69
There is likely to be new users with the alpha release, and there are a lot of documents on the internet (StackOverflow, reddit, blogs) that refer to these guides, so emitting a more helpful error than "404" is nice. Hence, I've temporarily reinstated stub documents for each of the old guides, referring to as relevant a part of the book as possible. Also, rustbook was silently ignoring some errors, which lead to an inconsistency with directory creation/file writing. This meant the CSS file was not being written if no `doc` directory existed in the users build dir (e.g. the buildbots). This should mean that the CSS will appear automatically in later builds.
2015-01-10auto merge of #20782 : iKevinY/rust/trpl-formatting, r=steveklabnikbors-139/+139
Here's my PR for the changes discussed in #19823. I decided to leave `_these_` types of italics the way there were because it differentiates the use of italics for emphasis from `*key term*` italics. Otherwise, bolded terms have been changed to italics, and single and double quotes have been changed appropriately, depending on their context (my judgement may not be the best, though). r? @steveklabnik (congratulations on #19897 being finalized and merged, by the way!)
2015-01-10auto merge of #20828 : alexcrichton/rust/issue-20823, r=brsonbors-1/+23
This will temporarily prevent warnings generated from expanding to code that the test harness itself uses. This solution will require tweaking around the beta cycle, but it will prevent spurious warnings for now. Closes #20823
2015-01-10core: rm unused lifetime.Huon Wilson-6/+34
2015-01-09std: Mark two missing functions as #[stable]Alex Crichton-0/+2
Both `Extend::extend` and `DoubleEndedIterator::next_back` were intended to be stable, but they mistakenly didn't have the `#[stable]` tag.
2015-01-09Fix a couple wording issues in trpl bookNathan Stoddard-2/+2
2015-01-09auto merge of #20776 : kmcallister/rust/macro-cleanup, r=alexcrichtonbors-183/+15
r? @alexcrichton. This passes tests for me.
2015-01-09syntax: Add #[allow(unstable)] to --test expansionAlex Crichton-1/+23
This will temporarily prevent warnings generated from expanding to code that the test harness itself uses. This solution will require tweaking around the beta cycle, but it will prevent spurious warnings for now. Closes #20823
2015-01-09auto merge of #20815 : brson/rust/installer, r=alexcrichtonbors-0/+0
2015-01-09documentation: Fix boxed closure left-over and add some words on why we use ↵Sebastian Gesemann-12/+14
a type parameter for closures.
2015-01-09Update advanced.mdGuillaume Gomez-1/+1
2015-01-09Update macro scope introKeegan McAllister-2/+6
2015-01-09Re-reduce libstd macro duplicationKeegan McAllister-181/+9
The libstd definitions move to libcore, which causes some minor updates there.
2015-01-09Remove extra dangling periodRaul Gutierrez S-1/+1
Signed-off-by: Raul Gutierrez S <rgs@itevenworks.net>
2015-01-09Update Conclusion of The Rust Programming LanguagePascal Hertleif-5/+6
This replaces a obsolete conclusion (based on the original, basic Guide) with links to further documentation sources.
2015-01-09Fix revert of rust-installerBrian Anderson-0/+0
2015-01-09Merge pull request #20800 from jroesch/add-regression-for-issue-20414bors-0/+27
Add test for issue #20414 Reviewed-by: alexcrichton
2015-01-09Merge pull request #20793 from ktossell/rustdoc-fixedvector-syntaxbors-1/+1
Make rustdoc use the `[_; N]` syntax instead of `[_, ..N]` Reviewed-by: sfackler
2015-01-09Merge pull request #20699 from vhbit/ios-archsbors-78/+589
Better iOS support Reviewed-by: alexcrichton
2015-01-09Treat `struct(T)` the same as `struct S { x: T }` WRT being immediate argsBjörn Steinbrink-4/+1
Currently we pass a `struct S(u64)` as an immediate value on i686, but a `struct S { x: u64 }` is passed indirectly. This seems pretty wrong, as they both have the same underlying LLVM type `{ i64 }`, no sense in treating them differently.
2015-01-09iOS: preliminary 64-bit archs supportValerii Hiora-9/+89
2015-01-09Updated compiler-rtValerii Hiora-0/+0
2015-01-09iOS: makefiles and runtime for new archsValerii Hiora-0/+252
2015-01-09iOS: cabi fixesValerii Hiora-19/+75
Changed alignment according to official Apple docs
2015-01-09iOS: fixed test buildValerii Hiora-8/+21
Now it is possible to run tests on a jailbroken device
2015-01-09iOS: updated targetsValerii Hiora-42/+152
- target_word_size -> target_pointer_width - added armv7 and armv7s targets - enabled building binaries so tests could be run on a jailbroken device
2015-01-09Fix checking of command line expansion spans (fixes #20747)Manish Goregaokar-2/+5
2015-01-10rustbook: use a relative @import path to ensure it works offline.Huon Wilson-1/+1
The URL previously caused the book to require an internet connection to get the full styling, this should mean no internet is required.
2015-01-09Revert "Ignore extra error from test for now"Manish Goregaokar-22/+3
This reverts commit 6342aa62efd1b3aa7e1bc8f834f317290b11c519.
2015-01-09auto merge of #20788 : Zoxc/rust/loader, r=huonwbors-2/+19
Fixes #19907
2015-01-09Handle errors properly in rustbook.Huon Wilson-22/+20
Silently ignoring errors is :( so lets not silently ignore them. huon is :) now.
2015-01-09Add stub deprecation files for each of the old guides.Huon Wilson-0/+48
There are hundreds of stackoverflow answers, reddit posts and blog articles that link to these documents, so it's a nicer user experience if they're not plain 404s. The intention is to let these hang around only for relatively short while. The alpha is likely to bring in many new users and they will be reading the documents mentioned above.
2015-01-08Add test for issue #20414Jared Roesch-0/+27
2015-01-08Forbid trailing attributes in impl blocksSteven Fackler-5/+49
Closes #20711
2015-01-09auto merge of #20786 : brson/rust/rustdocwarnings, r=huonwbors-1/+0
Because we are warning about unstable APIs and there are many of these yet, this creates a high likelyhood doc tests will fail. This doesn't seem right as a blanket policy to me anyway, though certainly we want it in std. Probably more appropriate to add a rustdoc option.
2015-01-09Add append() and split_off() to DList.Tim Dumol-41/+161