diwic
d2d8898423
book: Fix broken link to unsafe chapter
2015-04-26 20:32:14 +02:00
bors
20adc9533d
Auto merge of #24815 - heejongahn:master, r=steveklabnik
...
At https://doc.rust-lang.org/book/vectors.html , there should be a link to
Generics page but the link address is ommitted and thus link is not functioning
well. So I added a link definition to the vectors.md.
r? @steveklabnik
2015-04-26 01:37:58 +00:00
Heejong Ahn
9a2a06cf43
Added a link address to Vectors page of the book
...
At https://doc.rust-lang.org/book/vectors.html , there should be a link to
Generics page but the link address is ommitted and thus link is not functioning
well. So I added a link definition to the vectors.md.
r? @steveklabnik
2015-04-26 02:04:38 +09:00
Manish Goregaokar
9316b0382b
Rollup merge of #24812 - jest:master, r=steveklabnik
...
Conflicts:
src/doc/trpl/variable-bindings.md
2015-04-25 21:22:03 +05:30
Manish Goregaokar
cfe08b74bf
Rollup merge of #24806 - FuGangqiang:doc, r=Manishearth
2015-04-25 21:18:47 +05:30
Przemysław Wesołek
2c2abe9a75
A number of spell-checking corrections.
2015-04-25 16:48:44 +02:00
bors
e3d00a4980
Auto merge of #24783 - jooert:unittestguidelines, r=alexcrichton
...
Changes the style guidelines regarding unit tests to recommend using a sub-module named "tests" instead of "test" for unit tests as "test" might clash with imports of libtest (see #23870 , #24030 and http://users.rust-lang.org/t/guidelines-naming-of-unit-test-module/1078 for previous discussions).
r? @alexcrichton
2015-04-25 09:55:06 +00:00
FuGangqiang
46462c7b5f
fix doc
2015-04-25 16:30:25 +08:00
Steve Klabnik
c632bdc67a
Rollup merge of #24736 - steveklabnik:doc_mutability, r=alexcrichton
...
Okay, last chapter other than ownership stuff. 🎊
2015-04-24 22:54:25 -04:00
Steve Klabnik
02194bc772
Rollup merge of #24725 - steveklabnik:doc_operators_and_overloading, r=alexcrichton
...
I forgot these heavily use associated types, so move it after that
as well.
2015-04-24 22:54:25 -04:00
Steve Klabnik
831232b767
Rollup merge of #24722 - steveklabnik:doc_deref, r=alexcrichton
...
r? @alexcrichton
2015-04-24 22:54:24 -04:00
Steve Klabnik
d70a994536
TRPL: deref coercions
2015-04-24 18:39:31 -04:00
Steve Klabnik
e715205606
TRPL: mutability
2015-04-24 17:57:16 -04:00
Steve Klabnik
b24271ee9d
TRPL: operators and overloading
...
I forgot these heavily use associated types, so move it after that
as well.
2015-04-24 17:27:49 -04:00
Johannes Oertel
07cc7d9960
Change name of unit test sub-module to "tests".
...
Changes the style guidelines regarding unit tests to recommend using a
sub-module named "tests" instead of "test" for unit tests as "test"
might clash with imports of libtest.
2015-04-24 23:06:41 +02:00
Manish Goregaokar
7a50ecdd72
Rollup merge of #24698 - steveklabnik:remove_debug_display, r=steveklabnik
...
this is too small for its own thing, I think.
2015-04-24 19:21:13 +05:30
Geoffrey Thomas
2f491228c0
TRPL: Remove references to "advanced macros chapter"
...
This was merged back into the regular macros chapter, but a few
references lingered and caused broken links.
2015-04-23 17:17:14 -04:00
Geoffrey Thomas
ad2684c41c
TRPL: Fix link to macro section of reference
2015-04-23 17:08:19 -04:00
bors
1114fcd945
Auto merge of #24664 - steveklabnik:doc_ufcs, r=alexcrichton
...
AKA, two four-letter acronyms 😉
This feels a bit light, if there's other things I should add, let me know.
2015-04-23 12:04:01 +00:00
Manish Goregaokar
b0319e9094
fix doctest
2015-04-23 04:56:00 +05:30
Steve Klabnik
b97b0e3929
TRPL: UFCS
...
AKA, two four-letter acronyms 😉
2015-04-22 18:30:27 -04:00
Manish Goregaokar
bd8101d698
Rollup merge of #24675 - steveklabnik:two_more_chapters, r=alexcrichton
...
Two more chapters of TRPL. The `type` one is pretty straightforward, but I wasn't really sure what to put for unsized types. I just explained the very basics, and the special bounds syntax. Thoughts on what else should go here?
r? @alexcrichton
2015-04-23 03:21:02 +05:30
Manish Goregaokar
231cb9361c
Rollup merge of #24673 - steveklabnik:doc_attributes, r=alexcrichton
...
r? @alexcrichton
2015-04-23 03:21:02 +05:30
Steve Klabnik
a9bc39c536
remove debug and display chapter
...
this is too small for its own thing, I think.
2015-04-22 16:41:22 -04:00
Steve Klabnik
defdc4418a
TRPL: type aliases and unsized types
2015-04-22 13:27:13 -04:00
Steve Klabnik
a5ae4cc19d
TRPL: attributes & conditional compilation
2015-04-22 11:27:31 -04:00
bors
50cd2e84d5
Auto merge of #24671 - steveklabnik:doc_const_static, r=alexcrichton
...
r? @alexcrichton
2015-04-22 06:37:57 +00:00
Steve Klabnik
a04f6c5293
TRPL: const and static
2015-04-21 19:47:07 -04:00
Alex Crichton
a1dd5ac787
rollup merge of #24636 : alexcrichton/remove-deprecated
...
Conflicts:
src/libcore/result.rs
2015-04-21 15:28:53 -07:00
Alex Crichton
a568a7f9f2
std: Bring back f32::from_str_radix as an unstable API
...
This API was exercised in a few tests and mirrors the `from_str_radix`
functionality of the integer types.
2015-04-21 15:23:54 -07:00
Alex Crichton
44338cb944
rollup merge of #24672 : steveklabnik/edit_tuple_structs
...
I thought I edited all the last little chapters, but I missed this one.
r? @alexcrichton
2015-04-21 15:23:18 -07:00
Alex Crichton
0feaf6154c
rollup merge of #24669 : steveklabnik/fix
...
This section was added but the list wasn't updated.
2015-04-21 15:23:17 -07:00
Alex Crichton
83008b2e9b
rollup merge of #24667 : steveklabnik/more_editing
...
r? @alexcrichton
2015-04-21 15:23:16 -07:00
Alex Crichton
1a6c18d660
rollup merge of #24665 : sw17ch/document-complete-slice-syntax
...
The documentation doesn't appear to describe the `&foo[..]` syntax.
I tried looking in `primitive-types.html#slices` and `std/primitive.slice.html`.
There's an example of partially slicing an array in trpl and a mention of `&foo[..]` in [the standard library documentation](https://doc.rust-lang.org/std/primitive.slice.html ), but neither place, from what I can see, actually describes the behavior of `&foo[..]`.
+r? @steveklabnik
2015-04-21 15:23:15 -07:00
Alex Crichton
ee9d4eefba
rollup merge of #24663 : steveklabnik/gh24639
...
Fixes #24639
2015-04-21 15:23:14 -07:00
Alex Crichton
251f8d3fbd
rollup merge of #24654 : mdinger/patch-2
...
This just fixes some comments made on https://github.com/rust-lang/rust/pull/24632 . The second I think is better unless @steveklabnik actually meant something else.
2015-04-21 15:23:12 -07:00
Steve Klabnik
f78ee1aff1
Document functional update syntax
...
Fixes #24639
2015-04-21 16:18:51 -04:00
Steve Klabnik
b0105b5a59
TRPL editing: tuple structs
2015-04-21 15:25:43 -04:00
Steve Klabnik
f0a3b6c509
Add research to README of TRPL
...
This section was added but the list wasn't updated.
2015-04-21 13:49:23 -04:00
Steve Klabnik
0070625495
small edits for recently written book chapters
2015-04-21 13:17:43 -04:00
John Van Enk
5f7556cd39
Add an example of completely slicing an object.
2015-04-21 09:21:52 -07:00
Steve Klabnik
9cc0af8d69
Refocus unsafe code chapter on unsafe itself.
2015-04-21 08:28:06 -04:00
mdinger
dc596695c9
Fix typos
2015-04-21 01:05:26 -04:00
Steve Klabnik
9ddcc38b6e
Refocus unsafe code chapter on unsafe itself.
2015-04-20 21:17:46 -04:00
Steve Klabnik
1d082de2d9
Rollup merge of #24643 - steveklabnik:doc_if_let, r=jakub-
...
and while let
2015-04-20 21:15:54 -04:00
Steve Klabnik
52ec8bdf73
Rollup merge of #24632 - steveklabnik:casting_guide, r=alexcrichton
...
Due to documenting `transmute`, addresses part of #12905
2015-04-20 21:15:54 -04:00
Steve Klabnik
9f87362308
Rollup merge of #24631 - steveklabnik:unsafe_guide, r=alexcrichton
...
Many unsafe features are now in the unstable section, so this section is
really just about raw pointers now. That also makes sense for its place
in the TOC.
This addresses part of #12905 .
2015-04-20 21:15:54 -04:00
Steve Klabnik
05ee6f0709
Rollup merge of #24630 - steveklabnik:quickfix, r=alexcrichton
2015-04-20 21:15:53 -04:00
Steve Klabnik
81b603e7a5
Rollup merge of #24577 - steveklabnik:gh24573, r=alexcrichton
...
Fixes #24573
2015-04-20 21:15:52 -04:00
Steve Klabnik
ff12b7b308
Rollup merge of #24571 - steveklabnik:editing, r=alexcrichton
...
A bunch of chapters, fixes an issue or two as well.
r? @alexcrichton
2015-04-20 21:15:52 -04:00