summary refs log tree commit diff
path: root/src/doc/intro.md
AgeCommit message (Collapse)AuthorLines
2014-09-22doc: Removing repeated variable name to make it less ambiguiousAlfie John-4/+2
2014-09-11Replace the Tutorial with the Guide.Steve Klabnik-3/+3
The Guide isn't 100% perfect, but it's basically complete. It's certainly better than the tutorial is. Time to start pointing more people its way. I also just made it consistent to call all things 'guides' rather than tutorials. Fixes #9874. This is the big one. And two bugs that just go away. Fixes #14503. Fixes #15009.
2014-08-05doc: Fix the 30-minute intro to use += operator.Tim Joseph Dumol-3/+4
The 30-minute intro had a comment mentioning that `+=` will be included in the future. It's already included, and this fixes it to use `+=`.
2014-07-29Update disclaimer to improve clarity and intentHugo Jobling-2/+2
2014-07-22Remove unnecessary cast from introCole Mickens-1/+1
2014-07-17deprecate Vec::getNick Cameron-7/+7
2014-07-01doc: Clarify that an error is a compiler errorBrian Anderson-1/+1
This was asked on HN, and it's easy to clarify.
2014-06-29librustc: Remove the fallback to `int` for integers and `f64` forPatrick Walton-4/+4
floating point numbers for real. This will break code that looks like: let mut x = 0; while ... { x += 1; } println!("{}", x); Change that code to: let mut x = 0i; while ... { x += 1; } println!("{}", x); Closes #15201. [breaking-change]
2014-06-24librustc: Remove the fallback to `int` from typechecking.Niko Matsakis-8/+8
This breaks a fair amount of code. The typical patterns are: * `for _ in range(0, 10)`: change to `for _ in range(0u, 10)`; * `println!("{}", 3)`: change to `println!("{}", 3i)`; * `[1, 2, 3].len()`: change to `[1i, 2, 3].len()`. RFC #30. Closes #6023. [breaking-change]
2014-06-16Update repo locationBrian Anderson-1/+1
2014-06-11sync: Move underneath libstdAlex Crichton-4/+2
This commit is the final step in the libstd facade, #13851. The purpose of this commit is to move libsync underneath the standard library, behind the facade. This will allow core primitives like channels, queues, and atomics to all live in the same location. There were a few notable changes and a few breaking changes as part of this movement: * The `Vec` and `String` types are reexported at the top level of libcollections * The `unreachable!()` macro was copied to libcore * The `std::rt::thread` module was moved to librustrt, but it is still reexported at the same location. * The `std::comm` module was moved to libsync * The `sync::comm` module was moved under `sync::comm`, and renamed to `duplex`. It is now a private module with types/functions being reexported under `sync::comm`. This is a breaking change for any existing users of duplex streams. * All concurrent queues/deques were moved directly under libsync. They are also all marked with #![experimental] for now if they are public. * The `task_pool` and `future` modules no longer live in libsync, but rather live under `std::sync`. They will forever live at this location, but they may move to libsync if the `std::task` module moves as well. [breaking-change]
2014-06-03auto merge of #14622 : reillywatson/rust/master, r=alexcrichtonbors-1/+1
2014-06-03Doc: grammar fix in intro.mdReilly Watson-1/+1
2014-06-02docs: Stop using `notrust`Florian Gilcher-4/+4
Now that rustdoc understands proper language tags as the code not being Rust, we can tag everything properly. This change tags examples in other languages by their language. Plain notations are marked as `text`. Console examples are marked as `console`. Also fix markdown.rs to not highlight non-rust code.
2014-05-30Remove deprecated owned vector from intro.Jonathan Reem-13/+17
2014-05-06librustc: Remove `~EXPR`, `~TYPE`, and `~PAT` from the language, exceptPatrick Walton-5/+6
for `~str`/`~[]`. Note that `~self` still remains, since I forgot to add support for `Box<self>` before the snapshot. How to update your code: * Instead of `~EXPR`, you should write `box EXPR`. * Instead of `~TYPE`, you should write `Box<Type>`. * Instead of `~PATTERN`, you should write `box PATTERN`. [breaking-change]
2014-05-04docs: change compositionality to composabilityRicho Healey-1/+1
2014-04-25Fix variable name in prose to match code it's describingMichael Fairley-1/+1
2014-04-20Fix spelling mistakes in documentation and code.Joseph Crail-2/+2
2014-04-14doc: Address feedback about introBrian Anderson-0/+3
2014-04-09doc: Edit introBrian Anderson-164/+230
2014-04-09doc: Add "A 30-minute Introduction to Rust"Brian Anderson-0/+364
By Steve Klabnik.