Skip to content

Commit 104e612

Browse files
committed
auto merge of #7116 : thestinger/rust/whitespace, r=luqmana
2 parents 38e0574 + ec27644 commit 104e612

24 files changed

+8
-30
lines changed

RELEASES.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Version 0.7 (July 2013)
44
* ??? changes, numerous bugfixes
55

66
* Syntax changes
7-
* `#[deriving(Encodable)]`, `#[deriving(Decodable)]`
7+
* `#[deriving(Encodable)]`, `#[deriving(Decodable)]`
88

99
* Semantic changes
1010
* The `self` parameter no longer implicitly means `&'self self`,

src/etc/adb_run_wrapper.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# usage : adb_run_wrapper [test dir - where test executables exist] [test executable]
33
#
44

5-
# Sometimes android shell produce exitcode "1 : Text File Busy"
5+
# Sometimes android shell produce exitcode "1 : Text File Busy"
66
# Retry after $WAIT seconds, expecting resource cleaned-up
77
WAIT=10
88
PATH=$1
@@ -20,15 +20,15 @@ then
2020
while [ $L_RET -eq 1 ]
2121
do
2222
LD_LIBRARY_PATH=$PATH $PATH/$RUN $@ 1>$PATH/$RUN.stdout 2>$PATH/$RUN.stderr
23-
L_RET=$?
23+
L_RET=$?
2424
if [ $L_COUNT -gt 0 ]
2525
then
2626
/system/bin/sleep $WAIT
2727
/system/bin/sync
2828
fi
2929
L_COUNT=`expr $L_COUNT+1`
3030
done
31-
31+
3232
echo $L_RET > $PATH/$RUN.exitcode
3333

3434
fi

src/librustc/middle/borrowck/gather_loans/gather_moves.rs

-1
Original file line numberDiff line numberDiff line change
@@ -161,4 +161,3 @@ fn check_is_legal_to_move_from(bccx: @BorrowckCtxt,
161161
}
162162
}
163163
}
164-

src/librustc/middle/effect.rs

-1
Original file line numberDiff line numberDiff line change
@@ -154,4 +154,3 @@ pub fn check_crate(tcx: ty::ctxt,
154154

155155
visit::visit_crate(crate, ((), visitor))
156156
}
157-

src/libstd/core.rc

-1
Original file line numberDiff line numberDiff line change
@@ -232,4 +232,3 @@ mod std {
232232
pub use str;
233233
pub use os;
234234
}
235-

src/libstd/rt/comm.rs

-1
Original file line numberDiff line numberDiff line change
@@ -615,4 +615,3 @@ mod test {
615615
}
616616
}
617617
}
618-

src/libstd/rt/io/stdio.rs

-1
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,3 @@ impl Writer for StdWriter {
5050

5151
fn flush(&mut self) { fail!() }
5252
}
53-

src/libstd/rt/task.rs

-1
Original file line numberDiff line numberDiff line change
@@ -228,4 +228,3 @@ mod test {
228228
}
229229
}
230230
}
231-

src/libstd/rt/test.rs

-1
Original file line numberDiff line numberDiff line change
@@ -189,4 +189,3 @@ pub fn stress_factor() -> uint {
189189
None => 1
190190
}
191191
}
192-

src/libsyntax/ext/pipes/ast_builder.rs

-1
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,3 @@ impl append_types for @ast::Path {
6363
}
6464
}
6565
}
66-

src/rt/rust_env.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -156,4 +156,3 @@ free_env(rust_env *env) {
156156
free(env->rust_seed);
157157
free(env);
158158
}
159-

src/rustllvm/rustllvm.h

-1
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,3 @@
5454
#include <fcntl.h>
5555
#include <unistd.h>
5656
#endif
57-

src/test/auxiliary/anon-extern-mod-cross-crate-1.rs

-1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,3 @@ use std::libc;
2020
extern {
2121
pub fn rust_get_argc() -> libc::c_int;
2222
}
23-

src/test/auxiliary/private_variant_xc.rs

-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@ pub enum Foo {
22
pub Bar,
33
priv Baz,
44
}
5-

src/test/auxiliary/use_from_trait_xc.rs

-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,3 @@ struct Foo;
77
impl Foo {
88
pub fn new() {}
99
}
10-

src/test/compile-fail/lint-unused-import-tricky-names.rs

-1
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,3 @@ mod issue6935 {
4444
}
4545

4646
fn main(){}
47-

src/test/compile-fail/private-variant-xc.rs

-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,3 @@ pub fn main() {
66
let _ = private_variant_xc::Bar;
77
let _ = private_variant_xc::Baz; //~ ERROR unresolved name
88
}
9-

src/test/compile-fail/use-from-trait-xc.rs

-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,3 @@ use use_from_trait_xc::Foo::new; //~ ERROR cannot import from a trait or type
99

1010
fn main() {
1111
}
12-

src/test/compile-fail/use-from-trait.rs

-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,3 @@ impl Foo {
1414
}
1515

1616
fn main() {}
17-

src/test/run-pass/const-struct-offsets.rs

-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,3 @@ struct Bar {
1111
static bar: Bar = Bar { i: 0, v: IntVal(0) };
1212

1313
fn main() {}
14-

src/test/run-pass/issue-4735.rs

-2
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,3 @@ fn main() {
2626
let p = unsafe { transmute::<~int, *c_void>(t) };
2727
let z = NonCopyable(p);
2828
}
29-
30-

src/test/run-pass/monomorphize-abi-alignment.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ struct A((u32, u32));
2424
struct B(u64);
2525

2626
pub fn main() {
27-
static Ca: S<A> = S { i: 0, t: A((13, 104)) };
28-
static Cb: S<B> = S { i: 0, t: B(31337) };
29-
assert_eq!(*(Ca.unwrap()), (13, 104));
30-
assert_eq!(*(Cb.unwrap()), 31337);
27+
static Ca: S<A> = S { i: 0, t: A((13, 104)) };
28+
static Cb: S<B> = S { i: 0, t: B(31337) };
29+
assert_eq!(*(Ca.unwrap()), (13, 104));
30+
assert_eq!(*(Cb.unwrap()), 31337);
3131
}

src/test/run-pass/multi-let.rs

-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,3 @@ pub fn main() {
1313
let y = x;
1414
assert!((y == 10));
1515
}
16-

src/test/run-pass/pub-extern-privacy.rs

-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,3 @@ fn main() {
1111
a::free(transmute(0));
1212
}
1313
}
14-

0 commit comments

Comments
 (0)