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
Damien Grassart
9f290b5669
Fix sample code in the tutorial
2012-11-26 14:41:29 -08:00
Tim Chevalier
e454a47bf2
[tutorial] Use a less confusing closure example
...
Closes #3996
2012-11-24 09:28:34 -08:00
Brian Anderson
8f22582e9f
Fix breakage. Expand const examples in manual
2012-11-19 23:20:37 -08:00
Jesse Jones
ca332a68fa
Added optional pub to use_decl EBNF.
2012-11-18 18:28:05 -08:00
Jesse Jones
76712476c2
Slightly better description of macro designators.
...
Closes #3378
2012-11-18 18:25:06 -08:00
Jesse Jones
a24da7e254
Discuss the types that may be used with const items.
...
Also removed vector example that doesn't compile. IMO closes #3341 .
2012-11-18 17:05:24 -08:00
Jesse Jones
a1bf759783
Added brief discussion of static trait methods.
...
Closes #3339
2012-11-18 15:49:53 -08:00
Jesse Jones
57c203ef7f
Documented copy, ref, move in patterns.
...
Closes #3337
2012-11-18 15:26:12 -08:00
Jesse Jones
e46de5381b
Moved the matching structs example next to the prose talking about struct matching
2012-11-18 15:15:12 -08:00
Jesse Jones
67d421d62d
Document [0, ..8] vector syntax.
...
Closes #3336
2012-11-18 11:36:09 -08:00
Jesse Jones
d106ef88e6
Improved attribute section, mostly by mentioning lint attributes.
...
Closes #2769
2012-11-18 09:23:09 -08:00
Jesse Jones
d701fcd8a5
Added a readme explaining how to generate html from markdown docs w/o node
2012-11-18 09:08:31 -08:00
Tim Chevalier
12a4130749
Typo
2012-11-15 19:36:48 -08:00
Cat's Eye Technologies
7c35f7ed04
Minor grammatical edits; use preferred nomenclature consistently.
2012-11-11 16:19:40 +00:00
Patrick Walton
2904095570
rustc: Implement the Drop trait. r=brson
2012-11-07 12:34:32 -08:00
Brian Anderson
ed48e76e77
Fix typo in borrowed pointer tutorial. Closes #3876
2012-10-29 13:52:05 -07:00
Tim Chevalier
2ab614f356
Document labeled break and continue in the reference manual
...
r=brson
2012-10-26 15:00:55 -07:00
Tim Chevalier
0ef75a6965
Document how the compiler disambiguates variable patterns from variant patterns
...
r=brson
Closes #3851
2012-10-25 15:03:33 -07:00
Tim Chevalier
19dae8dae1
Remove remaining mentions of <- from docs
2012-10-23 12:13:09 -07:00
Tim Chevalier
804c608f01
Remove binary move from the docs
2012-10-23 12:10:03 -07:00
Brian Anderson
5fc4e51ab7
docs: Remove unfinished sentence in manual. Closes #3806
2012-10-22 13:12:16 -07:00
Paul Stansifer
4edb881124
Talk about ends, rather than means, in macro tutorial introduction.
2012-10-20 21:54:25 -04:00
Paul Stansifer
0f2fc71d79
Add examples to the parsing limitations section of the macro tutorial.
...
(Thanks to bstrie for pointing them out!)
2012-10-17 21:40:39 -04:00
Ben Striegel
f7ce3dc55f
Extraneous sigil patrol: turn &[] literals into []
2012-10-17 11:19:38 -07:00
Ben Striegel
5e1d0bab80
Sigil patrol: change fn@ fn& fn~ to @fn &fn ~fn
...
This also involves removing references to the old long-form closure
syntax, which pcwalton alleges is deprecated and which was never updated
for the new forms, e.g. `@fn() {}` is illegal.
2012-10-17 11:19:38 -07:00