Commit Graph

200 Commits

Author SHA1 Message Date
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
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
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
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
Patrick Walton
69b363e02a doc: Split macros out into a separate tutorial 2012-09-05 11:07:06 -07:00
Brian Anderson
443f79922d Merge pull request #3333 from dbp/tutorial
tutorial: adding link and reference to sublime text package.
2012-09-04 13:27:50 -07:00
Jim Blandy
959f76ddeb In DuplexStream explanation: change 'There' to 'The'. 2012-09-04 01:12:12 -07:00
Daniel Patterson
ff7f04838c tutorial: adding link and reference to sublime text package. 2012-09-01 10:49:56 -04:00
Patrick Walton
ce4e09b709 doc: Remove some unneeded sections on type inference and generic modes 2012-08-31 17:36:40 -07:00
Patrick Walton
4fc164a549 doc: Remove the section on modes from the tutorial 2012-08-31 17:27:00 -07:00
Patrick Walton
df34fe917a doc: Trim down the tutorial a little more 2012-08-31 17:20:36 -07:00
Patrick Walton
9eaaceb9f0 doc: Update the tutorial 2012-08-31 16:58:23 -07:00
Graydon Hoare
c3fdc8c7b5 Remove the no-longer-true fact of cmp (and soon, log) being universal. 2012-08-31 11:40:17 -07:00
Graydon Hoare
ee37f8a006 Fix up the tutorial doc-tests. 2012-08-31 11:40:17 -07:00
Brian Anderson
cfbc7cbdc7 Convert core::pipes to camel case 2012-08-28 14:33:18 -07:00
Brian Anderson
161a82e433 Camel case various core constructors 2012-08-27 17:22:18 -07:00
Brian Anderson
8337fa1a54 Camel case the option type 2012-08-26 15:56:16 -07:00
Tim Chevalier
00d71087e5 Expunge mention of match check from the tutorial 2012-08-24 22:28:19 -07:00
Paul Stansifer
9297d1f00a Minor doc updates. 2012-08-24 18:20:16 -07:00
Tim Chevalier
9f591319dd Rename str::bytes to str::to_bytes
Closes #3245
2012-08-23 15:46:10 -07:00
Paul Stansifer
0698fc6650 Clarify that macros are expr-positioned. 2012-08-23 15:13:53 -07:00
Paul Stansifer
9ef56a6ca8 Update the tutorial with the new macro system. 2012-08-23 11:14:15 -07:00
Paul Stansifer
345363866c Update macro invocation syntax in documentation. 2012-08-23 11:14:14 -07:00
Jim Blandy
ba6ccc1a59 Add comma after 'For example'. 2012-08-20 10:48:28 -07:00
Tim Chevalier
1d3abf15f1 Tutorial: clarify 'other uses of safe references' 2012-08-18 13:45:18 -07:00
Brian Anderson
3ab4b014cf Remove the class keyword 2012-08-17 10:13:45 -07:00
Eric Holk
5f57588887 Update the rock-paper-scissors example in the tutorial, and rename some types in core::pipes 2012-08-16 17:50:36 -07:00