Skip to content

Commit f8e4968

Browse files
committed
---
yaml --- r: 158983 b: refs/heads/auto c: 7ddf8cb h: refs/heads/master i: 158981: 91a6a08 158979: 48b2ed0 158975: ed5a989 v: v3
1 parent 0d4ddb1 commit f8e4968

File tree

7 files changed

+466
-368
lines changed

7 files changed

+466
-368
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
1010
refs/tags/release-0.3.1: 495bae036dfe5ec6ceafd3312b4dca48741e845b
1111
refs/tags/release-0.4: e828ea2080499553b97dfe33b3f4d472b4562ad7
1212
refs/tags/release-0.5: 7e3bcfbf21278251ee936ad53e92e9b719702d73
13-
refs/heads/auto: 7bc3588fafb15669eb92541129c6de773afedd98
13+
refs/heads/auto: 7ddf8cb0e02549e6df7afe7e8486d735f8ee7eae
1414
refs/heads/servo: af82457af293e2a842ba6b7759b70288da276167
1515
refs/tags/release-0.6: b4ebcfa1812664df5e142f0134a5faea3918544c
1616
refs/tags/0.1: b19db808c2793fe2976759b85a355c3ad8c8b336

branches/auto/mk/docs.mk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@
2828
DOCS := index intro tutorial guide guide-ffi guide-macros guide-lifetimes \
2929
guide-tasks guide-container guide-pointers guide-testing \
3030
guide-plugin guide-crates complement-bugreport \
31-
complement-lang-faq complement-design-faq complement-project-faq \
31+
complement-lang-faq complement-design-faq complement-project-faq rust \
3232
rustdoc guide-unsafe guide-strings reference
3333

3434
PDF_DOCS := guide reference
3535

36-
RUSTDOC_DEPS_reference := doc/full-toc.inc
37-
RUSTDOC_FLAGS_reference := --html-in-header=doc/full-toc.inc
36+
RUSTDOC_DEPS_rust := doc/full-toc.inc
37+
RUSTDOC_FLAGS_rust := --html-in-header=doc/full-toc.inc
3838

3939
L10N_LANGS := ja
4040

branches/auto/src/libcore/atomic.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -717,15 +717,15 @@ unsafe fn atomic_xor<T>(dst: *mut T, val: T, order: Ordering) -> T {
717717
/// A fence 'A' which has `Release` ordering semantics, synchronizes with a
718718
/// fence 'B' with (at least) `Acquire` semantics, if and only if there exists
719719
/// atomic operations X and Y, both operating on some atomic object 'M' such
720-
/// that A is sequenced before X, Y is synchronized before B and Y observes
720+
/// that A is sequenced before X, Y is synchronized before B and Y observers
721721
/// the change to M. This provides a happens-before dependence between A and B.
722722
///
723723
/// Atomic operations with `Release` or `Acquire` semantics can also synchronize
724724
/// with a fence.
725725
///
726-
/// A fence which has `SeqCst` ordering, in addition to having both `Acquire`
727-
/// and `Release` semantics, participates in the global program order of the
728-
/// other `SeqCst` operations and/or fences.
726+
/// A fence with has `SeqCst` ordering, in addition to having both `Acquire` and
727+
/// `Release` semantics, participates in the global program order of the other
728+
/// `SeqCst` operations and/or fences.
729729
///
730730
/// Accepts `Acquire`, `Release`, `AcqRel` and `SeqCst` orderings.
731731
///

branches/auto/src/librustc/middle/trans/closure.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -489,9 +489,10 @@ pub fn trans_unboxed_closure<'blk, 'tcx>(
489489
closure_id,
490490
&bcx.fcx.param_substs.substs).unwrap();
491491

492-
let function_type = (*bcx.tcx().unboxed_closures.borrow())[closure_id]
493-
.closure_type
494-
.clone();
492+
let unboxed_closures = bcx.tcx().unboxed_closures.borrow();
493+
let function_type = (*unboxed_closures)[closure_id]
494+
.closure_type
495+
.clone();
495496
let function_type = ty::mk_closure(bcx.tcx(), function_type);
496497

497498
let freevars: Vec<ty::Freevar> =

0 commit comments

Comments
 (0)