Skip to content

Commit efcabc4

Browse files
committed
auto merge of #6151 : bjz/rust/local-variable-cleanup, r=brson
I have noticed these comments scattered across the codebase. They appear to be vestigial Emacs formatting settings and they don't appear in newer files. For the sake of consistency it's probably best to remove them.
2 parents a64aa28 + e596128 commit efcabc4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

86 files changed

+0
-775
lines changed

src/compiletest/compiletest.rc

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -223,10 +223,3 @@ pub fn make_test_closure(config: config, testfile: &Path) -> test::TestFn {
223223
let testfile = testfile.to_str();
224224
test::DynTestFn(|| runtest::run(config, testfile))
225225
}
226-
227-
// Local Variables:
228-
// fill-column: 78;
229-
// indent-tabs-mode: nil
230-
// c-basic-offset: 4
231-
// buffer-file-coding-system: utf-8-unix
232-
// End:

src/libcore/core.rc

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -263,12 +263,3 @@ mod core {
263263
pub use sys;
264264
pub use pipes;
265265
}
266-
267-
268-
// Local Variables:
269-
// mode: rust;
270-
// fill-column: 78;
271-
// indent-tabs-mode: nil
272-
// c-basic-offset: 4
273-
// buffer-file-coding-system: utf-8-unix
274-
// End:

src/libcore/either.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -263,13 +263,3 @@ fn test_partition_empty() {
263263
assert_eq!(vec::len(lefts), 0u);
264264
assert_eq!(vec::len(rights), 0u);
265265
}
266-
267-
//
268-
// Local Variables:
269-
// mode: rust
270-
// fill-column: 78;
271-
// indent-tabs-mode: nil
272-
// c-basic-offset: 4
273-
// buffer-file-coding-system: utf-8-unix
274-
// End:
275-
//

src/libcore/io.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1954,13 +1954,3 @@ mod tests {
19541954
}
19551955
}
19561956
}
1957-
1958-
//
1959-
// Local Variables:
1960-
// mode: rust
1961-
// fill-column: 78;
1962-
// indent-tabs-mode: nil
1963-
// c-basic-offset: 4
1964-
// buffer-file-coding-system: utf-8-unix
1965-
// End:
1966-
//

src/libcore/libc.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1846,12 +1846,3 @@ pub mod funcs {
18461846
}
18471847
}
18481848
}
1849-
1850-
1851-
// Local Variables:
1852-
// mode: rust;
1853-
// fill-column: 78;
1854-
// indent-tabs-mode: nil
1855-
// c-basic-offset: 4
1856-
// buffer-file-coding-system: utf-8-unix
1857-
// End:

src/libcore/num/cmath.rs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -267,14 +267,3 @@ pub mod c_double_targ_consts {
267267
}
268268
269269
*/
270-
271-
//
272-
// Local Variables:
273-
// mode: rust
274-
// fill-column: 78;
275-
// indent-tabs-mode: nil
276-
// c-basic-offset: 4
277-
// buffer-file-coding-system: utf-8-unix
278-
// End:
279-
//
280-

src/libcore/num/f32.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -986,13 +986,3 @@ mod tests {
986986
assert_eq!(Primitive::bytes::<f32>(), sys::size_of::<f32>());
987987
}
988988
}
989-
990-
//
991-
// Local Variables:
992-
// mode: rust
993-
// fill-column: 78;
994-
// indent-tabs-mode: nil
995-
// c-basic-offset: 4
996-
// buffer-file-coding-system: utf-8-unix
997-
// End:
998-
//

src/libcore/num/f64.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1033,13 +1033,3 @@ mod tests {
10331033
assert_eq!(Primitive::bytes::<f64>(), sys::size_of::<f64>());
10341034
}
10351035
}
1036-
1037-
//
1038-
// Local Variables:
1039-
// mode: rust
1040-
// fill-column: 78;
1041-
// indent-tabs-mode: nil
1042-
// c-basic-offset: 4
1043-
// buffer-file-coding-system: utf-8-unix
1044-
// End:
1045-
//

src/libcore/num/float.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1139,13 +1139,3 @@ mod tests {
11391139
assert_eq!(to_str_digits(-infinity, 10u), ~"-inf");
11401140
}
11411141
}
1142-
1143-
//
1144-
// Local Variables:
1145-
// mode: rust
1146-
// fill-column: 78;
1147-
// indent-tabs-mode: nil
1148-
// c-basic-offset: 4
1149-
// buffer-file-coding-system: utf-8-unix
1150-
// End:
1151-
//

src/libcore/option.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -565,11 +565,3 @@ fn test_get_or_zero() {
565565
let no_stuff: Option<int> = None;
566566
assert!(no_stuff.get_or_zero() == 0);
567567
}
568-
569-
// Local Variables:
570-
// mode: rust;
571-
// fill-column: 78;
572-
// indent-tabs-mode: nil
573-
// c-basic-offset: 4
574-
// buffer-file-coding-system: utf-8-unix
575-
// End:

src/libcore/rand.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1073,12 +1073,3 @@ mod tests {
10731073
}
10741074
}
10751075
}
1076-
1077-
1078-
// Local Variables:
1079-
// mode: rust;
1080-
// fill-column: 78;
1081-
// indent-tabs-mode: nil
1082-
// c-basic-offset: 4
1083-
// buffer-file-coding-system: utf-8-unix
1084-
// End:

src/libcore/run.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -639,11 +639,3 @@ mod tests {
639639
test_destroy_actually_kills(true);
640640
}
641641
}
642-
643-
// Local Variables:
644-
// mode: rust
645-
// fill-column: 78;
646-
// indent-tabs-mode: nil
647-
// c-basic-offset: 4
648-
// buffer-file-coding-system: utf-8-unix
649-
// End:

src/libcore/sys.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -343,11 +343,3 @@ mod tests {
343343
#[should_fail]
344344
fn fail_owned() { FailWithCause::fail_with(~"cause", file!(), line!()) }
345345
}
346-
347-
// Local Variables:
348-
// mode: rust;
349-
// fill-column: 78;
350-
// indent-tabs-mode: nil
351-
// c-basic-offset: 4
352-
// buffer-file-coding-system: utf-8-unix
353-
// End:

src/libcore/unstable/extfmt.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -688,11 +688,3 @@ mod test {
688688
let _s = fmt!("%s", s);
689689
}
690690
}
691-
692-
// Local Variables:
693-
// mode: rust;
694-
// fill-column: 78;
695-
// indent-tabs-mode: nil
696-
// c-basic-offset: 4
697-
// buffer-file-coding-system: utf-8-unix
698-
// End:

src/libcore/unstable/lang.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -183,11 +183,3 @@ pub fn start(main: *u8, argc: int, argv: **c_char,
183183
crate_map: *c_void) -> c_int;
184184
}
185185
}
186-
187-
// Local Variables:
188-
// mode: rust;
189-
// fill-column: 78;
190-
// indent-tabs-mode: nil
191-
// c-basic-offset: 4
192-
// buffer-file-coding-system: utf-8-unix
193-
// End:

src/libfuzzer/fuzzer.rc

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -693,10 +693,3 @@ pub fn main() {
693693

694694
error!("Fuzzer done");
695695
}
696-
697-
// Local Variables:
698-
// fill-column: 78;
699-
// indent-tabs-mode: nil
700-
// c-basic-offset: 4
701-
// buffer-file-coding-system: utf-8-unix
702-
// End:

src/librustc/back/abi.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,3 @@ pub fn bzero_glue_name() -> ~str { return ~"rust_bzero_glue"; }
7777
pub fn yield_glue_name() -> ~str { return ~"rust_yield_glue"; }
7878

7979
pub fn no_op_type_glue_name() -> ~str { return ~"rust_no_op_type_glue"; }
80-
//
81-
// Local Variables:
82-
// mode: rust
83-
// fill-column: 78;
84-
// indent-tabs-mode: nil
85-
// c-basic-offset: 4
86-
// buffer-file-coding-system: utf-8-unix
87-
// End:
88-
//

src/librustc/back/arm.rs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -72,14 +72,3 @@ pub fn get_target_strs(target_os: session::os) -> target_strs::t {
7272
cc_args: ~[~"-marm"]
7373
};
7474
}
75-
76-
77-
//
78-
// Local Variables:
79-
// mode: rust
80-
// fill-column: 78;
81-
// indent-tabs-mode: nil
82-
// c-basic-offset: 4
83-
// buffer-file-coding-system: utf-8-unix
84-
// End:
85-
//

src/librustc/back/link.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -949,13 +949,3 @@ pub fn link_args(sess: Session,
949949

950950
return args;
951951
}
952-
953-
//
954-
// Local Variables:
955-
// mode: rust
956-
// fill-column: 78;
957-
// indent-tabs-mode: nil
958-
// c-basic-offset: 4
959-
// buffer-file-coding-system: utf-8-unix
960-
// End:
961-
//

src/librustc/back/mips.rs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -72,14 +72,3 @@ pub fn get_target_strs(target_os: session::os) -> target_strs::t {
7272
cc_args: ~[]
7373
};
7474
}
75-
76-
77-
//
78-
// Local Variables:
79-
// mode: rust
80-
// fill-column: 78;
81-
// indent-tabs-mode: nil
82-
// c-basic-offset: 4
83-
// buffer-file-coding-system: utf-8-unix
84-
// End:
85-
//

src/librustc/back/upcall.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,3 @@ pub fn declare_upcalls(targ_cfg: @session::config,
5959
nothrow(dv(~"reset_stack_limit", ~[]))
6060
}
6161
}
62-
//
63-
// Local Variables:
64-
// mode: rust
65-
// fill-column: 78;
66-
// indent-tabs-mode: nil
67-
// c-basic-offset: 4
68-
// buffer-file-coding-system: utf-8-unix
69-
// End:
70-
//

src/librustc/back/x86.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,3 @@ pub fn get_target_strs(target_os: session::os) -> target_strs::t {
5555
cc_args: ~[~"-m32"]
5656
};
5757
}
58-
59-
//
60-
// Local Variables:
61-
// mode: rust
62-
// fill-column: 78;
63-
// indent-tabs-mode: nil
64-
// c-basic-offset: 4
65-
// buffer-file-coding-system: utf-8-unix
66-
// End:
67-
//

src/librustc/back/x86_64.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,3 @@ pub fn get_target_strs(target_os: session::os) -> target_strs::t {
6363
cc_args: ~[~"-m64"]
6464
};
6565
}
66-
67-
//
68-
// Local Variables:
69-
// mode: rust
70-
// fill-column: 78;
71-
// indent-tabs-mode: nil
72-
// c-basic-offset: 4
73-
// buffer-file-coding-system: utf-8-unix
74-
// End:
75-
//

src/librustc/driver/driver.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -951,11 +951,3 @@ mod test {
951951
assert!((vec::len(test_items) == 1u));
952952
}
953953
}
954-
955-
// Local Variables:
956-
// mode: rust
957-
// fill-column: 78;
958-
// indent-tabs-mode: nil
959-
// c-basic-offset: 4
960-
// buffer-file-coding-system: utf-8-unix
961-
// End:

src/librustc/driver/session.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -430,10 +430,3 @@ mod test {
430430
assert!(building_library(lib_crate, crate, true));
431431
}
432432
}
433-
434-
// Local Variables:
435-
// fill-column: 78;
436-
// indent-tabs-mode: nil
437-
// c-basic-offset: 4
438-
// buffer-file-coding-system: utf-8-unix
439-
// End:

src/librustc/front/config.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -194,11 +194,3 @@ pub fn metas_in_cfg(cfg: ast::crate_cfg,
194194
})
195195
})
196196
}
197-
198-
199-
// Local Variables:
200-
// fill-column: 78;
201-
// indent-tabs-mode: nil
202-
// c-basic-offset: 4
203-
// buffer-file-coding-system: utf-8-unix
204-
// End:

src/librustc/front/test.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -456,11 +456,3 @@ fn mk_test_desc_and_fn_rec(cx: &TestCtxt, test: &Test) -> @ast::expr {
456456
);
457457
e
458458
}
459-
460-
// Local Variables:
461-
// mode: rust
462-
// fill-column: 78;
463-
// indent-tabs-mode: nil
464-
// c-basic-offset: 4
465-
// buffer-file-coding-system: utf-8-unix
466-
// End:

src/librustc/lib/llvm.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2196,13 +2196,3 @@ pub fn mk_section_iter(llof: ObjectFileRef) -> SectionIter {
21962196
}
21972197
}
21982198
}
2199-
2200-
//
2201-
// Local Variables:
2202-
// mode: rust
2203-
// fill-column: 78;
2204-
// indent-tabs-mode: nil
2205-
// c-basic-offset: 4
2206-
// buffer-file-coding-system: utf-8-unix
2207-
// End:
2208-
//

src/librustc/metadata/creader.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -328,11 +328,3 @@ fn resolve_crate_deps(e: @mut Env, cdata: @~[u8]) -> cstore::cnum_map {
328328
}
329329
return @mut cnum_map;
330330
}
331-
332-
// Local Variables:
333-
// mode: rust
334-
// fill-column: 78;
335-
// indent-tabs-mode: nil
336-
// c-basic-offset: 4
337-
// buffer-file-coding-system: utf-8-unix
338-
// End:

src/librustc/metadata/csearch.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -243,11 +243,3 @@ pub fn get_link_args_for_crate(cstore: @mut cstore::CStore,
243243
let cdata = cstore::get_crate_data(cstore, crate_num);
244244
decoder::get_link_args_for_crate(cdata)
245245
}
246-
247-
// Local Variables:
248-
// mode: rust
249-
// fill-column: 78;
250-
// indent-tabs-mode: nil
251-
// c-basic-offset: 4
252-
// buffer-file-coding-system: utf-8-unix
253-
// End:

0 commit comments

Comments
 (0)