Steve Klabnik
f4647ac3b7
Rollup merge of #24467 - brettcannon:patch-1, r=alexcrichton
...
Had a newline in middle of a link, causing the link text to be shown with `[]`.
2015-04-15 17:26:08 -04:00
Steve Klabnik
031619f5af
Rollup merge of #24425 - dhuseby:bitrig_fixing_tests_3, r=alexcrichton
...
the code block in the no-stdlib.md file caused test failure on bitrig and openbsd.
Closes #24108
2015-04-15 17:26:06 -04:00
Brett Cannon
9ce73d40d4
Grammar fix
...
"as an library" -> "as a library"
2015-04-15 15:56:01 -04:00
Andrew Seidl
86ec4571d5
doc: Fix link to rustbyexample.com
2015-04-15 13:05:52 -05:00
Brett Cannon
40c7350407
Fix link to stack/heap page
...
Link spanned a line and was mising the actual link target.
2015-04-15 12:57:22 -04:00
Brett Cannon
09236bcb07
Fix link formatting error
...
Had a newline in middle of a link, causing the link text to be shown with `[]`.
2015-04-15 12:51:34 -04:00
Steve Klabnik
e5631f94b4
TRPL: move semantics
2015-04-15 11:50:35 -04:00
Tamir Duberstein
29ac04402d
Positive case of len()
-> is_empty()
...
`s/(?<!\{ self)(?<=\.)len\(\) == 0/is_empty()/g`
2015-04-14 20:26:03 -07:00
Steve Klabnik
54abe4ce91
link to ownership for now
2015-04-14 15:01:05 -04:00
Dave Huseby
6fc138136d
disabling a test for bitrig and openbsd
2015-04-14 11:21:33 -07:00
Alex Crichton
b9d9a376ea
rollup merge of #24385 : aturon/unstable-scoped
...
Conflicts:
src/libstd/thread/mod.rs
src/test/bench/shootout-mandelbrot.rs
src/test/bench/shootout-reverse-complement.rs
src/test/run-pass/capturing-logging.rs
src/test/run-pass/issue-9396.rs
src/test/run-pass/tcp-accept-stress.rs
src/test/run-pass/tcp-connect-timeouts.rs
src/test/run-pass/tempfile.rs
2015-04-14 10:59:55 -07:00
Alex Crichton
7913f5659d
rollup merge of #24401 : fenduru/patch-2
...
Not sure if `From<Error>` is the correct way to reference that trait (maybe `From<E: Error>`?)
r? @steveklabnik
2015-04-14 10:56:00 -07:00
Alex Crichton
84e4a724dc
rollup merge of #24398 : steveklabnik/thanks_mdinger
...
The two-step command left off the nightly flag :frown:
Thanks @mdinger
2015-04-14 10:55:58 -07:00
Alex Crichton
cf53ae03da
rollup merge of #24394 : rundrop1/patch-1
...
Feel silly because it's just one thing but it was bothering me that the documentation tells you what you're not going to learn now instead of linking to the item in question. Am total noob pls assist, where is power button. :)
2015-04-14 10:55:57 -07:00
Alex Crichton
ecbbbfa258
rollup merge of #24393 : steveklabnik/rbe
...
It's no longer a community based project.
Also, Rust for Rubyists is deprecated at this point, so we shouldn't
link to it anymore.
2015-04-14 10:55:56 -07:00
Alex Crichton
db79ce0c9f
rollup merge of #24368 : kgv/fix
...
Remove arity link from enums.md
r? @steveklabnik
2015-04-14 10:55:46 -07:00
Alex Crichton
330466ed96
rollup merge of #24273 : steveklabnik/even_moar_editing
...
Three more sections
2015-04-14 10:55:41 -07:00
Steve Klabnik
6476a1e378
mutability fixes
2015-04-14 13:41:31 -04:00
Steve Klabnik
8b6987aced
copyediting: structs
2015-04-14 11:25:38 -04:00
Aaron Turon
a9fd41e1f9
Fallout: move from scoped to spawn
2015-04-14 08:15:45 -07:00
fenduru
ab93a51068
Point to From trait in error handling guide
...
Not sure if `From<Error>` is the correct way to reference that trait (maybe `From<E: Error>`?)
2015-04-13 22:01:20 -04:00
Steve Klabnik
00867b312c
Fix up nightly installation instructions.
...
The two-step command left off the nightly flag :frown:
Thanks @mdinger
2015-04-13 21:23:44 -04:00
Steve Klabnik
8a65029fac
Link RBE more prominently
...
It's no longer a community based project.
Also, Rust for Rubyists is deprecated at this point, so we shouldn't
link to it anymore.
2015-04-13 18:33:37 -04:00
rundrop1
57e3475794
Update vectors.md
...
Feel silly because it's just one thing but it was bothering me that the documentation tells you what you're not going to learn now instead of linking to the item in question. Am total noob pls assist, where is power button. :)
2015-04-13 17:14:53 -05:00
Avdi Grimm
810757935e
Wording for dynamic languages.
2015-04-13 16:23:57 -04:00
Avdi Grimm
ab8c884b34
Refer to Ruby/Python/JS as "dynamically evaluated"
...
"Dynamically typed" didn't seem like a relevant distinction; there are statically-compiled dynamically-typed languages. Another term that might work here (despite being notoriously vague) is "scripting languages".
2015-04-13 14:03:24 -04:00
kgv
c3c83bfda4
Arity link has moved to primitive-types.md.
2015-04-13 12:11:37 +03:00
Michael Alexander
91ca622cdf
Updated dead link in Traits chapter of book to point to Trait Objects chapter.
2015-04-12 10:42:05 +08:00
Manish Goregaokar
0a2885ad94
Fix readme doctest (fixup #24239 )
2015-04-11 21:09:36 +05:30
Manish Goregaokar
859c5ed4d6
Rollup merge of #24309 - tshepang:doc-avoid-x-confusion, r=Manishearth
2015-04-11 19:06:01 +05:30
Manish Goregaokar
df8360f4fc
Rollup merge of #24281 - steveklabnik:lol_editing, r=alexcrichton
...
more more more
2015-04-11 19:05:09 +05:30
Manish Goregaokar
dbbedb5a8b
Rollup merge of #24253 - steveklabnik:doc_primitive_types, r=alexcrichton
...
A brief introduction to each type, with pointers to the primitive pages
for more info.
2015-04-11 19:04:37 +05:30
Manish Goregaokar
0f1723b2b7
Rollup merge of #24247 - steveklabnik:update_variable_bindings, r=huonw
...
keeping on with the edits
2015-04-11 19:04:30 +05:30
Manish Goregaokar
8c20c20ef4
Rollup merge of #24244 - steveklabnik:more_editing, r=steveklabnik
...
Fill out blank section headers. Copy edit the entire first section.
2015-04-11 19:04:15 +05:30
Manish Goregaokar
55610d64d1
Rollup merge of #24239 - steveklabnik:editing_pass, r=steveklabnik
...
Now that the new TOC has landed, I've started doing an editing pass to get the old content into the right shape. I felt this introduction was significant enough to send as its own PR, though, as it's the introduction.
It's possible that we may just want to replace 'the intro' with this directly, but this PR doesn't do that.
2015-04-11 19:03:50 +05:30
Manish Goregaokar
f5d6cae3fc
Rollup merge of #24234 - thiagooak:academic-research, r=steveklabnik
...
#24004
Something like this?
2015-04-11 19:03:36 +05:30
Tshepang Lekhonkhobe
386a144e51
book: 'x' is already taken, so use something else
2015-04-11 00:48:16 +02:00
Steve Klabnik
f01dbf2194
More editing work on TRPL
...
Fill out blank section headers. Copy edit the entire first section.
2015-04-10 16:28:55 -04:00
Steve Klabnik
74b5c75d74
copyediting: while loops
2015-04-10 12:26:58 -04:00
Steve Klabnik
8d35fc6303
copyediting: for loops
2015-04-10 12:26:58 -04:00
Steve Klabnik
b577beeb3a
copyedits: patterns
...
This also puts slice patterns in nightly docs, where they belong.
2015-04-10 12:26:58 -04:00
Steve Klabnik
9aa4b643c4
copyediting: match
2015-04-10 12:26:58 -04:00
Steve Klabnik
64f4021c40
copy-editing: if
...
I decided to break if-let out, as it's too complex for this part, but moving
if that late seems silly too.
2015-04-10 12:26:58 -04:00
Steve Klabnik
04b4bb9fb0
remove backticks from titles
...
This doesn't actually display correctly
2015-04-10 12:26:58 -04:00
Steve Klabnik
f13b276d84
some TOC reorganization
...
As I go through this, I'm finding some ways that I want to tweak the order.
2015-04-10 12:26:58 -04:00
bors
c897ac04e2
Auto merge of #24177 - alexcrichton:rustdoc, r=aturon
...
This commit series starts out with more official test harness support for rustdoc tests, and then each commit afterwards adds a test (where appropriate). Each commit should also test and finish independently of all others (they're all pretty separable).
I've uploaded a [copy of the documentation](http://people.mozilla.org/~acrichton/doc/std/ ) generated after all these commits were applied, and a double check on issues being closed would be greatly appreciated! I'll also browse the docs a bit and make sure nothing regressed too horribly.
2015-04-10 16:18:44 +00:00
Steve Klabnik
2b38819b84
copyedits: documentation
2015-04-10 11:24:36 -04:00
Steve Klabnik
734bdc656a
copyedits: functions
2015-04-10 11:24:30 -04:00
Steve Klabnik
7bb0cd76f3
Write the 'primitive types' section of TRPL
...
A brief introduction to each type, with pointers to the primitive pages
for more info.
2015-04-09 20:05:10 -04:00
Steve Klabnik
bf88539cc9
TRPL: new introduction
2015-04-09 19:39:06 -04:00