Alex Crichton
89d1c9c48c
rollup merge of #16833 : SebastianZaha/fix-guide-typo
2014-08-30 23:47:12 -07:00
Alex Crichton
c50fffaa9a
rollup merge of #16832 : SebastianZaha/fix-inconsistent-version-numbering
2014-08-30 23:47:07 -07:00
Alex Crichton
c6fd2d31ee
rollup merge of #16807 : nham/guide_added_ownership_rule
2014-08-30 23:46:38 -07:00
Alex Crichton
e442406dd7
rollup merge of #16726 : tshepang/consistency
2014-08-30 23:45:44 -07:00
Alex Crichton
941b06b0bd
rollup merge of #16721 : tshepang/convenience
2014-08-30 23:45:41 -07:00
Alex Crichton
9fc29f1d2e
rollup merge of #16716 : tshepang/temp
2014-08-30 23:45:37 -07:00
nham
ea888edf63
doc: Add another restriction to the list of ownership rules.
2014-08-30 17:22:29 -04:00
Tshepang Lekhonkhobe
d89b2a5c3d
doc: make docs build
...
Addresses this comment:
https://github.com/rust-lang/rust/pull/16721#issuecomment-53946624
2014-08-30 08:02:40 +02:00
Sebastian Zaha
6138e835f6
Fix guide typo.
2014-08-28 23:14:09 +02:00
Sebastian Zaha
5f919cd7aa
Cargo begins version number at 0.0.1 instead of 0.1.0.
2014-08-28 22:47:45 +02:00
bors
9669c6dc1a
auto merge of #16752 : MatejLach/rust/more_cargorun, r=steveklabnik
...
Use cargo run as much as possible...
2014-08-27 11:16:12 +00:00
bors
d860a667e7
auto merge of #16724 : tshepang/rust/misleading, r=brson
...
We have to specify the module and the function name in the example where
the module shares a crate with the executable as well, so remove the
redundant (and potentially confusing) mention.
2014-08-27 07:46:17 +00:00
Matej Lach
7bfcace03b
Use cargo run in more places
2014-08-26 19:40:11 +01:00
bors
3ae1059632
auto merge of #16720 : tshepang/rust/trailing-prompt, r=alexcrichton
...
because eyesore
2014-08-26 14:11:08 +00:00
bors
084325f2d9
auto merge of #16722 : tshepang/rust/trailing-spaces, r=pcwalton
2014-08-24 13:51:03 +00:00
Tshepang Lekhonkhobe
538ea3cd05
doc: slight consistency fix
...
Others in this list are Capitalized, so do it here too.
2014-08-24 13:51:42 +02:00
Tshepang Lekhonkhobe
4aff964463
doc: remove misleading/confusing info
...
We have to specify the module and the function name in the example where
the module shares a crate with the executable as well, so remove the
redundant (and potentially confusing) mention.
2014-08-24 13:10:59 +02:00
Tshepang Lekhonkhobe
3aa0a14af0
doc: remove trailing spaces from Guide
2014-08-24 12:26:45 +02:00
Tshepang Lekhonkhobe
2d723237db
doc: use the more convenient 'cargo run' command
...
This lovely command has already been introduced, so let's take advantage
of it.
2014-08-24 12:21:41 +02:00
Tshepang Lekhonkhobe
f4fb3ad9aa
doc: remove trailing shell prompts
...
because eyesore
2014-08-24 12:16:14 +02:00
Tshepang Lekhonkhobe
3e94401a64
doc: move misplaced comma
...
Also:
* Remove unseeming repetition.
* By now, the reader has already heard that Rust is safe by default, so
reduce the overlong sentence, making it easier to read.
2014-08-24 04:24:25 +02:00
Tshepang Lekhonkhobe
6d2fe2e885
doc: add missing word
2014-08-24 04:03:51 +02:00
Daniel Hofstetter
1777047a54
Guide: Make add_three_times_four() public
2014-08-23 15:06:29 +02:00
bors
b9326ca91c
auto merge of #16653 : steveklabnik/rust/module_wording, r=alexcrichton
...
@kimundi was a bit worried this was misleading.
2014-08-22 11:50:58 +00:00
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