| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2013-06-21 | fix text of tutorials | Joris Rehm | -5/+5 | |
| 2013-06-16 | Correct tutorial tests | Niko Matsakis | -3/+5 | |
| 2013-06-16 | fix benchmark and the tutorials | Daniel Micay | -7/+2 | |
| 2013-06-12 | std: remove substr & str::count_*, methodise char_len, implement slice_chars. | Huon Wilson | -1/+1 | |
| The confusing mixture of byte index and character count meant that every use of .substr was incorrect; replaced by slice_chars which only uses character indices. The old behaviour of `.substr(start, n)` can be emulated via `.slice_from(start).slice_chars(0, n)`. | ||||
| 2013-06-08 | remove deprecated vec::{is_empty, len} functions | Daniel Micay | -1/+1 | |
| 2013-06-07 | auto merge of #7003 : alco/rust/tutorial-block-expr, r=bstrie | bors | -4/+9 | |
| This is something that's only been briefly mentioned in the beginning of the tutorial and all of the closure examples within this subsection include only one expression between { and }. | ||||
| 2013-06-08 | A reminder that a block is a single expr in closures | Alexei Sholik | -4/+9 | |
| This is something that's only been briefly mentioned in the beginning of the tutorial and all of the closure examples within this subsection include only one expression between { and }. | ||||
| 2013-06-08 | Mention `for` in the section on loops | Alexei Sholik | -2/+5 | |
| The "4.3 Loops" section only describes `while` and `loop`. We then see `for` used in a code sample at the end of the "13. Vectors and strings" section, but it's explained for the first time only in the next section -- "14. Closures". It is worth mentioning it in "4.3 Loops". | ||||
| 2013-06-06 | tutorial: fix for-loop example | Ramkumar Ramachandra | -4/+5 | |
| Although in the example function `each` works as expected with rust-0.6 (the latest release), it fails to even compile with `incoming` rust (see test/compile-fail/bad-for-loop-2.rs). Change the function to return a `bool` instead of `()`: this works fine with both versions of rust, and does not misguide potential contributors. Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com> | ||||
| 2013-05-29 | librustc: Stop reexporting the standard modules from prelude. | Patrick Walton | -0/+5 | |
| 2013-05-23 | Fix some std/extra language in the tutorial | Erick Tryzelaar | -6/+5 | |
| 2013-05-23 | more testing fallout from core->std/std->extra move | Ted Horst | -58/+58 | |
| 2013-05-18 | replace old_iter::repeat with the Times trait | Daniel Micay | -1/+1 | |
| 2013-05-16 | syntax: implement #[deriving(DeepClone)]. Fixes #6514. | Huon Wilson | -2/+2 | |
| 2013-05-14 | Replace shared/unique by managed/owned in the tutorial | Youngsoo Son | -1/+1 | |
| 2013-05-13 | doc: document the #[deriving] attribute. | Huon Wilson | -0/+21 | |
| Closes #4916. | ||||
| 2013-05-10 | Replace io::println by println as it is now included in prelude.rs | Olivier Saut | -31/+27 | |
| 2013-05-03 | add gitattributes and fix whitespace issues | Daniel Micay | -4/+4 | |
| 2013-04-29 | tutorial: Fix 'self' to 'Self' | ILYONG CHO | -5/+4 | |
| 2013-04-28 | make way for a new iter module | Daniel Micay | -1/+1 | |
| 2013-04-26 | tutorial: rework the section on destructors | Daniel Micay | -99/+33 | |
| This removes the comparison to manual memory management examples, because it requires too much existing knowledge. Implementing custom destructors can be covered in the FFI tutorial, where `unsafe` is already well explained. | ||||
| 2013-04-22 | Rename Div operator trait to Quot and Modulo operator trait to Rem | Brendan Zabarauskas | -1/+1 | |
| 2013-04-19 | Fix debug! usage in tutorial | Dan Luu | -1/+1 | |
| 2013-04-17 | Explain use of debug\! in tutorial | Dan Luu | -0/+3 | |
| 2013-04-10 | auto merge of #5773 : dunsmoreb/rust/incoming, r=bstrie | bors | -1/+5 | |
| Updates the tutorial to include a simple definition for tuples in section 4.2. Fixes #5132. | ||||
| 2013-04-10 | Update destructuring to reference tuples section. | Bryan Dunsmore | -1/+2 | |
| 2013-04-08 | auto merge of #5782 : zofrex/rust/doc-1-tuples, r=thestinger | bors | -1/+1 | |
| As per [the 0.6 release notes](https://github.com/mozilla/rust/wiki/Doc-detailed-release-notes#06-april-2013) single-element tuples are legal. I spotted a couple of places in the documentation that said otherwise, and propose these changes to them. | ||||
| 2013-04-08 | auto merge of #5775 : pavpanchekha/rust/patch-1, r=thestinger | bors | -1/+1 | |
| Change wrong field name in "Trait Inheritance" section. | ||||
| 2013-04-07 | Fixed typo | Pavel Panchekha | -1/+1 | |
| Change wrong field name in "Trait Inheritance" section. | ||||
| 2013-04-07 | Include definition of tuples for destructuring. | Bryan Dunsmore | -1/+4 | |
| Updates the tutorial to include a simple definition for tuples in section 4.2. Fixes #5132. | ||||
| 2013-04-07 | Update tutorial: 1-tuples now exist | zofrex | -1/+1 | |
| 2013-04-05 | auto merge of #5721 : dhardy/rust/master, r=graydon | bors | -0/+32 | |
| This is some stuff which seemed to be missing to me (though I haven't read everything yet so hope I haven't missed the relevant section). A similar addition for borrowing handles is needed, but #5720 stumped me. Comments welcome. | ||||
| 2013-04-05 | Tutorial: spelling correction and move a failing test to an xfail-test ↵ | Diggory Hardy | -1/+3 | |
| marked code block. | ||||
| 2013-04-04 | Tutorial: fix typo | Diggory Hardy | -4/+4 | |
| 2013-04-04 | Tutorial: comment on how mutability applies to boxes | Diggory Hardy | -0/+30 | |
| 2013-04-04 | auto merge of #5716 : dhardy/rust/master, r=thestinger | bors | -1/+1 | |
| 2013-04-04 | Tutorial: rename variable to avoid confusion. | Diggory Hardy | -1/+1 | |
| 2013-04-04 | auto merge of #5707 : brettcannon/rust/patch-1, r=thestinger | bors | -1/+1 | |
| The sentence "Remember that `(float, float)` is a tuple of two floats" sounds like you've already read a section on tuples, but that section comes later. Changing it to "Assuming that ..." makes it more about taking the writer's word that the syntax is how tuples are defined. | ||||
| 2013-04-03 | auto merge of #5710 : ajuckel/rust/patch-1, r=luqmana | bors | -1/+1 | |
| One word typo fix | ||||
| 2013-04-03 | Simple typo fix | Anthony Juckel | -1/+1 | |
| 2013-04-03 | Update tut. to not sound like I missed a section | Brett Cannon | -1/+1 | |
| The sentence "Remember that `(float, float)` is a tuple of two floats" sounds like you've already read a section on tuples, but that section comes later. Changing it to "Assuming that ..." makes it more about taking the writer's word that the syntax is how tuples are defined. | ||||
| 2013-04-03 | rename Linear{Map,Set} => Hash{Map,Set} | Daniel Micay | -2/+2 | |
| 2013-04-03 | hashmap: rm linear namespace | Daniel Micay | -1/+1 | |
| 2013-04-01 | tidy version numbers and copyright dates | Graydon Hoare | -5/+5 | |
| 2013-04-01 | doc: Update tutorial description of core | Brian Anderson | -23/+59 | |
| 2013-03-31 | Update tutorial.md | Luqman Aden | -2/+2 | |
| Change fn() -> &fn(). | ||||
| 2013-03-29 | librustc: Remove `fail_unless!` | Patrick Walton | -5/+5 | |
| 2013-03-29 | tutorial: add an example of freezing a managed box | Daniel Micay | -4/+15 | |
| 2013-03-29 | tutorial: improve the managed boxes section | Daniel Micay | -0/+14 | |
| 2013-03-29 | tutorial: improve the owned boxes section | Daniel Micay | -5/+40 | |
