Iven Hsu
2ca3dfd4ac
trpl: Remove tailing semicolon of an inner attribute
...
The syntax with tailing semicolon is deprecated and the compiler will
complain about it.
2015-05-20 16:55:38 +08:00
Pascal Hertleif
6f69cd6387
TRPL: Add rust
Marker to Some Code Block
...
This adds strictly more information to the source files and reduces the
need for customized tooling to render the book.
(While this should not change the output of _rustbook_, it is very
useful when rendering the sources with external tools like Pandoc.)
2015-05-18 20:56:00 +02:00
Przemysław Wesołek
2c2abe9a75
A number of spell-checking corrections.
2015-04-25 16:48:44 +02:00
Steve Klabnik
dc4554a9b3
Make note of documentation tests and binaries
...
Fixes #24228
2015-04-16 23:50:16 -04:00
Steve Klabnik
3ca83a79bf
Make note of possible XSS in Rustdoc
...
Fixes #24160
2015-04-16 23:50:12 -04:00
bors
d8be84eb44
Auto merge of #23830 - petrochenkov:spellcheck, r=steveklabnik
...
With help of https://github.com/lucasdemarchi/codespell
r? @steveklabnik
2015-03-29 22:39:46 +00:00
Huachao Huang
58c7d6f3e1
Fix typo
2015-03-29 18:22:01 +08:00
Vadim Petrochenkov
1accaa9f86
Fix some typos
2015-03-28 18:09:51 +03:00
Alex Crichton
3752958e40
syntax: Remove support for #[should_fail]
...
This attribute has been deprecated in favor of #[should_panic]. This also
updates rustdoc to no longer accept the `should_fail` directive and instead
renames it to `should_panic`.
2015-03-26 13:53:52 -07:00
Alex Crichton
29b54387b8
Test fixes and rebase conflicts, round 2
2015-03-23 17:10:19 -07:00
Alex Crichton
c608084ff5
rollup merge of #23598 : brson/gate
...
Conflicts:
src/compiletest/compiletest.rs
src/libcollections/lib.rs
src/librustc_back/lib.rs
src/libserialize/lib.rs
src/libstd/lib.rs
src/libtest/lib.rs
src/test/run-make/rustdoc-default-impl/foo.rs
src/test/run-pass/env-home-dir.rs
2015-03-23 15:13:15 -07:00
Brian Anderson
3d365f6a01
rustdoc: interpret all leading feature attributes in examples as crate attributes
...
This makes it possible to write `#![feature(foo)]` in doc tests.
2015-03-23 14:40:25 -07:00
Steve Klabnik
fbc823d1e3
Document how to document macros
...
Fixes #23571
2015-03-22 15:26:23 -04:00
Tamir Duberstein
f5765793b6
Strip trailing whitespace
2015-03-15 11:25:43 -07:00
Tamir Duberstein
d51047ded0
Strip all leading/trailing newlines
2015-03-15 09:08:21 -07:00
Steve Klabnik
977d7897fe
TRPL: Documentation
...
This chapter covers writing documentation in depth.
Fixes #4361
Fixes #12862
Fixes #14070
Fixes #14967
2015-03-04 13:32:43 -05:00
Manish Goregaokar
096b1052d0
fix doctest
2015-02-17 21:28:54 +05:30
Manish Goregaokar
2d94c4482d
Rollup merge of #22027 - iblech:patch-1, r=steveklabnik
...
The first commit adds a short note which I believe will reduce worries in people who work with closures very often and read the Rust book for their first time.
The second commit consists solely of tiny typo fixes. In some cases, I changed "logical" quotations like
She said, "I like programming".
to
She said, "I like programming."
because the latter seems to be the prevalent style in the book.
2015-02-17 15:41:30 +05:30
Ingo Blechschmidt
918d097c8e
Tiny typo changes (per discussion in pull request #22027 )
2015-02-16 23:13:58 +01:00
Steve Klabnik
ce22f30b9e
Make note of doc duplication with reexports
...
Fixes #16645
2015-02-13 08:56:44 -05:00
Ingo Blechschmidt
526e748846
Fix several tiny typos
2015-02-07 00:39:28 +01:00
Steve Klabnik
23da54d894
Move rustdoc.md into the book
...
Fixes #21430
2015-01-21 14:59:25 -05:00