Commit Graph

14476 Commits

Author SHA1 Message Date
Brian Anderson 107b2e5348 tutorial: It doesn't matter that Rust identifiers are the same as C 2012-12-20 16:32:43 -08:00
Brian Anderson 36e2c100bf tutorial: Integrate constants into main intro text 2012-12-20 16:32:43 -08:00
Brian Anderson e06ca65244 tutorial: Remove the section on constants
We can mention that constants are declared with 'const' in one line.
Don't need an entire section.
2012-12-20 16:32:42 -08:00
Brian Anderson 0b0b50aaae tutorial: Remove the entire 'Types' section
It's not interesting

/cc: #4217
2012-12-20 16:32:42 -08:00
Brian Anderson 64681213af tutorial: Remove mutable vector syntax 2012-12-20 16:32:42 -08:00
Brian Anderson e0f9f89c65 tutorial: Remove confusing discussion about semicolons
This takes up a lot of words and isn't very clear. The previous
discussion gets they idea across.

/cc: #4217
2012-12-20 16:32:42 -08:00
Brian Anderson 9cbc0fd0d9 tutorial: Fix formatting 2012-12-20 16:32:42 -08:00
Brian Anderson a24b9e038a tutorial: update intro 2012-12-20 16:32:42 -08:00
Brian Anderson f15ccc06f0 tutorial: Update for moves based on type
/cc: #4217
2012-12-20 16:32:42 -08:00
Brian Anderson 41870da5ad tutorial: Typos 2012-12-20 16:32:42 -08:00
Brian Anderson 191b328f31 tutorial: Move method discussion after closures, before generics
/cc: #4217
2012-12-20 16:32:42 -08:00
Brian Anderson af5cd341d3 Move mast static method to the section on methods
/cc: #4217
2012-12-20 16:32:42 -08:00
Brian Anderson 42ab33e572 Use explicit self in rest of tutorial
/cc: #4217
2012-12-20 16:32:42 -08:00
Brian Anderson 171e6a16f7 tutorial: Rewrite method section to deal with explicit self
Has to be moved until after the pointer discussion.

/cc: #4217
2012-12-20 16:32:41 -08:00
Brian Anderson 7d2c2dbf4b tutorial: Reorder sections on traits
/cc: #4217
2012-12-20 16:32:41 -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
Erick Tryzelaar 76a2891feb Remove the cfg(stageN)-specific serialize code. 2012-12-20 12:52:53 -08:00
Erick Tryzelaar faef32995c Register snapshots 2012-12-20 12:49:37 -08:00
Erick Tryzelaar e8102e73a9 core: Add a Zero and One trait to num
I believe these are the last traits we need in order
to start grouping our numerical types into mathematical
groups and rings.
2012-12-20 07:15:04 -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
Erick Tryzelaar b865b4b70d Fix a warning in the workcache test. 2012-12-19 18:16:20 -08:00
Erick Tryzelaar c14105bb8a Remove serialize::traits submodule. 2012-12-19 18:16:20 -08:00
Erick Tryzelaar 9c673b246c Remove the old serialization code
Closes #3713.
2012-12-19 18:16:20 -08:00
Brian Anderson 6742c982a4 Bump version numbers in docs 2012-12-19 18:03:03 -08: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
Brian Anderson bb66fce367 Mention module/type namespace merge in release notes 2012-12-19 14:43:58 -08:00
Brian Anderson dac88fa7e6 Remove transitional path2 attribute 2012-12-19 14:23:53 -08:00
Brian Anderson 78dc226617 Register snapshots 2012-12-19 12:30:36 -08:00
Brian Anderson 327c1f58ad Add Isaac Aggrey to AUTHORS 2012-12-19 12:15:48 -08:00
Brian Anderson 15049f6b19 Merge pull request #4225 from isaacaggrey/patch-1
Fix doc typo
2012-12-19 12:14:57 -08:00
Isaac Aggrey 63232d6cf1 Fix doc typo 2012-12-19 12:46:24 -06:00
Erick Tryzelaar 2ad41b881c core: add unwrap methods to dvec, either, and mutable 2012-12-18 20:54:13 -08:00
Erick Tryzelaar 82a983de68 Remove superfluous parentheses. 2012-12-18 20:54:13 -08:00
Erick Tryzelaar a0ef334179 core: use movable self to clean up option/result. 2012-12-18 20:54:13 -08:00
Erick Tryzelaar 938058b004 Fix vec::flat_map_to_vec method 2012-12-18 20:48:51 -08:00
Brian Anderson 97ddf3c7bd Stop resolving static methods at the module level. Closes #4179 2012-12-18 18:35:18 -08:00
Graydon Hoare 8e28f23c60 core: add macro_rules! for "condition! { c: in -> out; }". 2012-12-18 17:22:27 -08:00
Brian Anderson 263136d389 'trait instance' -> 'object' 2012-12-18 17:03:56 -08:00
Brian Anderson 9057e98a01 Make #[path] work with absolute paths again. Fix check-fast 2012-12-18 17:00:26 -08:00
Brian Anderson 80a4769318 Update tutorial on generics. #4217 2012-12-18 16:28:40 -08:00
Brian Anderson a59747cd7f Another tweak to auto_encode to only use trait-qualified static methods 2012-12-18 15:38:34 -08:00
Brian Anderson 907fa74e8b Fix some iter tests 2012-12-18 15:08:51 -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 d062896a8b Deal with test failures in various ways 2012-12-18 14:35:53 -08:00
Graydon Hoare 6d4fbd4f9e core: fix remaining repr bugs, r=burningtree. 2012-12-18 14:35:20 -08:00
Brian Anderson b46e25bdc8 Merge commit 'erickt/incoming^' into kind-names 2012-12-18 12:22:59 -08:00