Manish Goregaokar
e8889c9404
Rollup merge of #23417 - padenot:patch-1, r=steveklabnik
...
This looks like the most logical target to give to this link, or at least what I would expect as someone that want to integrate with a native library.
r? @steveklabnik
2015-03-17 15:20:11 +05:30
Steve Klabnik
ac67729baf
Remove stdlib stuff from the Reference
...
Fixes #11794
2015-03-16 17:55:13 -04:00
Paul ADENOT
7dbcf08211
Fix 404 to crates.io's doc on integrating with a native toolchain
...
This looks like the most logical target to give to this link, or at least what I would expect as someone that want to integrate with a native library.
r? @steveklabnik
2015-03-16 19:56:14 +01:00
Nick Cameron
432011d143
Fallout in testing.
2015-03-16 11:03:54 +13:00
Tamir Duberstein
f5765793b6
Strip trailing whitespace
2015-03-15 11:25:43 -07:00
Tamir Duberstein
d51047ded0
Strip all leading/trailing newlines
2015-03-15 09:08:21 -07:00
Manish Goregaokar
d66d0b3ac2
Rollup merge of #23368 - EduardoBautista:fix-closures-chapter, r=steveklabnik
...
"body": null,
2015-03-15 10:23:45 +05:30
Manish Goregaokar
09e5a7a04e
Rollup merge of #23367 - EduardoBautista:fix-indentation-in-book, r=steveklabnik
...
It was using tabs.
2015-03-15 10:23:45 +05:30
Eduardo Bautista
7130c75e46
Concurrency is now in the "Concurrency" chapter
2015-03-14 14:05:59 -06:00
Eduardo Bautista
c8e4f61ad3
Fix indentation in the "Method Syntax" chapter
2015-03-14 13:27:44 -06:00
Ricardo Martins
cb02f366dc
Fix a typo in the documentation.
2015-03-14 12:42:12 +00:00
Jakub Bukaj
b3c58cffa4
Add the -s flag to the suggested rustup invocation
...
curl's progress meter would otherwise interfere with sudo's password prompt.
In addition, add the -f flag to make sure 4xx status codes are treated as errors.
2015-03-13 09:31:50 +01:00
Trent Nadeau
ccfc381044
Fixed several grammar errors and broke up very long line.
2015-03-12 17:00:35 -04:00
bors
206ee0e853
Auto merge of #23299 - mdinger:monospace_table, r=steveklabnik
...
The [literals table](http://doc.rust-lang.org/reference.html#characters-and-strings ) now looks ugly but compact. Add back the monospace text.
2015-03-12 13:47:20 +00:00
mdinger
fb0ee646e9
Add monospace font back to literals table
2015-03-12 00:37:47 -04:00
Manish Goregaokar
3d70c7042c
Rollup merge of #23295 - johnz133:patch-1, r=steveklabnik
...
Changed the docs to reflect that
2015-03-12 09:14:59 +05:30
Manish Goregaokar
85d836a2b2
Rollup merge of #23279 - steveklabnik:gh23244, r=alexcrichton
...
Fixes #23244
2015-03-12 09:14:51 +05:30
Manish Goregaokar
497f6b77c3
Rollup merge of #23234 - Ms2ger:doc-dynamic-dispatch, r=steveklabnik
2015-03-12 09:13:58 +05:30
John Zhang
e3b717c7ce
Cargo build now builds to /target/debug/, changed the docs to reflect that.
...
Deleted trailing space in hello-cargo.md
Added note about build --release in hello-cargo
thanks to steven klabnik for pointing it out for me
edited out redundant wording
2015-03-11 19:46:55 -07:00
Steve Klabnik
64ab111b53
Example -> Examples
...
This brings comments in line with https://github.com/rust-lang/rfcs/blob/master/text/0505-api-comment-conventions.md#using-markdown
2015-03-11 21:11:40 -04:00
Ms2ger
3ac89d372f
Rewrite the dynamic dispatch section to focus on usage rather than implementation.
2015-03-11 21:37:01 +01:00
Steve Klabnik
8934c9b560
Add note about local documentation installation
...
Fixes #23244
2015-03-11 13:45:55 -04:00
Manish Goregaokar
3e5f3b2350
Rollup merge of #23195 - steveklabnik:gh19808, r=alexcrichton
...
Fixes #19808
2015-03-10 14:59:46 +05:30
Manish Goregaokar
fa8c6d94d0
Rollup merge of #23185 - steveklabnik:gh20051, r=alexcrichton
...
Fixes #20051
2015-03-10 14:59:39 +05:30
bors
621ccf58c4
Auto merge of #23186 - steveklabnik:gh14686, r=alexcrichton
...
Fixes #14686
2015-03-10 03:03:17 +00:00
bors
b83b26bacb
Auto merge of #22561 - richo:as_slice-as_str, r=Manishearth
...
This may not be quite ready to go out, I fixed some docs but suspect I missed a bunch.
I also wound up fixing a bunch of redundant `[]` suffixes, but on closer inspection I don't believe that can land until after a snapshot.
2015-03-09 21:02:50 +00:00
Steve Klabnik
7a86bfc5df
Shrink table in the reference
...
Fixes #20051
2015-03-09 16:51:21 -04:00
Steve Klabnik
a60089903a
Add note about pre/post increment to the design FAQ.
...
Fixes #14686
2015-03-09 16:49:19 -04:00
Steve Klabnik
bc927a69b2
Explain super in the crates guide.
...
Fixes #19808
2015-03-09 16:48:05 -04:00
bors
777f5d9599
Auto merge of #23219 - Manishearth:rollup, r=Manishearth
2015-03-09 16:02:29 +00:00
Richo Healey
7981aa6ac9
doc: Fix extraneous as_slice()'s in docstrings
2015-03-09 07:54:19 -07:00
Manish Goregaokar
894cd3961a
Rollup merge of #23202 - shepmaster:intro-threads-not-concurrent, r=steveklabnik
...
If we end the `scoped` call with a semicolon, the `JoinGuard` will be
dropped and not returned from the `map`. The thread will start up and
we immediately block, making for a very expensive sequential loop.
2015-03-09 17:59:21 +05:30
Manish Goregaokar
094b6bc831
Rollup merge of #23187 - steveklabnik:gh17481, r=Manishearth
...
Fixes #17481
2015-03-09 17:59:21 +05:30
Manish Goregaokar
3797827460
Fix doctest (fixup #23188 )
2015-03-09 10:16:34 +05:30
Jake Goulding
b426a242e3
Make concurrent examples actually run concurrently
...
If we end the `scoped` call with a semicolon, the `JoinGuard` will be
dropped and not returned from the `map`. The thread will start up and
we immediately block, making for a very expensive sequential loop.
2015-03-08 16:12:07 -04:00
Jake Goulding
a6ebd26208
Update example that uses deprecated Thread::scoped
2015-03-08 16:12:07 -04:00
Manish Goregaokar
684cd77222
Rollup merge of #23182 - steveklabnik:gh22610, r=Manishearth
...
Fixes #22610
2015-03-09 00:35:38 +05:30
Manish Goregaokar
10960d3043
Rollup merge of #23188 - steveklabnik:gh18787, r=alexcrichton
...
Fixes #18787
2015-03-09 00:11:48 +05:30
Manish Goregaokar
b515b4e28a
Rollup merge of #23184 - steveklabnik:gh22553, r=alexcrichton
...
Fixes #22553
2015-03-09 00:10:06 +05:30
Manish Goregaokar
c7d5354567
Rollup merge of #23181 - steveklabnik:gh22637, r=alexcrichton
...
Fixes #22637
2015-03-09 00:09:56 +05:30
Manish Goregaokar
d1ac69ce72
Rollup merge of #23180 - steveklabnik:gh23052, r=alexcrichton
...
Fixes #23052
2015-03-09 00:08:03 +05:30
Manish Goregaokar
ea8434f7ee
Rollup merge of #23043 - steveklabnik:doc_default_method, r=nikomatsakis
2015-03-09 00:06:20 +05:30
Manish Goregaokar
1149b4d08d
Rollup merge of #22917 - randfur:master, r=steveklabnik
...
The docs currently define `array_expr`s as:
array_expr : '[' \"mut\" ? vec_elems? ']' ;
array_elems : [expr [',' expr]*] | [expr ',' \"..\" expr] ;
`vec_elems` is not defined anywhere else so it is probably a typo for `array_elems`.
2015-03-09 00:06:03 +05:30
Steve Klabnik
044b3bf2d7
Add examples of all three syntaxes in method syntax chapter of trpl
...
Fixes #18787
2015-03-08 10:49:13 -04:00
Steve Klabnik
1014b22b31
remove confusing language about casting types
...
Fixes #17481
2015-03-08 10:35:58 -04:00
Steve Klabnik
d65064da34
Move 'more strings' after ownership
...
Fixes #22553
2015-03-08 09:34:03 -04:00
Steve Klabnik
5b0acb5846
remove 'generally' to reduce confusion
...
Fixes #22610
2015-03-08 09:29:47 -04:00
Steve Klabnik
ce223a62f1
Mention deref coercions in the String guide.
...
Fixes #22637
2015-03-08 09:25:50 -04:00
Steve Klabnik
e56fcbcd99
Remove reference to NoSend in concurrency chapter of the book
...
Fixes #23052
2015-03-08 09:15:06 -04:00
Steve Klabnik
de44baac8b
Add default methods to trait documentation
2015-03-08 08:55:17 -04:00