Steve Klabnik
b45853860c
remove references to HM inference
...
Fixes #17229 .
2014-09-15 13:23:31 -04:00
Steve Klabnik
df6240dc9e
properly annotate C code in the guide
...
Without 'notrust,' we were getting a playpen link.
Fixes #17228 .
2014-09-15 13:23:12 -04:00
Santiago Pastorino
f8bbf6d0e1
rustc main.rs
generates main binary file
2014-09-13 22:25:38 -03:00
Markus Unterwaditzer
d36ac4def5
These two lines are actually three.
2014-09-13 15:16:59 +02:00
Tshepang Lekhonkhobe
46e3014ce0
doc: that felt like it needed a stronger break than what comma provides
...
Remove trailing whitespace while at it
2014-09-13 09:40:30 +02:00
bors
ccae356ace
auto merge of #17155 : steveklabnik/rust/dherman_fixes, r=brson
...
Fixing more suggestions from @dherman . I made them individual commits in case we want to discuss any of them further.
2014-09-12 23:30:54 +00:00
Steve Klabnik
a99ba25f2b
Replace the Tutorial with the Guide.
...
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-09-11 16:21:32 -04:00
Steve Klabnik
c3943b3c89
don't say 'semantic'
2014-09-10 18:30:28 -04:00
Steve Klabnik
8f7470d864
remove rich hickey love
2014-09-10 18:29:58 -04:00
Steve Klabnik
311227003f
Remove much of the modules section.
...
This part can get _really_ confusing, and we want to make sure that
people succeed in the guide. I plan on making a module guide in the
future to replace the information here.
2014-09-10 18:28:37 -04:00
Steve Klabnik
9c8c82b87d
hello_world.rs -> main.rs
2014-09-10 18:26:17 -04:00
Steve Klabnik
b85191ae0f
dave hates jokes 😉
2014-09-10 18:24:40 -04:00
Steve Klabnik
c8e5068ec9
Be explicit with rustdoc.
...
I missed some annotations, and some were in a different style.
2014-09-09 18:42:05 -04:00
Steve Klabnik
18f1f5a06e
guide: Remove reference to uninitialized bindings
...
There isn't a good way to fit this in, so let's just not
mention it.
Fixes #16792 .
2014-09-08 18:50:08 -04:00
bors
57781c3c30
auto merge of #17019 : steveklabnik/rust/remove_compromise, r=thestinger
...
@dherman doesn't like it 😄
2014-09-07 07:16:27 +00:00
Steve Klabnik
d929d83eec
don't say compromise
...
@dherman doesn't like it 😄
2014-09-05 06:38:53 -04:00
Steve Klabnik
12d66e6ac3
Fix formatting in the guide.
...
Thanks @dherman.
2014-09-05 06:37:22 -04:00
Joseph Crail
7241267b93
doc: Fix spelling errors.
2014-09-01 20:52:38 -04:00
Alex Crichton
33029c5ddd
rollup merge of #16881 : cmr/guide-typo
2014-08-30 23:49:01 -07:00
Alex Crichton
56a029f145
rollup merge of #16852 : steveklabnik/desugar_destructure
2014-08-30 23:48:11 -07:00
Alex Crichton
963861fa40
rollup merge of #16849 : nhowell/patch-1
2014-08-30 23:48:05 -07:00
Alex Crichton
d1a5b277a1
rollup merge of #16839 : treeman/issue-15358
2014-08-30 23:47:23 -07:00
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
Corey Richardson
02d96ac612
guide: function -> closure in explanation of closures
2014-08-30 12:39:52 -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
Steve Klabnik
eb28237195
desugar -> destructure
...
wrong de- word.
2014-08-29 15:35:51 -04:00
Nick Howell
0a84308eba
Fix spelling mistakes in the guide
...
Also made some opinionated changes such as to prefer license over licence and judgment over judgement.
2014-08-29 11:23:21 -04:00
Jonas Hietala
5bf1b03e5c
Tweak error message for use of a keyword in ident position.
...
Closes #15358
2014-08-29 10:36:43 +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