Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rollup of 30 pull requests #37730

Merged
merged 77 commits into from
Nov 12, 2016
Merged
Changes from 2 commits
Commits
Show all changes
77 commits
Select commit Hold shift + click to select a range
4a6921e
rustdoc: add line breaks to where clauses a la rustfmt
Oct 13, 2016
c6ab685
fix spurious </span> appearing before the opening tag
Oct 13, 2016
42f28d3
rustdoc: apply proper indent when where clauses aren't on their own line
Oct 15, 2016
07b27bb
rustdoc: break where clauses onto their own line if they don't have e…
Oct 15, 2016
43abad4
rustdoc: if a where clause gets any lines, it gets its own line
Oct 16, 2016
61cc870
rustdoc: make Method/WhereClause wrappers use usize for indents
Oct 17, 2016
1b39c0a
Remove remark about poor code style
nwin Oct 31, 2016
3d1ecc5
Normalize generic bounds in graph iterators
Havvy Nov 2, 2016
fcf0262
Added general iterators for graph nodes and edges
Havvy Nov 2, 2016
7d91581
Change Make comment into doc comment on Graph::iterate_until_fixed_p…
Havvy Nov 2, 2016
2af6111
Add Error implementation for std::sync::mpsc::RecvTimeoutError.
Mark-Simulacrum Nov 2, 2016
9ddbb91
Added Graph::is_cyclicic_node algorithm
Havvy Nov 2, 2016
8016dc3
Add support for ARMv5TE architecture
atilag Nov 6, 2016
0f817a0
Add release notes for 1.13.0
brson Nov 4, 2016
b1d0c5b
Update testing.md to reflect changes to cargo new
trotter Oct 23, 2016
c428535
introduce a `fudge_regions_if_ok` to address false region edges
nikomatsakis Nov 8, 2016
bc4fc65
Add documentation for many of the atomic_* intrinsics
wesleywiser Nov 5, 2016
a3f75fb
Add documentation for the `volatile_read` and `volatile_write` intrin…
wesleywiser Nov 5, 2016
a62a67c
Add documentation for some of the add/sub/mul intrinsics
wesleywiser Nov 9, 2016
0d6323f
rustbuild: enable an initial local cargo
cuviper Nov 10, 2016
365ea80
Set max_atomic_width to 0 because there's no atomic instructions on A…
atilag Nov 9, 2016
3f9eba1
rustc: clean up lookup_item_type and remove TypeScheme.
eddyb Nov 10, 2016
d9c60ca
Instruct play.rust-lang.org to treat code as tests
trotter Nov 10, 2016
35903bb
Remove `mod tests` from earlier sections
trotter Nov 10, 2016
dd92809
Change project path for consistency
trotter Nov 10, 2016
4cf7644
Remove extraneous word
trotter Nov 10, 2016
0254f12
rustbuild: support RelWithDebInfo for llvm
TimNN Nov 10, 2016
4ce4900
Balance the debug output of Lvalue Subslice
nbp Nov 10, 2016
669102f
ICH: Add test case for call expressions.
michaelwoerister Nov 10, 2016
f2b8d7b
ICH: Add test case for if- and if-let-expressions.
michaelwoerister Nov 10, 2016
dcd80b8
Remove one bounds check from BufReader
arthurprs Nov 10, 2016
c67ff64
Add missing urls for FusedIterator and TrustedLen traits
GuillaumeGomez Nov 9, 2016
fdf482c
Add missing urls for marker's traits
GuillaumeGomez Nov 10, 2016
30502b8
std: Derive `Default` for `Duration`.
alexcrichton Nov 11, 2016
87b6d38
Don't hint to add lifetime on trait impl
estebank Oct 30, 2016
2a832a0
Ignore tests failing due to lack of `fn main`
trotter Nov 11, 2016
455723c
Add foreign formatting directive detection.
DanielKeep Nov 11, 2016
11c1126
Avoid unnecessary mk_ty calls in Ty::super_fold_with.
nnethercote Nov 11, 2016
5058e58
vec: Write the .extend() specialization in cleaner style
bluss Nov 11, 2016
323c20c
[breaking-change] change the `box_free` item to accept pointers to un…
oli-obk Nov 11, 2016
7bbebb1
Change implementation of syntax::util::SmallVector to use data_struct…
Mark-Simulacrum Nov 3, 2016
008cc2d
Move all Linux/OSX CI infastructure to Travis
alexcrichton Oct 11, 2016
5cf07f1
Update patch with example.
nwin Nov 4, 2016
bfdf652
Add missing urls for mem module
GuillaumeGomez Nov 11, 2016
3c17abc
On fmt string with unescaped `{` note how to escape
estebank Nov 10, 2016
61b14e8
Bump verison to 1.15.0
brson Nov 11, 2016
248a3d9
Fix invalid src url
GuillaumeGomez Nov 11, 2016
2db360e
Rollup merge of #37190 - QuietMisdreavus:rustdoc-where-newline, r=Gui…
eddyb Nov 12, 2016
66da9a2
Rollup merge of #37368 - trotter:patch-1, r=steveklabnik
eddyb Nov 12, 2016
7894d2a
Rollup merge of #37481 - estebank:lifetime-help-removal-for-impl, r=e…
eddyb Nov 12, 2016
16ae078
Rollup merge of #37503 - nwin:patch-3, r=steveklabnik
eddyb Nov 12, 2016
29195e2
Rollup merge of #37527 - Mark-Simulacrum:mpsc-recvtimeouterror-error-…
eddyb Nov 12, 2016
c3ab57c
Rollup merge of #37535 - Havvy:graph, r=eddyb
eddyb Nov 12, 2016
f19f939
Rollup merge of #37551 - Mark-Simulacrum:upgrade-accvec, r=eddyb
eddyb Nov 12, 2016
02312b1
Rollup merge of #37584 - alexcrichton:travis, r=brson
eddyb Nov 12, 2016
25f1dee
Rollup merge of #37600 - brson:relnotes-1.13, r=alexcrichton
eddyb Nov 12, 2016
b619dcd
Rollup merge of #37613 - DanielKeep:eww-you-got-printf-in-your-format…
eddyb Nov 12, 2016
8d2da2b
Rollup merge of #37615 - atilag:armv5te-support, r=alexcrichton
eddyb Nov 12, 2016
7dd4d19
Rollup merge of #37659 - nikomatsakis:sfackler-36340-fix, r=eddyb
eddyb Nov 12, 2016
1187ecf
Rollup merge of #37662 - wesleywiser:intrinsics_docs, r=aturon
eddyb Nov 12, 2016
67ef819
Rollup merge of #37669 - GuillaumeGomez:always_urls, r=brson
eddyb Nov 12, 2016
f80affa
Rollup merge of #37682 - cuviper:local-cargo, r=alexcrichton
eddyb Nov 12, 2016
6dd4ee6
Rollup merge of #37688 - eddyb:lazy-8, r=petrochenkov
eddyb Nov 12, 2016
220ff76
Rollup merge of #37690 - TimNN:llvm-rel-dbg, r=alexcrichton
eddyb Nov 12, 2016
fb92277
Rollup merge of #37692 - nbp:debug-lvalue-subslice, r=eddyb
eddyb Nov 12, 2016
5f9fe7c
Rollup merge of #37693 - michaelwoerister:ich-tests, r=brson
eddyb Nov 12, 2016
5439cb5
Rollup merge of #37694 - michaelwoerister:test-if-ich, r=brson
eddyb Nov 12, 2016
048daa6
Rollup merge of #37695 - estebank:unescaped-curly, r=alexcrichton
eddyb Nov 12, 2016
8886ecc
Rollup merge of #37696 - arthurprs:patch-1, r=alexcrichton
eddyb Nov 12, 2016
35b0cf6
Rollup merge of #37698 - GuillaumeGomez:marker_urls, r=brson
eddyb Nov 12, 2016
75f2c21
Rollup merge of #37699 - alexcrichton:default-for-duration, r=brson
eddyb Nov 12, 2016
afbb675
Rollup merge of #37705 - nnethercote:fewer-mk_ty-calls, r=brson
eddyb Nov 12, 2016
69717bb
Rollup merge of #37708 - oli-obk:box_free, r=eddyb
eddyb Nov 12, 2016
6e436be
Rollup merge of #37709 - bluss:cleaner-vec-extend, r=alexcrichton
eddyb Nov 12, 2016
31ee294
Rollup merge of #37716 - GuillaumeGomez:mem_urls, r=@frewsxcv
eddyb Nov 12, 2016
79b8bb8
Rollup merge of #37724 - brson:bump, r=alexcrichton
eddyb Nov 12, 2016
5dcf0e8
Rollup merge of #37727 - GuillaumeGomez:invalid_src, r=eddyb
eddyb Nov 12, 2016
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/libstd/io/buffered.rs
Original file line number Diff line number Diff line change
@@ -187,7 +187,10 @@ impl<R: Read> BufRead for BufReader<R> {
fn fill_buf(&mut self) -> io::Result<&[u8]> {
// If we've reached the end of our internal buffer then we need to fetch
// some more data from the underlying reader.
if self.pos == self.cap {
// Branch using `>=` instead of the more correct `==`
// to tell the compiler that the pos..cap slice is always valid.
if self.pos >= self.cap {
debug_assert!(self.pos == self.cap);
self.cap = self.inner.read(&mut self.buf)?;
self.pos = 0;
}