375 Commits

Author SHA1 Message Date
bors
da796ededa auto merge of #16635 : steveklabnik/rust/ordering_comment, r=huonw
This way people won't try to copy/paste it in.

This is provided as an alternate solution to #16003. What do you think, @treeman?
2014-08-21 21:25:56 +00:00
Steve Klabnik
f6759924f4 fix module wording in guide
@kimundi was a bit worried this was misleading.
2014-08-21 12:14:59 -04:00
bors
6de570f817 auto merge of #16487 : steveklabnik/rust/guide_ownership, r=brson
Whew. This section was so important, I saved it for last.

/cc @wycats, @nikomatsakis
2014-08-21 09:55:54 +00:00
bors
20b3313c8c auto merge of #16471 : EduardoBautista/rust/chapter-14-fixes, r=steveklabnik
Just some small fixes for the guide.  The cargo stuff is probably because of an update.
2014-08-21 06:05:58 +00:00
bors
e052aa65db auto merge of #16447 : steveklabnik/rust/guide_vectors_extra, r=brson
Can't believe I forgot this!
2014-08-21 04:20:57 +00:00
bors
4dfdc697e9 auto merge of #16331 : steveklabnik/rust/guide_macros_and_unsafe, r=brson
The last two sections of the guide, and a small conclusion. I suck at conclusions.

I also realized I never covered strings, so I'm going to put that section up before we're actually 'done.'
2014-08-21 00:51:00 +00:00
Steve Klabnik
139516685b Guide: unsafe 2014-08-20 18:41:24 -04:00
Christoph Burgdorf
1f16437d47 fixes some syntax highlighting annotations 2014-08-20 23:23:07 +02:00
Steve Klabnik
d1e37399a2 Make note that Ordering is builtin.
This way people won't try to copy/paste it in.
2014-08-20 16:56:29 -04:00
Steve Klabnik
1681f43b91 Guide: macros 2014-08-20 14:42:27 -04:00
bors
43f040dac8 auto merge of #16408 : steveklabnik/rust/guide_iterators, r=brson
An introduction to iterators. I kinda like this, but I kinda don't. Hmmm.
2014-08-20 18:15:53 +00:00
bors
e11cb5bba7 auto merge of #16257 : steveklabnik/rust/guide_patterns, r=brson
Fixes #4417.
2014-08-20 16:25:53 +00:00
Eduardo Bautista
48c0f596a7 Remove repeated section and make file path generic 2014-08-19 12:07:25 -07:00
Eduardo Bautista
6b26aaea3e Use new Cargo starting version number 2014-08-19 12:07:17 -07:00
Eduardo Bautista
c9284cedeb Use new Cargo file syntax 2014-08-19 12:07:10 -07:00
Eduardo Bautista
6d189220d1 input_num is used is used instead of guess further in the guide 2014-08-19 12:07:05 -07:00
Eduardo Bautista
7ebb392fa9 Cargo generates "Hello, world!" instead of "Hello world!" 2014-08-19 12:07:00 -07:00
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
c47dfbb16a Guide: ownership 2014-08-18 13:27:44 -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
Steve Klabnik
3f9ff2e85c Guide: array subscript notation 2014-08-14 16:06:23 -04:00
Steve Klabnik
baf305dbf2 Guide: iterators 2014-08-14 16:04:56 -04: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
Steve Klabnik
ee3f07481f Guide: patterns.
Fixes #4417.
2014-08-12 15:33:01 -04: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