Nick Cameron
ca08540a00
Fix fallout from coercion removal
2014-11-17 22:41:33 +13:00
Alfie John
9a5237d7ae
doc: extend a893397 to make whole document consistent
2014-11-17 05:15:24 +00:00
bors
245c7fbef5
auto merge of #18995 : alfie/rust/comment-docs, r=aturon
...
Start comment is a string literal while end comment is made up of two character literals. This change is to make them consistent.
2014-11-16 20:32:12 +00:00
Jakub Bukaj
c425ed2a8d
Update the reference
2014-11-16 14:23:15 +01:00
Jakub Bukaj
b22afe9ee7
rollup merge of #18990 : alfie/master
2014-11-16 10:22:43 +01:00
Jakub Bukaj
a9f9e80de5
rollup merge of #18989 : alex/fix-typos
2014-11-16 10:22:35 +01:00
Jakub Bukaj
4c30cb2564
rollup merge of #18976 : bjz/rfc369-numerics
2014-11-16 10:21:42 +01:00
Jakub Bukaj
ecf765d97b
rollup merge of #18933 : IanConnolly/doc-fake-rust
2014-11-16 10:19:22 +01:00
Alfie John
a8933973f9
doc: make end comment consistent with start comment
2014-11-16 04:12:43 +00:00
Brendan Zabarauskas
29bc9c632e
Move FromStr to core::str
2014-11-16 12:41:55 +11:00
Alfie John
c5232615b6
doc: small grammar fix
2014-11-15 23:17:36 +00:00
Alex Gaynor
e94cd40f7e
Fixed several typos
2014-11-15 15:00:47 -08:00
bors
7e43f419cb
auto merge of #18924 : cakebaker/rust/fix_list, r=steveklabnik
2014-11-15 13:22:24 +00:00
bors
bc0b6120c1
auto merge of #18901 : steveklabnik/rust/quickfix, r=alexcrichton
...
Small copy/paste error from the crates guide.
2014-11-15 07:12:27 +00:00
Dan Luu
0f11eb5479
Guide: add a pointer to play.rust-lang.org and explain how to run the code examples.
2014-11-14 22:16:25 -06:00
Ian Connolly
769d49a8b7
Don't use rust keyword for fake code
2014-11-13 19:52:08 +00:00
Daniel Hofstetter
e8056a452f
Reference: Fix list in Expressions section
2014-11-13 16:05:07 +01:00
Brendan Zabarauskas
e965ba85ca
Remove lots of numeric traits from the preludes
...
Num, NumCast, Unsigned, Float, Primitive and Int have been removed.
2014-11-13 03:46:03 +11:00
Steve Klabnik
607eb12ab7
Fix po4a.conf
2014-11-12 11:34:00 -05:00
Jeff Parsons
2df9a085bd
Rogue 'panic' -> 'fail' in guide.
...
Should refer to handling panicking tasks like any other computation
that may _fail_, not any other computation that may _panic_.
2014-11-10 21:20:11 +11:00
bors
efc9a441b9
auto merge of #18762 : mdinger/rust/str_coerce, r=steveklbanik
...
I had slight confusion when using this as a reference and was told it was imprecise. Most of the rewording was suggested by @huonw.
cc @steveklabnik
2014-11-09 17:06:45 +00:00
mdinger
c39e9f3437
Reword &str coercion into viewing
2014-11-08 00:46:11 -05:00
Carol Nichols
fc47dd9c0f
Prepend should be append in the 30 minute intro
...
The examples are about adding to the end of the array, not the
beginning.
2014-11-07 14:59:42 -05:00
Alex Crichton
3c81f33ada
rollup merge of #18708 : qwitwa/master
2014-11-06 13:53:26 -08:00
Alex Crichton
0047b84a00
rollup merge of #18696 : tshakah/patch-1
2014-11-06 13:53:26 -08:00
Alex Crichton
fcfd307493
rollup merge of #18373 : steveklabnik/gh18288
2014-11-06 13:30:10 -08:00
qwitwa
31ce92d910
14.3 - helpfully implied code sample is broken
...
As a new user, I spent a while confused when flycheck told me the code sample I'd typed in was invalid. I ended up figuring out some of what comes after the code sample more painfully by myself because there was no indication that it was broken in the text beforehand. This one line change makes it clear that the code following it is an experiment that may not work rather than something to assume just works.
2014-11-06 19:25:00 +00:00
tshakah
00ae767609
Update guide.md
...
Corrected singular/plural reference to enums
2014-11-06 15:19:00 +00:00
Steve Klabnik
d108613ba0
expand description of the link attribute
...
Fixes #18288
2014-11-06 10:13:29 -05:00
Niko Matsakis
63718792df
Update the guide examples and try not to leave user hanging as to what
...
this `&x` sigil is all about.
2014-11-05 11:29:15 -05:00
bors
ceeac26de8
auto merge of #18338 : chastell/rust/guide_pointer_fixes, r=alexcrichton
...
This removes some leftover line-numbering cruft from elided error examples and brings some minor clarifications.
I’m not super happy about the ‘we cannot have two mutable pointers that point to the same memory’ wording (to the best of my understanding we can’t even have one mutable and one immutable), but other attempts to word this were derailing the flow a bit too much.
2014-11-04 21:26:23 +00:00
bors
bb70ee56db
auto merge of #18528 : seanjensengrey/rust/doc-18498, r=brson
...
This addresses https://github.com/rust-lang/rust/issues/18498 by adding a prepopulated search box to do site search on `doc.rust-lang.org` using duckduckgo AND generating a search url against the rust documentation using the internal search facilities.
* https://duckduckgo.com/?q=type+Option+unwrap_or_else+site%3Adoc.rust-lang.org
* http://doc.rust-lang.org/core/?search=unwrap_or_else
2014-11-04 18:46:19 +00:00
Piotr Szotkowski
9be04d574a
Guide: drop line-number cruft from elided error examples
2014-11-04 19:39:12 +01:00
Piotr Szotkowski
c7182ba997
Guide: minor clarifications for the Pointers part
2014-11-04 19:39:12 +01:00
bors
1b2ad7831f
auto merge of #18497 : gamazeps/rust/enumsmatch, r=steveklabnik
...
Closes #18169
2014-11-04 16:16:28 +00:00
gamazeps
dc7c8da74b
Guide: explains the enum/match relationship
...
Closes #18169
2014-11-04 13:47:53 +01:00
Alex Crichton
1b363f08e1
rollup merge of #18572 : cakebaker/small_doc_changes
2014-11-03 15:56:00 -08:00
Alex Crichton
fff2b35a6e
rollup merge of #18355 : chastell/guide_iterators_macros_unsafe_fixes
2014-11-03 15:29:13 -08:00
Alex Crichton
59d47a3ca4
rollup merge of #18132 : P1start/more-help
2014-11-03 15:28:54 -08:00
Alex Crichton
b3f8b8f238
rollup merge of #18522 : jbcrail/rename-missing-doc-attribute
2014-11-03 08:31:46 -08:00
Alex Crichton
e5a8840033
rollup merge of #18519 : Gankro/collect-smash
2014-11-03 08:31:45 -08:00
Alex Crichton
67840513f4
rollup merge of #18509 : cakebaker/missing_ofs
2014-11-03 08:31:45 -08:00
Alex Crichton
048902db52
rollup merge of #18508 : cakebaker/fix_variable_name
2014-11-03 08:31:45 -08:00
Alex Crichton
82efef76c3
rollup merge of #18500 : adrientetar/fonts
2014-11-03 08:31:45 -08:00
Daniel Hofstetter
e9618ce701
Small doc fixes
2014-11-03 15:34:56 +01:00
Alexis Beingessner
112c8a966f
refactor libcollections as part of collection reform
...
* Moves multi-collection files into their own directory, and splits them into seperate files
* Changes exports so that each collection has its own module
* Adds underscores to public modules and filenames to match standard naming conventions
(that is, treemap::{TreeMap, TreeSet} => tree_map::TreeMap, tree_set::TreeSet)
* Renames PriorityQueue to BinaryHeap
* Renames SmallIntMap to VecMap
* Miscellanious fallout fixes
[breaking-change]
2014-11-02 18:58:11 -05:00
Sean Jensen-Grey
eca7ab508d
cleaned up ids, added direct rust doc search
...
Search functionality uses both duckduckgo for site wide doc search
and the rust specific documentation search @
http://doc.rust-lang.org/core/?search=unwrap_or_else
2014-11-02 08:06:32 -08:00
Sean Jensen-Grey
7fbcdc75a9
add populated search box to docs 404 page
...
reference https://github.com/rust-lang/rust/issues/18498
2014-11-01 20:43:02 -07:00
P1start
5bf9ef2122
Convert some notes to help messages
...
Closes #18126 .
2014-11-02 16:12:23 +13:00
Joseph Crail
835b92efb8
Replace deprecated missing_doc attribute.
2014-11-01 21:12:13 -04:00