Brian Anderson
|
e06ca65244
|
tutorial: Remove the section on constants
We can mention that constants are declared with 'const' in one line.
Don't need an entire section.
|
2012-12-20 16:32:42 -08:00 |
|
Brian Anderson
|
0b0b50aaae
|
tutorial: Remove the entire 'Types' section
It's not interesting
/cc: #4217
|
2012-12-20 16:32:42 -08:00 |
|
Brian Anderson
|
64681213af
|
tutorial: Remove mutable vector syntax
|
2012-12-20 16:32:42 -08:00 |
|
Brian Anderson
|
e0f9f89c65
|
tutorial: Remove confusing discussion about semicolons
This takes up a lot of words and isn't very clear. The previous
discussion gets they idea across.
/cc: #4217
|
2012-12-20 16:32:42 -08:00 |
|
Brian Anderson
|
9cbc0fd0d9
|
tutorial: Fix formatting
|
2012-12-20 16:32:42 -08:00 |
|
Brian Anderson
|
a24b9e038a
|
tutorial: update intro
|
2012-12-20 16:32:42 -08:00 |
|
Brian Anderson
|
f15ccc06f0
|
tutorial: Update for moves based on type
/cc: #4217
|
2012-12-20 16:32:42 -08:00 |
|
Brian Anderson
|
41870da5ad
|
tutorial: Typos
|
2012-12-20 16:32:42 -08:00 |
|
Brian Anderson
|
191b328f31
|
tutorial: Move method discussion after closures, before generics
/cc: #4217
|
2012-12-20 16:32:42 -08:00 |
|
Brian Anderson
|
af5cd341d3
|
Move mast static method to the section on methods
/cc: #4217
|
2012-12-20 16:32:42 -08:00 |
|
Brian Anderson
|
42ab33e572
|
Use explicit self in rest of tutorial
/cc: #4217
|
2012-12-20 16:32:42 -08:00 |
|
Brian Anderson
|
171e6a16f7
|
tutorial: Rewrite method section to deal with explicit self
Has to be moved until after the pointer discussion.
/cc: #4217
|
2012-12-20 16:32:41 -08:00 |
|
Brian Anderson
|
7d2c2dbf4b
|
tutorial: Reorder sections on traits
/cc: #4217
|
2012-12-20 16:32:41 -08:00 |
|
Brian Anderson
|
850050b7df
|
doc: 'trait constraints' -> 'inheritance'. Expand
/cc: #4217
|
2012-12-20 16:32:41 -08:00 |
|
Graydon Hoare
|
66aadecfee
|
doc: describe the Drop trait. cc: #4217
|
2012-12-20 16:26:11 -08:00 |
|
Tim Chevalier
|
8554d5e710
|
doc: Mention tuple structs
/cc: #4217
|
2012-12-19 21:52:03 -07:00 |
|
Tim Chevalier
|
b99a2542f3
|
docs: mention static methods
/cc #4217
|
2012-12-19 21:32:19 -07:00 |
|
Tim Chevalier
|
2d313fe501
|
Update docs to mention trait constraints; also fix failing doc tests
/cc #4217
|
2012-12-19 20:38:28 -07:00 |
|
Brian Anderson
|
6742c982a4
|
Bump version numbers in docs
|
2012-12-19 18:03:03 -08:00 |
|
Graydon Hoare
|
e0072e39a7
|
doc: structure expressions. cc: #4217
|
2012-12-19 17:24:19 -08:00 |
|
Graydon Hoare
|
46766974c7
|
doc: mention moved and copied types. cc: #4217
|
2012-12-19 16:55:34 -08:00 |
|
Isaac Aggrey
|
63232d6cf1
|
Fix doc typo
|
2012-12-19 12:46:24 -06:00 |
|
Brian Anderson
|
263136d389
|
'trait instance' -> 'object'
|
2012-12-18 17:03:56 -08:00 |
|
Brian Anderson
|
80a4769318
|
Update tutorial on generics. #4217
|
2012-12-18 16:28:40 -08:00 |
|
Graydon Hoare
|
6d4621d85f
|
doc: a little more material on object types, part of #4217.
|
2012-12-18 14:37:18 -08:00 |
|
Paul Stansifer
|
7c103f2da9
|
Add a section to the macro tutorial about recursive macros.
|
2012-12-16 18:45:54 -05:00 |
|
Paul Stansifer
|
2b5e81c464
|
Reword some things in the macro tutorial.
|
2012-12-16 18:45:54 -05:00 |
|
Brian Anderson
|
d4daa78aa3
|
Update docs for crate file changes
|
2012-12-15 19:55:25 -08:00 |
|
Brian Anderson
|
e67190a0d2
|
Display the full TOC in the manual. Closes #4194
|
2012-12-14 18:06:21 -08:00 |
|
Brian Anderson
|
b0fc222fda
|
Fix broken tests
|
2012-12-14 16:36:32 -08:00 |
|
Tim Chevalier
|
47faeb9228
|
[docs] Note that types and modules share the same namespace
|
2012-12-14 15:42:34 -08:00 |
|
Brian Anderson
|
80ef7243ea
|
Remove spawn_listener, spawn_conversation
These are not needed in a pipe-based Rustiverse
|
2012-12-14 14:59:32 -08:00 |
|
Brian Anderson
|
55c9cf72e3
|
Merge pull request #4181 from andrew-d/andrew-doc-fix1
Fix example in docs
|
2012-12-13 17:28:23 -08:00 |
|
Andrew Dunham
|
08b1c841da
|
Rename "to_str" to "make_string" in the docs
There's already a "to_str" impl for string, so it fails here.
|
2012-12-13 20:07:58 -05:00 |
|
Brian Anderson
|
fa4fbd51f6
|
Update docs for kind name changes
|
2012-12-13 15:52:50 -08:00 |
|
Tim Chevalier
|
0138d87f8f
|
Document pub use foo::* in the reference manual
r=brson
Closes #3788
|
2012-12-12 16:38:36 -08:00 |
|
Tim Chevalier
|
213773ccb2
|
Fix tasks tutorial tests
|
2012-12-12 13:38:19 -08:00 |
|
Graydon Hoare
|
645bd98b60
|
doc: add missing decls to example, r=burningtree.
|
2012-12-11 13:43:14 -08:00 |
|
Tim Chevalier
|
eb21ced467
|
Discuss module syntax earlier in the tutorial
as per #3578
|
2012-12-11 11:23:20 -08:00 |
|
Tim Chevalier
|
65a1287f53
|
Discuss the Option type a bit in the tutorial
as per #3577
|
2012-12-11 11:23:20 -08:00 |
|
Lindsey Kuper
|
1ba9419e6c
|
Tutorial typo fixes
|
2012-12-10 15:59:18 -05:00 |
|
Patrick Walton
|
eba4dadc54
|
doc: Fix broken doc test. rs=bustage
|
2012-12-08 11:47:03 -08:00 |
|
Tim Chevalier
|
2c2398ca0d
|
Xfail broken tests
|
2012-12-07 23:42:58 -08:00 |
|
Graydon Hoare
|
bbc04dbb24
|
doc: fix busted doctest, r=burningtree.
|
2012-12-07 14:40:56 -08:00 |
|
Tim Chevalier
|
b4501f4c64
|
Document pattern ranges a little more
Patches for further documentation of them welcome, but this
is good enough for now.
Closes #1107
|
2012-12-06 21:52:50 -08:00 |
|
Paul Stansifer
|
3af757631e
|
Be a bit more explicit about the nature of macro RHSes.
|
2012-12-06 15:01:40 -08:00 |
|
Paul Stansifer
|
d0c2d6c54e
|
Update macro tutorial to recognize item/statement macros and be clearer
about invocation location vs. interpolation location.
|
2012-12-06 15:01:17 -08:00 |
|
Brian Anderson
|
946427b562
|
manual: Clarify that Drop types cannot be Copy
|
2012-11-30 11:23:22 -08:00 |
|
Brian Anderson
|
d1c558394f
|
Fix tutorial's use of Drop
|
2012-11-29 16:23:24 -08:00 |
|
Paul Stansifer
|
a88f9ac732
|
Macros can now also be stmts and items.
|
2012-11-29 12:09:11 -08:00 |
|