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

Remove 'Local Variable' comments #6151

Merged
merged 1 commit into from
May 2, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
7 changes: 0 additions & 7 deletions src/compiletest/compiletest.rc
Original file line number Diff line number Diff line change
Expand Up @@ -223,10 +223,3 @@ pub fn make_test_closure(config: config, testfile: &Path) -> test::TestFn {
let testfile = testfile.to_str();
test::DynTestFn(|| runtest::run(config, testfile))
}

// Local Variables:
// fill-column: 78;
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
9 changes: 0 additions & 9 deletions src/libcore/core.rc
Original file line number Diff line number Diff line change
Expand Up @@ -263,12 +263,3 @@ mod core {
pub use sys;
pub use pipes;
}


// Local Variables:
// mode: rust;
// fill-column: 78;
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
10 changes: 0 additions & 10 deletions src/libcore/either.rs
Original file line number Diff line number Diff line change
Expand Up @@ -263,13 +263,3 @@ fn test_partition_empty() {
assert_eq!(vec::len(lefts), 0u);
assert_eq!(vec::len(rights), 0u);
}

//
// Local Variables:
// mode: rust
// fill-column: 78;
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
//
10 changes: 0 additions & 10 deletions src/libcore/io.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1954,13 +1954,3 @@ mod tests {
}
}
}

//
// Local Variables:
// mode: rust
// fill-column: 78;
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
//
9 changes: 0 additions & 9 deletions src/libcore/libc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1846,12 +1846,3 @@ pub mod funcs {
}
}
}


// Local Variables:
// mode: rust;
// fill-column: 78;
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
11 changes: 0 additions & 11 deletions src/libcore/num/cmath.rs
Original file line number Diff line number Diff line change
Expand Up @@ -267,14 +267,3 @@ pub mod c_double_targ_consts {
}

*/

//
// Local Variables:
// mode: rust
// fill-column: 78;
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
//

10 changes: 0 additions & 10 deletions src/libcore/num/f32.rs
Original file line number Diff line number Diff line change
Expand Up @@ -986,13 +986,3 @@ mod tests {
assert_eq!(Primitive::bytes::<f32>(), sys::size_of::<f32>());
}
}

//
// Local Variables:
// mode: rust
// fill-column: 78;
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
//
10 changes: 0 additions & 10 deletions src/libcore/num/f64.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1033,13 +1033,3 @@ mod tests {
assert_eq!(Primitive::bytes::<f64>(), sys::size_of::<f64>());
}
}

//
// Local Variables:
// mode: rust
// fill-column: 78;
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
//
10 changes: 0 additions & 10 deletions src/libcore/num/float.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1139,13 +1139,3 @@ mod tests {
assert_eq!(to_str_digits(-infinity, 10u), ~"-inf");
}
}

//
// Local Variables:
// mode: rust
// fill-column: 78;
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
//
8 changes: 0 additions & 8 deletions src/libcore/option.rs
Original file line number Diff line number Diff line change
Expand Up @@ -565,11 +565,3 @@ fn test_get_or_zero() {
let no_stuff: Option<int> = None;
assert!(no_stuff.get_or_zero() == 0);
}

// Local Variables:
// mode: rust;
// fill-column: 78;
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
9 changes: 0 additions & 9 deletions src/libcore/rand.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1073,12 +1073,3 @@ mod tests {
}
}
}


// Local Variables:
// mode: rust;
// fill-column: 78;
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
8 changes: 0 additions & 8 deletions src/libcore/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -639,11 +639,3 @@ mod tests {
test_destroy_actually_kills(true);
}
}

// Local Variables:
// mode: rust
// fill-column: 78;
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
8 changes: 0 additions & 8 deletions src/libcore/sys.rs
Original file line number Diff line number Diff line change
Expand Up @@ -343,11 +343,3 @@ mod tests {
#[should_fail]
fn fail_owned() { FailWithCause::fail_with(~"cause", file!(), line!()) }
}

// Local Variables:
// mode: rust;
// fill-column: 78;
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
8 changes: 0 additions & 8 deletions src/libcore/unstable/extfmt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -688,11 +688,3 @@ mod test {
let _s = fmt!("%s", s);
}
}

// Local Variables:
// mode: rust;
// fill-column: 78;
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
8 changes: 0 additions & 8 deletions src/libcore/unstable/lang.rs
Original file line number Diff line number Diff line change
Expand Up @@ -183,11 +183,3 @@ pub fn start(main: *u8, argc: int, argv: **c_char,
crate_map: *c_void) -> c_int;
}
}

// Local Variables:
// mode: rust;
// fill-column: 78;
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
7 changes: 0 additions & 7 deletions src/libfuzzer/fuzzer.rc
Original file line number Diff line number Diff line change
Expand Up @@ -693,10 +693,3 @@ pub fn main() {

error!("Fuzzer done");
}

// Local Variables:
// fill-column: 78;
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
9 changes: 0 additions & 9 deletions src/librustc/back/abi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,3 @@ pub fn bzero_glue_name() -> ~str { return ~"rust_bzero_glue"; }
pub fn yield_glue_name() -> ~str { return ~"rust_yield_glue"; }

pub fn no_op_type_glue_name() -> ~str { return ~"rust_no_op_type_glue"; }
//
// Local Variables:
// mode: rust
// fill-column: 78;
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
//
11 changes: 0 additions & 11 deletions src/librustc/back/arm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,3 @@ pub fn get_target_strs(target_os: session::os) -> target_strs::t {
cc_args: ~[~"-marm"]
};
}


//
// Local Variables:
// mode: rust
// fill-column: 78;
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
//
10 changes: 0 additions & 10 deletions src/librustc/back/link.rs
Original file line number Diff line number Diff line change
Expand Up @@ -949,13 +949,3 @@ pub fn link_args(sess: Session,

return args;
}

//
// Local Variables:
// mode: rust
// fill-column: 78;
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
//
11 changes: 0 additions & 11 deletions src/librustc/back/mips.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,3 @@ pub fn get_target_strs(target_os: session::os) -> target_strs::t {
cc_args: ~[]
};
}


//
// Local Variables:
// mode: rust
// fill-column: 78;
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
//
9 changes: 0 additions & 9 deletions src/librustc/back/upcall.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,3 @@ pub fn declare_upcalls(targ_cfg: @session::config,
nothrow(dv(~"reset_stack_limit", ~[]))
}
}
//
// Local Variables:
// mode: rust
// fill-column: 78;
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
//
10 changes: 0 additions & 10 deletions src/librustc/back/x86.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,3 @@ pub fn get_target_strs(target_os: session::os) -> target_strs::t {
cc_args: ~[~"-m32"]
};
}

//
// Local Variables:
// mode: rust
// fill-column: 78;
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
//
10 changes: 0 additions & 10 deletions src/librustc/back/x86_64.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,3 @@ pub fn get_target_strs(target_os: session::os) -> target_strs::t {
cc_args: ~[~"-m64"]
};
}

//
// Local Variables:
// mode: rust
// fill-column: 78;
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
//
8 changes: 0 additions & 8 deletions src/librustc/driver/driver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -951,11 +951,3 @@ mod test {
assert!((vec::len(test_items) == 1u));
}
}

// Local Variables:
// mode: rust
// fill-column: 78;
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
7 changes: 0 additions & 7 deletions src/librustc/driver/session.rs
Original file line number Diff line number Diff line change
Expand Up @@ -430,10 +430,3 @@ mod test {
assert!(building_library(lib_crate, crate, true));
}
}

// Local Variables:
// fill-column: 78;
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
8 changes: 0 additions & 8 deletions src/librustc/front/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -194,11 +194,3 @@ pub fn metas_in_cfg(cfg: ast::crate_cfg,
})
})
}


// Local Variables:
// fill-column: 78;
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
8 changes: 0 additions & 8 deletions src/librustc/front/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -456,11 +456,3 @@ fn mk_test_desc_and_fn_rec(cx: &TestCtxt, test: &Test) -> @ast::expr {
);
e
}

// Local Variables:
// mode: rust
// fill-column: 78;
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
10 changes: 0 additions & 10 deletions src/librustc/lib/llvm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2196,13 +2196,3 @@ pub fn mk_section_iter(llof: ObjectFileRef) -> SectionIter {
}
}
}

//
// Local Variables:
// mode: rust
// fill-column: 78;
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
//
8 changes: 0 additions & 8 deletions src/librustc/metadata/creader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -328,11 +328,3 @@ fn resolve_crate_deps(e: @mut Env, cdata: @~[u8]) -> cstore::cnum_map {
}
return @mut cnum_map;
}

// Local Variables:
// mode: rust
// fill-column: 78;
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
8 changes: 0 additions & 8 deletions src/librustc/metadata/csearch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -243,11 +243,3 @@ pub fn get_link_args_for_crate(cstore: @mut cstore::CStore,
let cdata = cstore::get_crate_data(cstore, crate_num);
decoder::get_link_args_for_crate(cdata)
}

// Local Variables:
// mode: rust
// fill-column: 78;
// indent-tabs-mode: nil
// c-basic-offset: 4
// buffer-file-coding-system: utf-8-unix
// End:
Loading