Manish Goregaokar
a0019989fe
Rollup merge of #22324 - Manishearth:patch-1, r=steveklabnik
...
(fixes #22317 )
rollupable
2015-02-15 18:42:45 +05:30
Manish Goregaokar
6ce265ede7
Rollup merge of #22308 - steveklabnik:gh19278, r=brson
...
Fixes #19278
2015-02-15 18:42:45 +05:30
Manish Goregaokar
cb0900193b
Rollup merge of #22307 - steveklabnik:gh14849, r=huonw
...
Fixes #14849
2015-02-15 18:42:45 +05:30
Manish Goregaokar
70647ec7c5
Rollup merge of #22305 - steveklabnik:gh20948, r=alexcrichton
...
Fixes #20948
2015-02-15 18:42:45 +05:30
Manish Goregaokar
0f66e314db
Rollup merge of #22295 - steveklabnik:gh9980, r=alexcrichton
...
Fixes #9980
2015-02-15 18:42:44 +05:30
Manish Goregaokar
1718e6b19e
Rollup merge of #22284 - steveklabnik:fix_another_lie, r=nikomatsakis
...
This isn't something we want to guarantee.
r? @nikomatsakis
2015-02-15 18:42:44 +05:30
Manish Goregaokar
1ee09f918d
Rollup merge of #22280 - Unode:patch-1, r=steveklabnik
2015-02-15 18:42:44 +05:30
Manish Goregaokar
2935d67e08
Rollup merge of #22277 - pnkfelix:reference-update-feature-gate-list, r=steveklabnik
...
Added all active features to the list in reference.md.
Added a second note about keeping the reference.md list up-to-date to the bottom of the list, since not everyone (including me) reads the big comment at the top of it. :)
Ensured that the feature gate list in reference.md is kept in alphabetical order.
2015-02-15 18:42:43 +05:30
Manish Goregaokar
f96fb8ecb8
Rollup merge of #22275 - steveklabnik:gh7538, r=huonw
...
We use them in some places, but never actually talk about the syntax.
2015-02-15 18:28:36 +05:30
Manish Goregaokar
ed9ffced22
Rollup merge of #22271 - steveklabnik:gh22035, r=nikomatsakis
...
Fixes #22035 . (mostly by making it irrelevant)
2015-02-15 18:27:33 +05:30
Manish Goregaokar
3fe2715053
Rollup merge of #22269 - steveklabnik:gh22136, r=alexcrichton
...
Fixes #22136
2015-02-15 18:27:14 +05:30
Manish Goregaokar
cff0b78ce7
Rollup merge of #22264 - fhahn:tiny-doc-fix2, r=Gankro
...
While having a look at the Rust book I found this tiny error. In my opinion this if should be all lowercase, because it follows a colon, but I am no native speaker, so I am probably wrong. Also it is a very tiny change, so feel free to include it in any bigger documentation patch.
2015-02-15 18:26:47 +05:30
Manish Goregaokar
f6fa27acd6
Rollup merge of #22263 - iKevinY:no-mailing-list, r=nikomatsakis
...
Removes the link to the rust-dev mailing list in the bug report submission page and also adds the address of the IRC server (`irc.mozilla.org`). Addresses #22249 .
2015-02-15 18:26:29 +05:30
Manish Goregaokar
d014548d5a
Rollup merge of #22248 - duaneedwards:patch-1, r=Gankro
2015-02-15 18:22:32 +05:30
Manish Goregaokar
b13fddda20
Rollup merge of #22132 - steveklabnik:gh16645, r=alexcrichton
...
Fixes #16645
Fixing this in any deeper way will require an RFC, so let's just document the current behavior.
2015-02-15 18:22:31 +05:30
Steve Klabnik
1a99315c51
Fix issue with generation
2015-02-14 20:50:08 -05:00
Manish Goregaokar
657081bc9c
Normalize range syntax used in concurrency.md
...
(fixes #22317 )
2015-02-14 16:28:18 +05:30
Steve Klabnik
6d2e3d4bc0
Note that Vec<T> is heap allocated.
...
Fixes #20948
2015-02-13 18:49:21 -05:00
Steve Klabnik
f64d91211f
Generate grammar.html and link to it from the reference.
...
Fixes #19278
2015-02-13 18:00:00 -05:00
Steve Klabnik
148d90be99
clarfiy reference with regards to the value of block expressions
...
Fixes #14849
2015-02-13 17:56:06 -05:00
Steve Klabnik
ece19bfc70
Enhance static mut example in FFI chapter.
...
Fixes #9980
2015-02-13 14:57:55 -05:00
Steve Klabnik
e478f660d8
Don't specify tuple layout.
...
This isn't something we want to guarantee.
2015-02-13 12:53:54 -05:00
Renato Alves
f48eda8dc9
Fix small copy-paste typo
2015-02-13 17:09:46 +00:00
Felix S. Klock II
a7d5c3f682
Added all active features to the list in reference.md.
...
Added a second note about keeping the reference.md list up-to-date to
the bottom of the list, since not everyone (including me) reads the
big comment at the top of it. :)
Ensured that the feature gate list in reference.md is kept in
alphabetical order.
2015-02-13 16:42:22 +01:00
Steve Klabnik
65eab6eb97
Add diverging functions to the book.
...
We use them in some places, but never actually talk about the syntax.
2015-02-13 10:05:33 -05:00
Steve Klabnik
58a7d58686
Re-word paragraph about enums and equality
...
Fixes #22035 .
2015-02-13 09:37:05 -05:00
Steve Klabnik
4b25d7528b
Remove outdated information about copy/move from the reference
...
Fixes #22136
2015-02-13 09:21:38 -05:00
Steve Klabnik
ce22f30b9e
Make note of doc duplication with reexports
...
Fixes #16645
2015-02-13 08:56:44 -05:00
Florian Hahn
f28a33359b
Make if after colon lowercase
2015-02-13 10:24:05 +01:00
Kevin Yap
c5dba7275a
Remove reference to mailing list
...
Also add address of IRC server. Addresses #22249 .
2015-02-13 00:01:34 -08:00
Duane Edwards
9c686dc54d
Correct typo for 'underyling'
2015-02-13 08:45:52 +10:00
Nick Sarten
830009543d
Updated usage of StrExt.parse() as per a recommendation by edwardw.
2015-02-12 20:48:09 +13:00
Nick Sarten
9e9b1d6085
Fixed one newly created instance of range(start, end).
2015-02-12 18:51:32 +13:00
Nick Sarten
5fa9222572
Updated documentation to use range notation syntax.
...
Replaced outdated use of the `range(start, end)` function where
approriate with `start..end`, and tweaked the examples to compile and run with the latest rust. I also fixed two periphery compile issues in reference.md which were occluding whether there were any new errors created by these changes, so I fixed them.
2015-02-12 18:51:31 +13:00
Felix S. Klock II
ff56e376f9
opt into box_patterns in the reference doc that uses them.
2015-02-11 11:47:14 +01:00
Alex Crichton
3161cb096f
rollup merge of #22130 : steveklabnik/gh20172
...
Fixes #20172
2015-02-10 08:43:12 -08:00
Alex Crichton
637a89bdf6
rollup merge of #22120 : lukesteensen/closures_guide
...
Based off https://github.com/rust-lang/rust/pull/21843 , it looks like the syntax in the Closures guide is outdated.
2015-02-10 08:43:03 -08:00
Alex Crichton
011b77b69c
rollup merge of #22106 : steveklabnik/doc_trait_objects
...
I started to write up some docs on this, and then realized I was just repeating http://huonw.github.io/blog/2015/01/peeking-inside-trait-objects/ but worse. @huonw previously said that we can use this content if we wanted, so I made some tweaks and integrated it into the book.
Fixes #21707
2015-02-10 08:42:51 -08:00
Alex Crichton
5ad52ca6b3
rollup merge of #22097 : cllns/fix-fallback-fonts
...
The fallback font for a serif font should also be serif, not sans serif.
2015-02-10 08:42:47 -08:00
Alex Crichton
7e378edb39
rollup merge of #22094 : alkor/cleanup-show-string
...
Rename several remaining `Show`s to Debug, `String`s to Display (mostly in comments and docs).
Update reference.md:
- derive() no longer supports Zero trait
- derive() now supports Copy trait
2015-02-10 08:42:45 -08:00
Alex Crichton
577c51cdc0
rollup merge of #22072 : geofft/doc-byte-string-literal
...
This was correct in the EBNF, but not in the prose (which seems to have
been copied-and-pasted from regular string literals).
2015-02-10 08:41:52 -08:00
Alex Crichton
91fc9f3f0e
rollup merge of #22049 : caspark/fix-link-to-rustdoc
...
No point sending people to a page which just says "this is now part of
the Rust book" (that page being http://doc.rust-lang.org/rustdoc.html ).
2015-02-10 08:41:43 -08:00
Alex Crichton
7fcc330ea3
rollup merge of #22007 : thiagooak/master
...
From #21829 clarify equivalency of tuples
2015-02-10 08:41:38 -08:00
Alex Crichton
6cf75ca05a
rollup merge of #21918 : ranma42/replace-be
...
Conflicts:
src/test/compile-fail/reserved-be.rs
src/test/compile-fail/reserved-become.rs
src/test/parse-fail/reserved-be.rs
2015-02-10 08:41:30 -08:00
Steve Klabnik
b42c559e9f
Remove bottom from the reference
...
Fixes #20172
2015-02-09 21:57:14 -05:00
Steve Klabnik
dbccd70a57
Add documentation on trait objects.
...
Largely taken from @huonw's
http://huonw.github.io/blog/2015/01/peeking-inside-trait-objects/
Fixes #21707
2015-02-09 21:38:49 -05:00
Luke Steensen
1163cef1c4
remove obsolete closure syntax from the guide
2015-02-09 15:32:21 -06:00
Keegan McAllister
93b642d974
Use a crate attribute to load plugins
...
#[plugin] #[no_link] extern crate bleh;
becomes a crate attribute
#![plugin(bleh)]
The feature gate is still required.
It's almost never correct to link a plugin into the resulting library /
executable, because it will bring all of libsyntax and librustc with it.
However if you really want this behavior, you can get it with a separate
`extern crate` item in addition to the `plugin` attribute.
Fixes #21043 .
Fixes #20769 .
[breaking-change]
2015-02-09 13:27:27 -08:00
Sean Collins
45f6672861
Make fallback font 'serif', rather than 'sans-serif' fonts
2015-02-09 15:07:47 -05:00
Alexander Korolkov
34afe5e193
Rename Show to Debug, String to Display
...
Update reference.md:
- derive() no longer supports Zero trait
- derive() now supports Copy trait
2015-02-08 20:00:30 +03:00