summary refs log tree commit diff
path: root/doc
AgeCommit message (Collapse)AuthorLines
2014-01-09Fix cheatsheet examples on 32-bit platforms.Huon Wilson-3/+3
0xDEADBEEF doesn't fit in an int = i32 (on 32-bit computers).
2014-01-07doc: TyposBrian Anderson-1/+1
2014-01-07Fixed code snippetsClinton Ryan-15/+15
2014-01-07Address some minor points in the pointer guideHuon Wilson-12/+18
cc #11364.
2014-01-07doc: Add rustc and syntax to the indexBrian Anderson-0/+2
2014-01-07doc: Add libgreen and libnative to the indexBrian Anderson-0/+2
2014-01-07'borrowed pointer' -> 'reference'Brian Anderson-98/+98
2014-01-07doc: Fix URL of libextra docsBrian Anderson-1/+1
2014-01-07doc: Title reference manual consistentlyBrian Anderson-1/+1
2014-01-07doc: Highlight the testing guide correctlyBrian Anderson-22/+22
2014-01-07mk: Start testing the cheatsheetBrian Anderson-3/+14
2014-01-07doc: Title guides consistentlyBrian Anderson-8/+8
2014-01-07doc: Fix table format in cheatsheetBrian Anderson-6/+6
2014-01-07doc: Syntax highlight the cheatsheetBrian Anderson-28/+28
2014-01-07auto merge of #11364 : brson/rust/docs, r=alexcrichtonbors-151/+522
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-07auto merge of #11350 : kchmck/rust/fix-pdf-glitches, r=alexcrichtonbors-0/+18
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-06doc: Fix tests in pointer guideBrian Anderson-51/+58
2014-01-06Add Pointer tutorial, rename borrowed pointer tutorial.Steve Klabnik-8/+484
2014-01-06doc: Update style of index, organization and trim out some excess.Brian Anderson-144/+32
2014-01-06auto merge of #11123 : alan-andrade/rust/move_wiki_to_internal_docs, r=brsonbors-4/+776
This is not done yet but I'm posting it to get feedback. The wiki has a ton of different tutorials/manuals/faq and so forth. Instead of migrating all of them right now, I just migrated the following: * The general main wiki page * Language FAQ * Project FAQ If this feels reasonable, please comment so that I can continue with confidence.
2014-01-06First phase of migrating the wiki to the internal docs #11078Alan Andrade-4/+776
2014-01-06auto merge of #11335 : rlane/rust/fix-vector-doc, r=alexcrichtonbors-2/+1
2014-01-06Fix formatting of some code blocks in pdf docsMick Koch-0/+18
Code blocks apparently need to be surrounded by whitespace to be output correctly when generating pdfs
2014-01-05doc: update reference to new vector size syntaxRich Lane-2/+1
2014-01-05auto merge of #11106 : alan-andrade/rust/convert_tutorials_to_guides, r=cmrbors-26/+24
* Moved every the tutorial-*.md into its own directory `/doc/guides/` * Makefile is aware
2014-01-05Convert sub tutorials into Guides #10838Alan Andrade-26/+24
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-05tutorial: add missing line to make example build.Lindsey Kuper-0/+1
2014-01-05tutorial: remove duplicate words.Lindsey Kuper-3/+3
2014-01-05tutorial: change `float` to `f32` since float is no longer a type.Lindsey Kuper-4/+4
2014-01-05Wording tweak suggested by @pcwalton.Lindsey Kuper-3/+4
2014-01-05Write up default methods for the tutorial.Lindsey Kuper-42/+111
2014-01-04doc: Fix an inexplicable error in a tutorial exampleBrian Anderson-1/+1
This code was wrong but apparently worked before removing struct deref. I don't know why.
2014-01-04doc: Fix tutorial for struct derefBrian Anderson-10/+10
2014-01-04auto merge of #11271 : adridu59/rust/patch-io, r=huonwbors-36/+42
2014-01-04doc: un-xfail conditions tutorialAdrien Tétar-36/+42
2014-01-04auto merge of #11283 : brson/rust/doublefailure, r=alexcrichtonbors-4/+2
Previously this was an `rtabort!`, indicating a runtime bug. Promote this to a more intentional abort and print a (slightly) more informative error message. Can't test this sense our test suite can't handle an abort exit. I consider this to close #910, and that we should open another issue about implementing less conservative semantics here.
2014-01-03auto merge of #11251 : pcwalton/rust/remove-at-mut, r=pcwaltonbors-20/+4
r? @nikomatsakis for the borrow checker changes. Write guards are now eliminated.
2014-01-03libsyntax: Fix tests.Patrick Walton-1/+0
2014-01-03auto merge of #11277 : brson/rust/more0.9, r=alexcrichtonbors-5/+5
2014-01-03doc: Remove all mentions of `@mut` from the documentation.Patrick Walton-19/+4
2014-01-02auto merge of #11052 : jvns/rust/testing-tutorial, r=brsonbors-0/+265
There's no explanation anywhere right now of how to do testing with Rust, so here's a basic explanation of how to write and run a test.
2014-01-02Abort on double-failure. #910Brian Anderson-4/+2
Previously this was an rtabort!, indicating a runtime bug. Promote this to a more intentional abort and print a (slightly) more informative error message. Can't test this sense our test suite can't handle an abort exit.
2014-01-02Bump more version numbers to 0.9Brian Anderson-5/+5
2013-12-31Add testing tutorial to docsJulia Evans-0/+265
2013-12-31Update documentation to remove reference to ::rt logginga_m0d-19/+0
2013-12-30auto merge of #11190 : eliovir/rust/patch-3, r=alexcrichtonbors-1/+1
#[ author = "Jane Doe" ]; raises "warning: unknown crate attribute" replace `pkgid` by `crate_id` add `comment`
2013-12-30auto merge of #11185 : huonw/rust/doc-ignore, r=cmrbors-3/+4
Currently any line starting with `#` is filtered from the output, including line like `#[deriving]`; this patch makes it so lines are only filtered when followed by a space similar to the current behaviour of the tutorial/manual tester.
2013-12-30rustdoc: only filter lines starting with '# ' from the shown code.Huon Wilson-3/+4
Currently any line starting with `#` is filtered from the output, including line like `#[deriving]`; this patch makes it so lines are only filtered when followed by a space similar to the current behaviour of the tutorial/manual tester.
2013-12-29Update Docs to use crateidLuis de Bethencourt-8/+8
2013-12-29rust.md : update crate attributes.eliovir-2/+2
#[ author = "Jane Doe" ]; raises "warning: unknown crate attribute"