Eduardo Bautista
63e99f999d
Cargo begins version number at 0.0.1 instead of 0.1.0
2014-08-19 12:06:49 -07:00
bors
ef0d49d78f
auto merge of #16585 : steveklabnik/rust/random_remarks, r=pcwalton
...
Fixes #15954 and #16354 .
2014-08-19 13:05:52 +00:00
bors
eaf810a219
auto merge of #16345 : EduardoBautista/rust/fix-error-message-in-guide, r=steveklabnik
...
Just some simple changes to the guide.
2014-08-19 03:11:12 +00:00
Steve Klabnik
c88feffde4
Make comment about small bias in %.
...
Fixes #16354 .
2014-08-18 17:46:18 -04:00
Steve Klabnik
f8a9211740
Explain modulo in the guide.
...
Fixes #15954
2014-08-18 15:38:47 -04:00
Steve Klabnik
88e62a96ce
Remove 'static analysis'
...
This has certain implications that are wrong.
Fixes #16299 .
2014-08-18 13:10:25 -04:00
bors
dbb0cee682
auto merge of #16474 : MatejLach/rust/cargorun_fix, r=steveklabnik
...
This fixes #16451 .
While moving things around, I also removed a bunch of unnecessary whitespace, however I can put it back in if that's undesired.
Thanks.
2014-08-14 23:01:17 +00:00
Matej Lach
bede9ecdfe
Introduce the cargo run command earlier (squashed)
2014-08-13 20:26:18 +01:00
Andreas Tolfsen
0edc55dc21
Guide: Add missing integer type to section on if expressions
2014-08-13 15:58:12 +01:00
bors
9e191cdf3c
auto merge of #16427 : brson/rust/https, r=thestinger
2014-08-11 22:46:16 +00:00
Steve Klabnik
8175cba597
Guide: vectors
2014-08-11 16:21:41 -04:00
Brian Anderson
21a70b38ba
Update docs to use HTTPS for static.rust-lang.org addresses
...
cc #16123
2014-08-11 12:31:16 -07:00
Peer Aramillo Irizar
9151599ec8
Fix some minor issues in the guide.
2014-08-11 07:12:22 +02:00
bors
98f1b0fb68
auto merge of #16333 : steveklabnik/rust/guide_strings, r=brson
...
I _think_ this is the right place to introduce strings. It's a bit hard to talk about without understanding pointers and ownership, but you need to have some idea of what's going on...
2014-08-08 18:06:11 +00:00
Steve Klabnik
50ffe0ccab
Guide: method syntax
2014-08-08 10:39:48 -04:00
bors
c5b8d89b27
auto merge of #16309 : steveklabnik/rust/guide_tasks, r=brson
...
I wasn't 100% sure of what level of detail I wanted to go into things here. For example, 1:1 vs M:N tasks seems like a better distinction to leave to the Guide.
2014-08-08 07:26:15 +00:00
Eduardo Bautista
b1428279f1
Single curly braces instead of double are being used
2014-08-08 00:52:09 -05:00
Eduardo Bautista
59f23aec07
Update error message on compile
2014-08-08 00:47:47 -05:00
bors
87d2bf400c
auto merge of #16273 : steveklabnik/rust/guide_generics, r=brson
2014-08-08 02:01:16 +00:00
bors
8888d7c8e9
auto merge of #16206 : steveklabnik/rust/guide_lambdas, r=brson
2014-08-07 23:36:17 +00:00
Steve Klabnik
dac73ad3c1
Guide: Traits
2014-08-07 18:12:36 -04:00
Steve Klabnik
e0fa999891
Guide: strings
2014-08-07 16:37:39 -04:00
Steve Klabnik
b1435ed593
Guide: tasks
2014-08-07 15:21:57 -04:00
Steve Klabnik
aa8602e20a
Guide: closures
2014-08-07 14:11:14 -04:00
Daniel Hofstetter
c6c3f47f7c
Guide: Fix imports (times_four instead of add_four)
2014-08-06 09:51:02 +02:00
Steve Klabnik
057c9ae30a
Guide: generics
2014-08-05 13:47:32 -04:00
bors
cbdae97689
auto merge of #16234 : cakebaker/rust/rename_guessing_game_rs_to_main_rs, r=steveklabnik
...
Follow-up to #16215
2014-08-05 11:31:22 +00:00
Daniel Hofstetter
d0bd10b891
Rename guessing_game.rs to main.rs in guide
2014-08-04 16:41:37 +02:00
Daniel Hofstetter
c586bf21aa
Rename modules.rs to main.rs in guide
2014-08-04 16:23:46 +02:00
Daniel Hofstetter
7ba9c44b94
Remove "bin" section from Cargo.toml
2014-08-03 14:19:05 +02:00
bors
ed264286dd
auto merge of #16198 : cakebaker/rust/remove_unused_tuple_struct, r=steveklabnik
2014-08-03 08:11:10 +00:00
bors
4d4eb10230
auto merge of #16186 : steveklabnik/rust/guide_cargo_new, r=alexcrichton
...
Two commits here: one to add `cargo new` to the guide, and a second to mention the lockfile that Cargo now generates.
2014-08-02 23:36:09 +00:00
Daniel Hofstetter
867d8e6356
Remove unused tuple struct
2014-08-02 17:28:42 +02:00
bors
5bad333fec
auto merge of #16175 : EduardoBautista/rust/fix-guessing-game-appearing-early, r=steveklabnik
...
Solves: https://github.com/rust-lang/rust/issues/16162
2014-08-02 12:06:09 +00:00
bors
71a42807ad
auto merge of #16160 : EduardoBautista/rust/use-bang-at-end-of-hello-world, r=alexcrichton
...
Further into the guide "Hello, world!" is used instead of "Hello, world".
2014-08-02 05:06:11 +00:00
Steve Klabnik
2b9c5d2f74
Add note about Cargo.lock
2014-08-01 22:58:16 -04:00
Steve Klabnik
1a80dcbd56
Use cargo new.
...
Now that this feature exists, we should use it.
Fixes #16078
2014-08-01 22:58:01 -04:00
bors
d7cfc34a22
auto merge of #16119 : steveklabnik/rust/guide_pointers, r=brson
...
This is the next section of the guide, and it's on pointers. It's not done yet, as I need to write the section on ownership and borrowing, but I figured I'd share the rest now, to get feedback on the rest of it while I take some time to get that right.
2014-08-02 00:31:03 +00:00
Eduardo Bautista
69267b1e1d
Move caret under the 'x' variabe
2014-08-01 14:34:18 -05:00
Eduardo Bautista
ea92a5e90a
Use hello_world instead of the guessing_game
2014-08-01 14:30:52 -05:00
Eduardo Bautista
c0048dec4a
Be more consistent with "Hello, world!"
2014-07-31 23:02:22 -05:00
Steve Klabnik
a74197e3f1
Guide: pointers
...
Not the pointer guide, but the guide section on pointers.
Adding a section about patterns for after this, as well.
2014-07-31 14:39:16 -04:00
Steve Klabnik
6121d82d47
Guide: testing
2014-07-30 09:36:32 -04:00
Steve Klabnik
456c4494b8
New Guide: crates and modules
2014-07-29 12:50:25 -04:00
bors
83a8a56473
auto merge of #15899 : aochagavia/rust/guide, r=kballard
...
The removed code caused confusion because it is not clear that the type of `y` is actually `()`
2014-07-23 06:31:11 +00:00
Adolfo Ochagavía
2d1b87ce33
Remove misleading code example from The Guide
...
The removed code caused confusion because it is not clear that the type of `y` is actually `()`
2014-07-22 20:58:25 +02:00
Steve Klabnik
1e9f86b1dc
Guide: fix headings
2014-07-21 19:39:16 -04:00
Steve Klabnik
e8c9d21130
Guessing game explanation
...
We now build the game at the end of the first section.
I wanted to do it as we went along, but it's too hard with these fundamentals
not in place. The rest will do the 'as we go' approach, but I think this is
better.
2014-07-21 09:54:03 -07:00
Steve Klabnik
fca79e4726
Guide: improve error handling
2014-07-21 09:53:58 -07:00
David Vazgenovich Shakaryan
69127f2f4e
Fix typo.
2014-07-18 23:11:25 -07:00