automated whitespace fixes
This commit is contained in:
parent
541c657a73
commit
ec27644870
24 changed files with 8 additions and 30 deletions
|
|
@ -20,4 +20,3 @@ use std::libc;
|
|||
extern {
|
||||
pub fn rust_get_argc() -> libc::c_int;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -2,4 +2,3 @@ pub enum Foo {
|
|||
pub Bar,
|
||||
priv Baz,
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -7,4 +7,3 @@ struct Foo;
|
|||
impl Foo {
|
||||
pub fn new() {}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -44,4 +44,3 @@ mod issue6935 {
|
|||
}
|
||||
|
||||
fn main(){}
|
||||
|
||||
|
|
|
|||
|
|
@ -6,4 +6,3 @@ pub fn main() {
|
|||
let _ = private_variant_xc::Bar;
|
||||
let _ = private_variant_xc::Baz; //~ ERROR unresolved name
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -9,4 +9,3 @@ use use_from_trait_xc::Foo::new; //~ ERROR cannot import from a trait or type
|
|||
|
||||
fn main() {
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -14,4 +14,3 @@ impl Foo {
|
|||
}
|
||||
|
||||
fn main() {}
|
||||
|
||||
|
|
|
|||
|
|
@ -11,4 +11,3 @@ struct Bar {
|
|||
static bar: Bar = Bar { i: 0, v: IntVal(0) };
|
||||
|
||||
fn main() {}
|
||||
|
||||
|
|
|
|||
|
|
@ -26,5 +26,3 @@ fn main() {
|
|||
let p = unsafe { transmute::<~int, *c_void>(t) };
|
||||
let z = NonCopyable(p);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -24,8 +24,8 @@ struct A((u32, u32));
|
|||
struct B(u64);
|
||||
|
||||
pub fn main() {
|
||||
static Ca: S<A> = S { i: 0, t: A((13, 104)) };
|
||||
static Cb: S<B> = S { i: 0, t: B(31337) };
|
||||
assert_eq!(*(Ca.unwrap()), (13, 104));
|
||||
assert_eq!(*(Cb.unwrap()), 31337);
|
||||
static Ca: S<A> = S { i: 0, t: A((13, 104)) };
|
||||
static Cb: S<B> = S { i: 0, t: B(31337) };
|
||||
assert_eq!(*(Ca.unwrap()), (13, 104));
|
||||
assert_eq!(*(Cb.unwrap()), 31337);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,4 +13,3 @@ pub fn main() {
|
|||
let y = x;
|
||||
assert!((y == 10));
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -11,4 +11,3 @@ fn main() {
|
|||
a::free(transmute(0));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue