Alex Crichton
7aa7707af9
rollup merge of #21040 : steveklabnik/gh20037
...
Fixes #20037 .
2015-01-15 14:11:37 -08:00
Alex Crichton
9d6e1f921b
rollup merge of #21038 : steveklabnik/gh20471
...
Fixes #20471 .
2015-01-15 14:11:36 -08:00
Alex Crichton
21effeb611
rollup merge of #21031 : steveklabnik/gh19067
...
Fixes #19067
2015-01-15 14:11:35 -08:00
Alex Crichton
8d0b937964
rollup merge of #21029 : steveklabnik/gh19924
...
Fixes #19924
2015-01-15 14:11:35 -08:00
Alex Crichton
b8751b8410
rollup merge of #21028 : steveklabnik/gh17368
...
Fixes #17368
2015-01-15 14:11:35 -08:00
Alex Crichton
cfbf313282
rollup merge of #21023 : steveklabnik/gh20840
...
Fixes #20840
2015-01-15 14:11:34 -08:00
Alex Crichton
6155ce53b6
rollup merge of #21020 : steveklabnik/gh20844
...
Thank you @bluss for the suggested implementation.
Fixes #20844
2015-01-15 14:11:34 -08:00
Alex Crichton
e06863ef64
rollup merge of #21015 : steveklabnik/gh20852
...
Fixes #20852
2015-01-15 14:11:33 -08:00
Alex Crichton
ff9ae8815b
rollup merge of #21014 : steveklabnik/gh20876
...
Fixes #20876
2015-01-15 14:11:33 -08:00
Alex Crichton
c6a9877039
rollup merge of #21013 : steveklabnik/gh20914
...
Fixes #20914
2015-01-15 14:11:33 -08:00
Alex Crichton
73660a11c9
rollup merge of #21011 : steveklabnik/gh20993
...
Fixes #20993
2015-01-15 14:11:32 -08:00
Alex Crichton
dbbe506c10
rollup merge of #21001 : camjackson/master
...
With the code samples as they are, the compiler says:
`feature has been added to Rust, directive not necessary`
2015-01-15 14:11:31 -08:00
Alex Crichton
c478c6ac91
rollup merge of #20988 : ciphergoth/task-to-thread
...
"Tasks" are no longer a thing in Rust; refer to threads instead. Work is still needed on [threads.md](threads.md).
2015-01-15 14:11:30 -08:00
Alex Crichton
37d20f256a
rollup merge of #20986 : alkor/doc-fixes
...
Corrections in TRPL macros guide
2015-01-15 14:11:29 -08:00
Alex Crichton
eb94c357d0
rollup merge of #20929 : laurilehmijoki/master
...
The sentence is easier to read once we move the word "again" away from the last position.
2015-01-15 14:11:28 -08:00
Alex Crichton
d3c5cf1b35
rollup merge of #20892 : CarVac/master
...
`uint` was recently deprecated, so in following the use of `i32` in the first parts, replace all copies of `uint` with `u32`.
2015-01-15 14:11:28 -08:00
Alex Crichton
855c3e5af5
rollup merge of #20632 : gchp/reference
...
I noticed that the `deriving` keyword is deprecated and that `derive` is the replacement. This updates the reference (and other docs) to remove the use `deriving`.
2015-01-15 14:11:27 -08:00
bors
0c96037ec1
auto merge of #20980 : richo/rust/final-power, r=alexcrichton
...
Originally, this was going to be discussed and revisted, however I've been working on this for months, and a rebase on top of master was about 1 flight's worth of work so I just went ahead and did it.
This gets you as far as being able to target powerpc with, eg:
LD_LIBRARY_PATH=./x86_64-unknown-linux-gnu/stage2/lib/ x86_64-unknown-linux-gnu/stage2/bin/rustc -C linker=powerpc-linux-gnu-gcc --target powerpc-unknown-linux-gnu hello.rs
Would really love to get this out before 1.0. r? @alexcrichton
2015-01-15 05:12:30 +00:00
Greg Chapple
4b14f67df3
Replace usage of deriving with derive in docs
2015-01-13 13:57:09 +00:00
Steve Klabnik
16a8c4d238
Don't use 'synonym' with regards to newtypes
...
Fixes #20037 .
2015-01-12 15:30:11 -05:00
Steve Klabnik
2297b0cb00
Elaborate on destructuring let
...
Fixes #20471 .
2015-01-12 15:28:09 -05:00
Steve Klabnik
e485d297ea
Improve example in the intro.
...
Thank you @bluss for the suggested implementation.
Fixes #20844
2015-01-12 15:14:17 -05:00
Steve Klabnik
b704983ee9
Improve the ownership guide a tad
...
Fixes #19924
2015-01-12 15:12:51 -05:00
Steve Klabnik
db7de969cf
Improve clarity of paragraph in the pointer guide
...
Fixes #19067
2015-01-12 13:57:09 -05:00
Steve Klabnik
425f449fda
Remove PDF link on 404 page
...
Fixes #17368
2015-01-12 13:16:07 -05:00
Lauri Lehmijoki
eabf208285
Ease parsing of an English sentence
2015-01-12 19:42:52 +02:00
Steve Klabnik
95f9e309f7
Clean up wording around uninitialized values.
...
Fixes #20840
2015-01-12 11:49:54 -05:00
Steve Klabnik
be407180d7
Link to sections in the book's README.md
...
Fixes #20852
2015-01-12 10:59:21 -05:00
Steve Klabnik
285277dd80
Clean up unary operators in the reference
...
Fixes #20876
2015-01-12 10:52:34 -05:00
Steve Klabnik
c403794310
Small fix in the book
...
Fixes #20914
2015-01-12 10:47:56 -05:00
Steve Klabnik
ba9e223c57
Small grammar fix in the book
...
Fixes #20993
2015-01-12 10:45:32 -05:00
Alexander Korolkov
a3d87fa448
Fix text in TRPL macros guide to match the example
...
Also, update description of macro invocation syntax:
after https://github.com/rust-lang/rust/pull/20563 there is
a number of additional limitations on macro syntax.
2015-01-12 17:39:18 +03:00
Cam Jackson
e1ff480e43
Remove usage and reference of feature(globs) from the book
2015-01-12 23:06:03 +11:00
Paul Crowley
8eba032f52
Purge references to Rust tasks from TRPL.
2015-01-12 09:15:33 +00:00
Richo Healey
194ed4f5a0
powerpc: Document the existance of powerpc
2015-01-11 21:14:30 -08:00
bors
0aec4db1c0
auto merge of #20889 : Manishearth/rust/trait-error, r=nikomatsakis
...
fixes #20783
r? @nikomatsakis
2015-01-12 04:45:18 +00:00
CarVac
9302dc5d9e
Replace uint with u32 in trpl/guessing-game.md
...
uint was recently deprecated, so in following the use of i32 at first,
replace all references to uint with u32.
Also change literals from e.g. 100u to 100, so that they are no longer
usize.
2015-01-11 21:00:42 -05:00
bors
8d88ac12c1
Merge pull request #20966 from Valloric/ownership-fix
...
Fixing integer usage in ownership doc
Reviewed-by: steveklabnik
2015-01-12 00:21:31 +00:00
bors
8c824c5b65
Merge pull request #20956 from angst7/docfixes1
...
replace deprecated uint references with u32 in trpl/looping.md
Reviewed-by: Gankro
2015-01-12 00:21:31 +00:00
bors
352c81bb4b
Merge pull request #20933 from gifnksm/patch-1
...
TRPL: `cargo build` doesn't run executables
Reviewed-by: alexcrichton
2015-01-12 00:21:30 +00:00
bors
f72c719b71
Merge pull request #20930 from charmeleon/master
...
Switching out range(0,10) example to 0..10. Tests fine
Reviewed-by: brson
2015-01-12 00:21:29 +00:00
bors
268e2bff97
Merge pull request #20926 from xnil/patch-1
...
Hepburn romanization of さようなら
Reviewed-by: huonw
2015-01-12 00:21:29 +00:00
bors
668325190d
Merge pull request #20902 from stevencrockett/master
...
reference: Small grammar fixes for correctness/consistency and updates for language changes.
Reviewed-by: steveklabnik
2015-01-12 00:21:26 +00:00
bors
10305fcfdc
Merge pull request #20898 from sebras/trpl
...
Cosmetic updates to TRPL text
Reviewed-by: steveklabnik
2015-01-12 00:21:25 +00:00
bors
50b0f5c550
Merge pull request #20895 from adregan/master
...
Updates fixed-size suffix in 30 minute introduction
Reviewed-by: steveklabnik
2015-01-12 00:21:25 +00:00
bors
654877c75f
Merge pull request #20883 from apreiml/master
...
Update 7.2.9 Array expressions
Reviewed-by: steveklabnik
2015-01-12 00:21:24 +00:00
bors
3e215200f6
Merge pull request #20877 from killercup/patch-4
...
Error Guide: Add Line Break to Robert Burns Quote
Reviewed-by: steveklabnik
2015-01-12 00:21:23 +00:00
bors
8e0bb03841
Merge pull request #20820 from sellibitze/closure-doc
...
Closure documentation: Fix boxed closure left-over
Reviewed-by: steveklabnik
2015-01-12 00:21:23 +00:00
Strahinja Val Markovic
d355da6e6f
Fixing integer usage in ownership doc
...
`int` doesn't exist anymore. Usage of its equivalent `isize` is
discouraged since its size is platform-dependent. `i32` is used instead
in the examples. Also, integer suffixes aren't needed in the examples
anymore so we can just write `5` instead of `5i`.
2015-01-11 12:42:03 -08:00
Manish Goregaokar
02d0a8bbcf
docs
2015-01-12 01:44:28 +05:30