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:

0 commit comments

Comments
 (0)