Manish Goregaokar
b53e510297
Rollup merge of #22627 - ddfreyne:patch-1, r=dotdash
2015-02-22 01:50:08 +05:30
Manish Goregaokar
a9570e5549
Rollup merge of #22625 - inrustwetrust:dispatch-doc-grammar, r=huonw
...
As far as I could tell from discussions in other docs pull requests, American spelling is preferred for the docs?
2015-02-22 01:49:46 +05:30
Manish Goregaokar
e15d016146
Rollup merge of #22620 - edwardw:issue-22356, r=brson
...
PR #22436 has fixed it.
Closes #22356
2015-02-22 01:49:30 +05:30
Manish Goregaokar
ffe348561e
Rollup merge of #22616 - caspark:fix-typo-in-deprecation-msg, r=alexcrichton
...
Essentially `s/fucntion/function/g` in `src/libstd/thread.rs`.
2015-02-22 01:49:08 +05:30
Manish Goregaokar
c90e854ec9
Rollup merge of #22614 - nick29581:fix-cc-crate, r=alexcrichton
...
... the post-analysis callback. We can also pass this to post-write-deps callback.
This fixes a really minor bug, which is basically about argument naming.
r? @alexcrichton
2015-02-22 01:48:54 +05:30
Manish Goregaokar
9fd45514b6
Rollup merge of #22578 - nagisa:deprecated-fallout, r=alexcrichton
...
Fixes #22575
Fixes #22618
2015-02-22 01:48:30 +05:30
Manish Goregaokar
e1c2f77754
Rollup merge of #22571 - nagisa:style-fallout, r=alexcrichton
...
Links in docblock headers also became blue, which was not intended.
r? @steveklabnik
2015-02-22 01:48:18 +05:30
Manish Goregaokar
2b8160bbd5
Rollup merge of #22562 - dckc:patch-4, r=Aatch
...
the punch line was cut off!
p.s. I wonder if I should have updated the copyright date too.
2015-02-22 01:48:01 +05:30
Manish Goregaokar
b7487db482
Rollup merge of #22545 - Ryman:fucntion, r=dotdash
2015-02-22 01:47:41 +05:30
Manish Goregaokar
f308550c16
Rollup merge of #22527 - dotdash:if-loop, r=huonw
...
In `if loop {} {}`, the `if` is actually unreachable, but we didn't
handle that correctly and when trying to translate the `if` we tried to
branch on the \"return value\" of the loop expression, which is not an
`i1` and therefore triggered an LLVM assertion.
2015-02-22 01:47:28 +05:30
Manish Goregaokar
b7ac60a2f1
Rollup merge of #22524 - stevencrockett:master, r=steveklabnik
...
The text is referring to the io module despite the code using the old_io module.
2015-02-22 01:47:14 +05:30
Manish Goregaokar
2e0609a8ad
Rollup merge of #22522 - zeroem:patch-1, r=pnkfelix
...
Replaces the markdown link delimiters for the \"Code of Conduct\" link with the appropriate delimiters for using a link id
r? @steveklabnik
2015-02-22 01:47:02 +05:30
Manish Goregaokar
9d650ae723
Rollup merge of #22515 - adamhjk:add-else-if-to-docs, r=steveklabnik
...
Adds an example of `else if` to the If section of The Rust Programming
Language.
r? @steveklabnik
2015-02-22 01:46:42 +05:30
Manish Goregaokar
2bb8b95cd8
Rollup merge of #22509 - tshepang:not-needed-mut, r=steveklabnik
2015-02-22 01:46:27 +05:30
Manish Goregaokar
11c70a3b09
Rollup merge of #22267 - steveklabnik:fix_lie, r=Gankro
...
Otherwise, this line is a lie.
2015-02-22 01:46:03 +05:30
Florian Hartwig
b4dc9fd72b
Remove last traces of BitV and BitVSet from documentation
2015-02-21 20:36:44 +01:00
Steven Fackler
03753ba5a2
Fix io::Take behavior with limit 0
...
We can't call into the inner reader for a 0-byte read because that may
end up blocking or returning an error.
2015-02-21 11:15:58 -08:00
Jake Goulding
5b64845e47
Fix typo in std::io unstable reason
2015-02-21 11:56:58 -05:00
Wesley Wiser
7e533a972c
Remove mention of non-existing AtomicOption in docs
...
AtomicOption was removed in 7d8d06f86b
but the docs weren't updated.
Fixes #22586
2015-02-21 11:51:06 -05:00
Simonas Kazlauskas
e3104d8f0c
Kill fmt::Show and fmt::String with fire!
...
Toss the tomatoes!
2015-02-21 16:27:55 +02:00
Björn Steinbrink
6957bb6dbe
Update LLVM to rust-llvm-2015-02-19
...
Fixes #22159
Fixes #21721
2015-02-21 13:37:37 +01:00
Denis Defreyne
a3aaaca088
Fix frow_raw/from_raw typo
2015-02-21 13:14:17 +01:00
Brian Brooks
1212fd8abc
Resolve includeme.fragment conflict.
2015-02-21 06:56:46 -05:00
Adolfo Ochagavía
189409f85b
Fix thread documentation
2015-02-21 12:07:05 +01:00
inrustwetrust
1b20767460
Minor grammar/spelling fixes to the "Static and Dynamic Dispatch" doc
2015-02-21 11:50:25 +01:00
Vadim Chugunov
244c65dca7
Un-ignore lang-item-public test.
2015-02-21 01:35:33 -08:00
bors
2b01a37ec3
Auto merge of #21959 - dhuseby:bitrig-support, r=brson
...
This patch adds the necessary pieces to support rust on Bitrig https://bitrig.org
2015-02-21 09:20:48 +00:00
Edward Wang
0d218fd824
Add test for #22356
...
PR #22436 has fixed it.
Closes #22356
2015-02-21 14:37:30 +08:00
Alex Crichton
6686f7aa47
Register new snapshots
2015-02-20 22:17:17 -08:00
Huon Wilson
380d23b5d4
Remove 'static
bound from sync::mpsc, Mutex and RwLock.
...
Adds some basic tests to check that the types still catch the most
glaring errors that could occur.
cc #22444 .
2015-02-21 16:51:49 +11:00
Caspar Krieger
60dee4bfc7
Fix typo in deprecation msg
2015-02-21 14:57:20 +11:00
Nick Cameron
712a6870e9
In the rustc driver, we pass the expanded, not the pre-expansion, AST to the post-analysis callback. We can also pass this to post-write-deps callback.
2015-02-21 16:25:51 +13:00
Alexis
ac7d964dcf
make int/uint modules just re-exports
2015-02-20 19:55:00 -05:00
Alexis
97aa34046f
try to reduce bajillion warnings
2015-02-20 19:55:00 -05:00
Junseok Lee
9b67d07acc
added license header to test
2015-02-20 16:16:09 -08:00
Junseok Lee
3419d51199
added local crate struct with priv field to test
2015-02-20 16:16:09 -08:00
Junseok Lee
85069e0529
added 'suggest-private-fields' cfail test
2015-02-20 16:16:09 -08:00
Junseok Lee
838595add0
suggestions no longer include private fields for structs outside local crate. closes #22421
2015-02-20 16:16:09 -08:00
Steve Klabnik
355f35536d
Add examples for iter::range_step
2015-02-20 17:11:06 -05:00
York Xiang
eceab2963d
Fix typo
2015-02-21 05:08:05 +08:00
Tshepang Lekhonkhobe
fd2fdbded1
fix a few 'variable does not need to be mutable' warnings
2015-02-20 22:56:32 +02:00
Alex Crichton
756210a0b9
std: Ensure fs::{DirEntry, ReadDir} are Send/Sync
...
The windows/unix modules were currently inconsistent about the traits being
implemented for `DirEntry` and there isn't much particular reason why the traits
*couldn't* be implemented for `ReadDir` and `DirEntry`, so this commit ensures
that they are implemented.
Closes #22577
2015-02-20 11:51:22 -08:00
Brian Anderson
fcc21b36a3
docs: Explain static dispatch advantage more clearly
2015-02-20 11:41:39 -08:00
Niko Matsakis
68e5bb3f2c
Remove remaining uses of []
. This time I tried to use deref coercions where possible.
2015-02-20 14:08:14 -05:00
Vadim Petrochenkov
5e616dbd21
Tweaks to equality comparisons for slices/arrays/vectors
2015-02-20 20:32:55 +03:00
Valerii Hiora
46b2c9ac7f
iOS: CStr fallout
2015-02-20 18:05:17 +02:00
Simonas Kazlauskas
d99af375d3
Escape some rustdoc strings
2015-02-20 15:59:51 +02:00
Simonas Kazlauskas
888dac97c7
Fix style fallout from 204e2bd442
...
Links in docblock headers also became blue, which was not intended.
2015-02-20 13:54:11 +02:00
Niko Matsakis
42e155e13b
make span on obsolete syntax very precise
2015-02-20 05:35:52 -05:00
Sébastien Marie
082bf7fd0c
unbreak openbsd build after 1860ee52
...
The commit 1860ee52
has break the openbsd build.
Repair it.
2015-02-20 11:03:53 +01:00