Commit Graph

507 Commits

Author SHA1 Message Date
Brian Anderson
3232e75995 tutorial: Delete 'what to be aware of'
This section associates borrowed pointers purely with stack allocation, which
is confusing. The following sections explain pointers in detail.
2012-09-26 18:36:38 -07:00
Brian Anderson
c244147c50 tutorial: Swap order of pointers for emphasis on & 2012-09-26 18:10:35 -07:00
Niko Matsakis
67a8e7128a Demode vec::push (and convert to method) 2012-09-26 18:02:07 -07:00
Brian Anderson
2891f5abe3 tutorial: Remove all references to 'records'. Misc 2012-09-26 16:41:35 -07:00
Graydon Hoare
e4148932fc Remove para on named impls. 2012-09-26 16:30:41 -07:00
Graydon Hoare
bf82d689ce Remove more references to 'export', fix crate keyword list. 2012-09-26 16:30:40 -07:00
Graydon Hoare
d26e2a9ce6 Switch a use of unchecked to unsafe. 2012-09-26 16:30:38 -07:00
Graydon Hoare
fbf362809b Remove description of export, briefly describe pub use. 2012-09-26 16:30:36 -07:00
Graydon Hoare
385c4dfba0 Adjust keyword list in refman to reflect present. 2012-09-26 16:30:35 -07:00
Graydon Hoare
a2ba952ff4 Mention NFKC, reformat lines to reflect 'semantic clause' structure. 2012-09-26 16:30:33 -07:00
Brian Anderson
24153eb30f tutorial: Typo 2012-09-26 16:19:21 -07:00
Brian Anderson
349ef79ce7 docs: Only display one level of hierarchy in the TOC 2012-09-25 15:03:32 -07:00
Brian Anderson
db4cae8d91 docs: Fix style sheet for tables 2012-09-25 15:03:32 -07:00
Brian Anderson
ba8750a550 tutorial: Merge discussion of patterns and let bindings 2012-09-24 19:51:03 -07:00
Brian Anderson
a8406e3d00 tutorial: A little more explanation of why managed boxes are useful 2012-09-24 19:37:41 -07:00
Brian Anderson
91fe3fcbef tutorial: Expand borrowed ptr discussion. Misc 2012-09-24 19:11:48 -07:00
Brian Anderson
b3c72713de tutorial: Swap order of data type/function sections. Add method discussion 2012-09-24 18:25:57 -07:00
Brian Anderson
9902135bdd tutorial: More generics cleanup 2012-09-24 17:49:04 -07:00
Brian Anderson
dd9b6c97b9 tutorial: Overhaul the generics section 2012-09-24 17:37:49 -07:00
Brian Anderson
2dae768624 docs: Change 'class' to 'struct' in codemirror-rust 2012-09-23 21:09:44 -07:00
Brian Anderson
1b1aea8e0e tutorial: Begin trying to improve the generics section 2012-09-23 21:09:44 -07:00
Brian Anderson
690525ed81 tutorial: Update ptr/vec/fn sections with new terminology 2012-09-23 18:45:51 -07:00
Brian Anderson
2d3396bef1 tutorial: Merge some related, small sections 2012-09-23 18:45:51 -07:00
Brian Anderson
2e7ddee823 tutorial: Simplify the first example. Misc 2012-09-22 23:27:05 -07:00
Brian Anderson
3b89dcbdf2 tutorial: Clean up literal section 2012-09-22 22:27:15 -07:00
Brian Anderson
4081b40523 tutorial: Don't iloop in example 2012-09-22 22:24:17 -07:00
Brian Anderson
7937905dbf tutorial: Merge sections 'Types' and 'Using types'
Most of this material is covered elsewhere
2012-09-22 21:50:08 -07:00
Brian Anderson
36602a1f71 tutorial: Convert the type list to a more compact table 2012-09-22 21:23:12 -07:00
Brian Anderson
0cabd6fa1a tutorial: More intro simplification 2012-09-22 21:23:00 -07:00
Brian Anderson
c2bc5122cd tutorial: Make the intro more concise
Talk more about the features of the language, less comparisons to
other languages. Don't introduce the language using the worst possible
example.
2012-09-22 17:59:49 -07:00
Brian Anderson
fd0de8bfd7 doc: Split out task tutorail. Add links to sub-tutorials 2012-09-22 15:34:01 -07:00
Brian Anderson
6caafaa9ea tutorial: Use bold bullet items instead of bold italic 2012-09-22 14:14:48 -07:00
Niko Matsakis
3d59ac3a19 De-mode vec::map, vec::eachi, vec::rev_each, vec::rev_eachi 2012-09-21 19:13:55 -07:00
Graydon Hoare
dffe188991 Install new pub/priv/export rules as defaults, old rules accessible under #[legacy_exports]; 2012-09-21 18:11:43 -07:00
Niko Matsakis
6b670c306b correct grammar name for again_expr 2012-09-20 06:39:22 -07:00
Niko Matsakis
86c48f03d1 doc: s/again/loop 2012-09-20 05:58:29 -07:00
Niko Matsakis
0dd4fad3e3 doc: correct for-loop example 2012-09-20 05:58:29 -07:00
Niko Matsakis
6cb3ce9772 fix tutorial example that uses each() 2012-09-19 19:00:04 -07:00
Niko Matsakis
9cf271fe96 De-mode vec::each() and many of the str iteration routines
Note that the method foo.each() is not de-moded, nor the other
vec routines.
2012-09-19 10:52:59 -07:00
Brian Anderson
77480e8e44 xfail two tests from the manual 2012-09-18 19:33:36 -07:00
Brian Anderson
5e9d38ede0 Remove 'unchecked' from docs 2012-09-18 11:57:57 -07:00
Brian Anderson
150acd26b2 docs: Doc tests may use elipses 2012-09-18 11:41:06 -07:00
Graydon Hoare
ae86db0d93 Fix doc test glitch. 2012-09-18 11:16:19 -07:00
Brian Anderson
2018cd912c Update keywords in codemirror-rust.js 2012-09-15 19:06:19 -07:00
Brian Anderson
78525299d5 docs: Don't mention unsafe pointers 2012-09-15 19:03:07 -07:00
Brian Anderson
5e5b107306 docs: Bump tarball versions in tutorial 2012-09-15 18:55:06 -07:00
Brian Anderson
65cdfa4a21 docs: Modernize tutorial snippets 2012-09-15 18:44:44 -07:00
Brian Anderson
da5033f991 Make a few more borrowed pointer tutorial examples pass 2012-09-15 18:24:04 -07:00
Brian Anderson
864cca14ee docs: Make supplemental tutorials testable 2012-09-15 18:06:20 -07:00
Brian Anderson
82e79f765c docs: Add Niko's borrowed pointers tutorial 2012-09-15 17:09:21 -07:00