Commit Graph

497 Commits

Author SHA1 Message Date
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
Brian Anderson
cb7a5395dd Convert std::map to camel case 2012-09-10 17:08:36 -07:00
Tim Chevalier
1ff268e2d5 doc: Don't refer to the non-existent attributes section in the tutorial
Closes #3382
2012-09-10 12:27:23 -07:00
Brian Anderson
3bd1f32cd9 Convert all kind bounds to camel case. Remove send, owned keywords. 2012-09-07 18:10:11 -07:00
Lindsey Kuper
62ab9d70f4 tutorial: swap order of "Traits" and "Modules and Crates" sections.
This puts "Traits" next to "Generics", as requested by issue #3397.
Closes #3397.
2012-09-07 20:19:11 -04:00
Tim Chevalier
0ce88fe401 Update docs to not refer to the of clause in an impl
Closes #3375
2012-09-06 16:19:34 -07:00
Tim Chevalier
a37729f31b Tutorial: Link to section on boxes and pointers at first mention of ~, @, &
As per suggestion on IRC from callen.
2012-09-06 12:22:05 -07:00
Brian Anderson
9097410b43 Fix tutorial tests 2012-09-05 17:04:51 -07:00
Patrick Walton
10c533861b doc: "import" -> "use" 2012-09-05 12:39:16 -07:00
Patrick Walton
4e515c14af doc: Split out the FFI part of the tutorial
The tutorial should perhaps contain an FFI section, but this one is too long.
2012-09-05 11:20:04 -07:00
Patrick Walton
1c9c32782d tutorial: Remove the section on strings
It's already covered in the types section.
2012-09-05 11:07:06 -07:00