Tshepang Lekhonkhobe
a2f22a00ec
reference: add trailing commas
2016-02-04 22:44:32 +02:00
Manish Goregaokar
486fd89b34
Rollup merge of #31199 - steveklabnik:gh31181, r=Manishearth
...
Fixes #31181
2016-01-26 13:11:58 +05:30
Manish Goregaokar
24931a32e8
Rollup merge of #31197 - apasel422:issue-31195, r=steveklabnik
...
Closes #31195
r? @steveklabnik
2016-01-26 13:11:57 +05:30
Steve Klabnik
6c56260b30
Mention the need for a linker
...
Fixes #31181
2016-01-25 22:26:56 -05:00
Andrew Paseltiner
b3ebe949e2
Fix typo in "Loops" section of the book
...
Closes #31195
2016-01-25 21:33:23 -05:00
Oliver Middleton
ace39cbc15
Replace link to learn-rust in the book
...
It was removed in #30595 .
Also delete the old learn-rust.md.
2016-01-25 18:40:28 +00:00
Oliver Middleton
03681b16ce
Fix link to hello-cargo in the book
...
It was moved in #29538 .
2016-01-25 18:34:34 +00:00
Dirk Gadsden
a469cef1ab
Clarify when Cargo.lock is created by cargo build in the book
...
Also remove a "finally" in the section about building for release
to make it feel a bit friendlier.
2016-01-23 23:39:38 -05:00
Steve Klabnik
4d99bad158
Rollup merge of #31145 - D101101:patch-1, r=steveklabnik
...
r? @steveklabnik
2016-01-23 09:38:44 -05:00
Steve Klabnik
fc8ef6cae7
Rollup merge of #31128 - kamalmarhubi:book-trait-impl-clarify, r=steveklabnik
2016-01-23 09:38:44 -05:00
Steve Klabnik
c9c754990e
Rollup merge of #31113 - steveklabnik:master, r=alexcrichton
...
r? @alexcrichton
2016-01-23 09:38:43 -05:00
Steve Klabnik
9bc29a9908
Rollup merge of #31111 - apasel422:issue-31103, r=steveklabnik
...
Closes #31103
r? @steveklabnik
2016-01-23 09:38:43 -05:00
Steve Klabnik
b4311b70e1
Rollup merge of #31061 - brson:bib, r=steveklabnik
2016-01-23 09:38:42 -05:00
Steve Klabnik
b1e5af4872
Rollup merge of #31055 - steveklabnik:alt-tags, r=alexcrichton
2016-01-23 09:38:42 -05:00
Sergey Veselkov
6a6e9a987a
Fix the missing line in the guessing-game.md
...
r? @steveklabnik
2016-01-23 12:19:11 +03:00
bors
228afd7251
Auto merge of #30807 - kolloch:patch-1, r=steveklabnik
...
When I read the book, the following sentence of the reference documentation helped me greatly to understand slices:
"Slices are a view into a block of memory represented as a pointer and a length."
In this commit, I tried to integrate the gist of that into the slice section inside of "primitive-types.md". I am not a native speaker, so feel very free to improve the wording.
r? @steveklabnik
2016-01-23 07:44:17 +00:00
Kamal Marhubi
a559577c2f
Forward reference crates and modules chapter
2016-01-22 15:18:00 -05:00
Kamal Marhubi
9624b68207
book: Clarify that trait or type must be in same crate as impl
2016-01-22 14:37:37 -05:00
Steve Klabnik
c94b14ade4
update link to unwind in book
2016-01-22 09:50:43 -05:00
Andrew Paseltiner
48aa5ef16f
Fix typo in "Getting Started" section of the book
...
Closes #31103
2016-01-22 08:59:05 -05:00
Brian Anderson
c158fd93b8
Add Alexis thesis to bibliography
2016-01-20 19:27:05 +00:00
Steve Klabnik
5763b86792
Add alt tags for logos
2016-01-20 11:53:20 -05:00
Manish Goregaokar
49474313fd
Rollup merge of #30988 - bluss:doc-space-t-bound, r=apasel422
...
Fix spacing style of `T: Bound` in docs
The space between `T` and `Bound` is the typical style used in code and
produced by rustdoc's rendering. Fixed first in Reflect's docs and then
I fixed all occurrences in docs I could find.
2016-01-19 04:08:59 +05:30
Ulrik Sverdrup
f4fac9b0fa
Fix spacing style of T: Bound in docs
...
The space between `T` and `Bound` is the typical style used in code and
produced by rustdoc's rendering. Fixed first in Reflect's docs and then
I fixed all occurrences in docs I could find.
2016-01-17 23:44:33 +01:00
Stephen (Ziyun) Li
8a829704cb
Fix C macro example
2016-01-17 14:56:23 -05:00
Manish Goregaokar
dbca989721
Rollup merge of #30952 - jonastepe:nomicon_vec_zst_code_fix, r=Gankro
...
* Moved semicolon to the right place in the `let` statement in the ZST section.
* Fixed the missing ZST additions for `RawValIter<T>` from this section in the final code section.
2016-01-17 17:25:48 +05:30
bors
077f4eeb84
Auto merge of #30567 - steffengy:master, r=alexcrichton
...
Add support to use functions exported using vectorcall.
This essentially only allows to pass a new LLVM calling convention
from rust to LLVM.
```rust
extern "vectorcall" fn abc(param: c_void);
```
references
----
http://llvm.org/docs/doxygen/html/CallingConv_8h_source.html
https://msdn.microsoft.com/en-us/library/dn375768.aspx
2016-01-16 23:30:30 +00:00
Jonas Tepe
5c62178658
Fixed indent from tabs to spaces
2016-01-16 20:51:55 +01:00
Jonas Tepe
9c5b296dd3
added zst iterator additions to final code
2016-01-16 13:13:44 +01:00
Jonas Tepe
b3f44c1335
Semicolon was at wrong place in let statement
2016-01-16 13:07:46 +01:00
Manish Goregaokar
d9d902ef99
Rollup merge of #30836 - Luke-Nukem:master, r=steveklabnik
...
Ref issue [30825](https://github.com/rust-lang/rust/issues/30825 )
This commit should suffice to add a concise introduction to the concept of crates.
My only worry, is that it is maybe too concise; but, the book seems to be written with the understanding that the new Rust user is coming from another language, and so will understand what a Library or Code Package is.
2016-01-15 17:28:28 +05:30
Manish Goregaokar
7208d25003
Rollup merge of #30776 - antonblanchard:powerpc64_merge, r=alexcrichton
...
This adds support for big endian and little endian PowerPC64.
make check runs clean apart from one big endian backtrace issue.
2016-01-15 17:28:28 +05:30
Luke Jones
52786de3ed
Clarify what a crate is, within the "Getting Started" chapter.
...
* ref: Issue #30825
Small punctuation change in "Crates and Modules".
2016-01-15 14:18:50 +13:00
Steve Klabnik
9b10d0e1e5
Rollup merge of #30911 - tshepang:missing-word, r=Manishearth
...
Also, whitespace fixes
2016-01-14 14:58:35 -05:00
Steve Klabnik
f1a0fd127a
Rollup merge of #30903 - steveklabnik:no_std_stable, r=alexcrichton
...
This feature is partially stabilized, so describe each part in the appropriate place.
r? @alexcrichton @brson
It would be nice to backport this to beta, since this is the first release where this is true. I try really hard to not do doc backports, but this isn't very large, and might be worth making an exception, I dunno.
2016-01-14 14:58:34 -05:00
Steve Klabnik
e26279db48
Rollup merge of #30712 - LawrenceWoodman:patch-3, r=steveklabnik
...
This also repeats the case analysis used.
2016-01-14 14:58:34 -05:00
Tshepang Lekhonkhobe
049b9e4e80
doc: add missing word
...
Also, whitespace fixes
2016-01-14 20:56:38 +02:00
Steve Klabnik
0394418752
Move some #[no_std] info to stable book.
...
This feature is partially stabilized, so describe each part in the appropriate place.
2016-01-14 10:45:40 -05:00
Manish Goregaokar
9cb4350e63
Rollup merge of #30871 - oli-obk:fix/reference, r=steveklabnik
...
r? @steveklabnik
2016-01-14 19:12:28 +05:30
Manish Goregaokar
7893031d92
Rollup merge of #30869 - D101101:patch-3, r=huonw
...
r? @steveklabnik
2016-01-14 19:12:28 +05:30
Manish Goregaokar
07aaca3a07
Rollup merge of #30821 - steveklabnik:gh30819, r=nikomatsakis
...
Fixes #30819
2016-01-14 19:12:28 +05:30
Oliver 'ker' Schneider
3ae71b1b69
the reference was inferring values that didn't fit into their target type
2016-01-13 14:50:04 +01:00
Sergey Veselkov
b986698bc4
Fix typo in bibliography.md
2016-01-13 09:14:21 +03:00
Anton Blanchard
b372910476
Add powerpc64 and powerpc64le support
...
This adds support for big endian and little endian PowerPC64.
make check runs clean apart from one big endian backtrace issue.
2016-01-13 01:39:00 +00:00
Steffen
8cdad627ae
add feature gate "abi_vectorcall" for the vectorcall calling convention
2016-01-11 23:45:33 +01:00
Steve Klabnik
eb2343f25b
Be a bit more correct about segfault causality
...
Fixes #30819
2016-01-11 14:19:51 -05:00
Simonas Kazlauskas
8dd7eabad7
Rollup merge of #30814 - brson:docidx, r=steveklabnik
...
These are the same descriptions as on the website.
re https://www.reddit.com/r/rust/comments/409nlo/i_just_noticed_the_docs_nightly_all_docs_got_more/cytc4ab
r? @steveklabnik
2016-01-11 21:17:54 +02:00
Simonas Kazlauskas
0b8370c397
Rollup merge of #30812 - D101101:patch-2, r=steveklabnik
...
r? @steveklabnik
2016-01-11 21:17:53 +02:00
Brian Anderson
bcf20a7cb1
doc: Add descriptions to links in the index
...
These are the same descriptions as on the website.
2016-01-10 22:30:09 +00:00
Sergey Veselkov
8cc149dbc1
Fix link in getting-started.md
2016-01-11 00:13:54 +03:00