Brian Anderson
8b98e5a296
doc: Mention argument bindings in manual
2012-12-20 17:01:38 -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
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
Graydon Hoare
6d4621d85f
doc: a little more material on object types, part of #4217 .
2012-12-18 14:37:18 -08:00
Brian Anderson
d4daa78aa3
Update docs for crate file changes
2012-12-15 19:55:25 -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
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
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
Brian Anderson
946427b562
manual: Clarify that Drop types cannot be Copy
2012-11-30 11:23:22 -08:00
Paul Stansifer
a88f9ac732
Macros can now also be stmts and items.
2012-11-29 12:09:11 -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
Tim Chevalier
12a4130749
Typo
2012-11-15 19:36:48 -08: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
Tim Chevalier
45d1cd83ab
Copyedit "Items and attributes" section in docs
...
Most notably, I removed the "foldl" example in the section on pure functions,
as IIRC this is no longer something you need an unsafe block for
(pure functions are as pure as their arguments). Feel free to add
an example where an unsafe block really is needed.
2012-10-12 12:02:08 -07:00
Tim Chevalier
91315c3c2f
manual: Lightly copyedit the crates section
2012-10-11 20:09:41 -07:00
Tim Chevalier
bb4dd06307
manual: Lightly copyedit the macros section
2012-10-11 20:03:24 -07:00
Graydon Hoare
5bca5f7c54
manual: fix one more nit.
2012-10-11 19:39:21 -07:00
Graydon Hoare
588d97d80e
manual: fix accidentally broken test.
2012-10-11 19:30:43 -07:00
Graydon Hoare
13ea16152d
manual: remove as many ~[] literals as possible.
2012-10-11 19:25:09 -07:00
Graydon Hoare
d81d4f1f3c
manual: remove as many ~"" literals as possible.
2012-10-11 19:22:53 -07:00
Graydon Hoare
0b1a401bb7
manual: fix bullet list.
2012-10-11 19:15:40 -07:00
Graydon Hoare
d471e24214
manual: remove description of references (modes) from memory-slots section.
2012-10-11 19:12:35 -07:00
Graydon Hoare
70909533f0
manual: rewrite the section on type kinds.
2012-10-11 19:07:38 -07:00
Graydon Hoare
9bbff50c14
manual: fix various examples.
2012-10-11 18:18:53 -07:00
Graydon Hoare
089e257769
manual: capitalize more examples properly.
2012-10-11 18:18:53 -07:00
Graydon Hoare
9ea5e6a3b2
manual: fix vec and str types to discuss definite / indefinite size.
2012-10-11 18:18:53 -07:00