Scott Lawrence
221670b5bc
Removing usage of the do keyword from documentation
2014-01-29 09:15:42 -05:00
William Ting
9f60e7c306
Update extract-tests.py to use same test directives as rustdoc.
...
Closes #11362 .
2014-01-28 14:52:36 -06:00
Salem Talha
cc61fc0994
Removed all instances of XXX in preparation for relaxing of FIXME rule
2014-01-26 14:42:53 -05:00
bors
72e888960f
auto merge of #11764 : Armavica/rust/doc_patmatch, r=pcwalton
...
I also removed the obsolete '*' wildcard from the manual.
2014-01-24 17:51:31 -08:00
Virgile Andreani
7b1d124f6e
Add '@' subpattern binding and examples to manual and tutorial
2014-01-24 03:58:02 +01:00
Trent Ogren
e1e7ddc494
Fix typo in tutorial
2014-01-23 10:43:48 -06:00
Ben Striegel
fce792249e
Typo in module tutorial
2014-01-22 16:03:00 -05:00
Div Shekhar
8f93d39c75
doc: add note below diagram about memory layout.
2014-01-15 22:02:48 -08:00
Div Shekhar
065f936bf1
doc: Boxes diagram shows enum value inside box.
2014-01-15 21:46:02 -08:00
Alex Crichton
289ba105ae
dox: Write a guide to the rust runtime
2014-01-13 23:22:07 -08:00
Brendan Zabarauskas
4fc0452ace
Remove re-exports of std::io::stdio::{print, println} in the prelude.
...
The `print!` and `println!` macros are now the preferred method of printing, and so there is no reason to export the `stdio` functions in the prelude. The functions have also been replaced by their macro counterparts in the tutorial and other documentation so that newcomers don't get confused about what they should be using.
2014-01-11 10:46:00 +11:00
Brian Anderson
fee8c1d2c7
doc: Typos
2014-01-07 21:31:37 -08:00
Brian Anderson
d323632669
'borrowed pointer' -> 'reference'
2014-01-07 18:49:13 -08:00
bors
aa1839bd69
auto merge of #11364 : brson/rust/docs, r=alexcrichton
...
This reorganizes the documentation index to be more focused on the in-tree docs, and to clean up the style, and it also adds @steveklabnik's pointer guide.
2014-01-07 15:46:38 -08:00
bors
3912a8779e
auto merge of #11350 : kchmck/rust/fix-pdf-glitches, r=alexcrichton
...
I was reading through the tutorial and manual pdfs and noticed some of the code blocks have glitches in their formatting:
![](http://i.imgur.com/9HXZ4dW.png )
![](http://i.imgur.com/Ds2By6j.png )
Putting empty lines around the blocks fixes this. I did a search through the other markdown files and made the change there as well.
2014-01-07 08:26:33 -08:00
Steve Klabnik
6f09d80f97
Add Pointer tutorial, rename borrowed pointer tutorial.
2014-01-06 19:37:26 -08:00
Alan Andrade
e53b5661a7
First phase of migrating the wiki to the internal docs #11078
2014-01-06 15:27:49 -06:00
Mick Koch
5464d48e90
Fix formatting of some code blocks in pdf docs
...
Code blocks apparently need to be surrounded by whitespace to be output
correctly when generating pdfs
2014-01-06 12:56:41 -05:00
bors
b6a1fde1c6
auto merge of #11106 : alan-andrade/rust/convert_tutorials_to_guides, r=cmr
...
* Moved every the tutorial-*.md into its own directory `/doc/guides/`
* Makefile is aware
2014-01-05 22:11:39 -08:00
Alan Andrade
eeafee4c9b
Convert sub tutorials into Guides #10838
...
Ensure configure creates doc/guides directory
Fix configure makefile and tests
Remove old guides dir and configure option, convert testing to guide
Remove ignored files
Fix submodule issue
prepend dir in makefile so that bor knows how to build the docs
S to uppercase
2014-01-05 22:48:19 -06:00
Lindsey Kuper
8224816a34
tutorial: add missing line to make example build.
2014-01-05 22:03:13 -05:00
Lindsey Kuper
4f1ebef96a
tutorial: remove duplicate words.
2014-01-05 22:03:13 -05:00
Lindsey Kuper
60e139409f
tutorial: change float
to f32
since float is no longer a type.
2014-01-05 22:03:13 -05:00
Lindsey Kuper
5681c711e1
Wording tweak suggested by @pcwalton.
2014-01-05 22:03:12 -05:00
Lindsey Kuper
62b74d9890
Write up default methods for the tutorial.
2014-01-05 22:03:12 -05:00
Brian Anderson
01af682c64
doc: Fix an inexplicable error in a tutorial example
...
This code was wrong but apparently worked before removing struct
deref. I don't know why.
2014-01-04 14:44:14 -08:00
Brian Anderson
ec69dea6f7
doc: Fix tutorial for struct deref
2014-01-04 14:44:14 -08:00
bors
3dd7c49faf
auto merge of #11251 : pcwalton/rust/remove-at-mut, r=pcwalton
...
r? @nikomatsakis
for the borrow checker changes. Write guards are now eliminated.
2014-01-03 22:36:53 -08:00
Patrick Walton
8092153634
libsyntax: Fix tests.
2014-01-03 22:22:40 -08:00
bors
8bfd2a84cf
auto merge of #11277 : brson/rust/more0.9, r=alexcrichton
2014-01-03 17:16:50 -08:00
Patrick Walton
9b35ae75d2
doc: Remove all mentions of @mut
from the documentation.
2014-01-03 14:02:01 -08:00
Brian Anderson
1155ee9ee9
Bump more version numbers to 0.9
2014-01-02 10:55:28 -08:00
Julia Evans
f0322371dd
Add testing tutorial to docs
2013-12-31 10:34:55 -05:00
eliovir
743d39293f
Update tutorial.md : rename pkgid to crate_id
2013-12-28 10:32:03 +01:00
bors
53d1a67bbd
auto merge of #10944 : metajack/rust/pkgid-docs, r=cmr
2013-12-14 08:11:29 -08:00
Jack Moffitt
da9a02a189
Update documentation for new pkgid
attribute.
2013-12-12 15:22:23 -07:00
Corey Richardson
f0867e0ba2
Some rustdoc manual fixes
...
Clarify that it's sundown, and that we don't support magic
2013-12-11 06:47:05 -05:00
Corey Richardson
c935a88a97
Remove duplication of libstd docs.
...
This is literally a copy-paste, there's no need to have this duplication.
2013-12-10 09:46:40 -05:00
Corey Richardson
c8f47db8f5
Update Freeze
information
2013-12-10 09:43:36 -05:00
Corey Richardson
fab5624eb6
Tiny fixes to linked list section.
2013-12-10 09:43:36 -05:00
Corey Richardson
a44852a2d5
Update Owned to Send, show some types which aren't
2013-12-10 09:43:36 -05:00
Corey Richardson
888144c98d
Function declaration takes pats, not exprs.
2013-12-10 09:43:36 -05:00
Corey Richardson
b5122c52ae
Clarify newtype
2013-12-10 09:43:36 -05:00
Corey Richardson
d9eff8de8a
Clarify arity
2013-12-10 09:43:36 -05:00
Corey Richardson
2750adb5d8
Inherited mutabilty clarification
...
Also no longer reference mutable fields
2013-12-10 09:43:36 -05:00
Corey Richardson
381c08bf69
loop -> continue
2013-12-10 09:43:36 -05:00
Corey Richardson
f006a10b1e
Wildcard changes.
2013-12-10 09:43:35 -05:00
Corey Richardson
079ea00d23
Macro definition is feature gated.
2013-12-10 09:43:35 -05:00
Corey Richardson
eb8739f4f8
Fix tiny formatting error.
2013-12-10 09:43:35 -05:00
Corey Richardson
0f82cbd19a
Clarify as
, mention transmute.
2013-12-10 09:43:35 -05:00