Skip to content

Commit

Permalink
Strip all leading/trailing newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
tamird committed Mar 15, 2015
1 parent 95018ee commit d51047d
Show file tree
Hide file tree
Showing 383 changed files with 5 additions and 413 deletions.
1 change: 0 additions & 1 deletion mk/cfg/x86_64-unknown-linux-gnu.mk
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,3 @@ CFG_LDPATH_x86_64-unknown-linux-gnu :=
CFG_RUN_x86_64-unknown-linux-gnu=$(2)
CFG_RUN_TARG_x86_64-unknown-linux-gnu=$(call CFG_RUN_x86_64-unknown-linux-gnu,,$(2))
CFG_GNU_TRIPLE_x86_64-unknown-linux-gnu := x86_64-unknown-linux-gnu

2 changes: 0 additions & 2 deletions mk/prepare.mk
Original file line number Diff line number Diff line change
Expand Up @@ -221,5 +221,3 @@ prepare-maybe-clean-$(1):


endef


1 change: 0 additions & 1 deletion mk/util.mk
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,3 @@ else
endif

S := $(CFG_SRC_DIR)

1 change: 0 additions & 1 deletion src/doc/not_found.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,3 @@ function populate_rust_search() {
populate_site_search();
populate_rust_search();
</script>

1 change: 0 additions & 1 deletion src/doc/trpl/documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -521,4 +521,3 @@ This sets a few different options, with a logo, favicon, and a root URL.
- `--html-before-content FILE`: includes the contents of FILE directly after
`<body>`, before the rendered content (including the search bar).
- `--html-after-content FILE`: includes the contents of FILE after all the rendered content.

1 change: 0 additions & 1 deletion src/doc/trpl/ffi.md
Original file line number Diff line number Diff line change
Expand Up @@ -543,4 +543,3 @@ The `extern` makes this function adhere to the C calling convention, as
discussed above in "[Foreign Calling
Conventions](ffi.html#foreign-calling-conventions)". The `no_mangle`
attribute turns off Rust's name mangling, so that it is easier to link to.

1 change: 0 additions & 1 deletion src/etc/featureck.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,4 +242,3 @@
for line in lines:
print "* " + line
print

2 changes: 1 addition & 1 deletion src/etc/gdb_rust_pretty_printing.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,4 +340,4 @@ def extract_length_and_data_ptr_from_std_vec(vec_val):
unique_ptr_val = vec_ptr_val[first_field(vec_ptr_val)]
data_ptr = unique_ptr_val[first_field(unique_ptr_val)]
assert data_ptr.type.code == gdb.TYPE_CODE_PTR
return (length, data_ptr)
return (length, data_ptr)
1 change: 0 additions & 1 deletion src/etc/third-party/COPYING.RUNTIME
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,3 @@ consistent with the licensing of the Independent Modules.
The availability of this Exception does not imply any general
presumption that third-party software is unaffected by the copyleft
requirements of the license of GCC.

1 change: 0 additions & 1 deletion src/grammar/check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,3 @@ else
printf "failed. $passed passed; $failed failed; $skipped skipped\n\n"
exit 1
fi

1 change: 0 additions & 1 deletion src/libbacktrace/configure
Original file line number Diff line number Diff line change
Expand Up @@ -15153,4 +15153,3 @@ if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
fi
1 change: 0 additions & 1 deletion src/libbacktrace/ltmain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8633,4 +8633,3 @@ build_old_libs=`case $build_libtool_libs in yes) echo no;; *) echo yes;; esac`
# sh-indentation:2
# End:
# vi:sw=2

1 change: 0 additions & 1 deletion src/libcore/default.rs
Original file line number Diff line number Diff line change
Expand Up @@ -164,4 +164,3 @@ default_impl! { i64, 0 }

default_impl! { f32, 0.0f32 }
default_impl! { f64, 0.0f64 }

1 change: 0 additions & 1 deletion src/libcore/finally.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,4 +107,3 @@ impl<'a, A, F> Drop for Finallyalizer<'a, A, F> where F: FnMut(&mut A) {
(self.dtor)(self.mutate);
}
}

1 change: 0 additions & 1 deletion src/libcore/num/float_macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,3 @@ macro_rules! assert_approx_eq {
"{} is not approximately equal to {}", *a, *b);
})
}

1 change: 0 additions & 1 deletion src/libcoretest/intrinsics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,3 @@ fn test_typeid_unsized_types() {
assert_eq!(TypeId::of::<Y>(), TypeId::of::<Y>());
assert!(TypeId::of::<X>() != TypeId::of::<Y>());
}

1 change: 0 additions & 1 deletion src/liblog/macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,4 +197,3 @@ macro_rules! log_enabled {
::log::mod_enabled(lvl, module_path!())
})
}

1 change: 0 additions & 1 deletion src/librustc/diagnostics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,4 +132,3 @@ register_diagnostics! {
}

__build_diagnostic_array! { DIAGNOSTICS }

1 change: 0 additions & 1 deletion src/librustc/metadata/tydecode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -963,4 +963,3 @@ fn parse_region_bounds_<'a, 'tcx, F>(st: &mut PState<'a, 'tcx>, conv: &mut F)
}
}
}

1 change: 0 additions & 1 deletion src/librustc/middle/cfg/graphviz.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,4 +124,3 @@ impl<'a, 'ast> dot::GraphWalk<'a, Node<'a>, Edge<'a>> for LabelledCFG<'a, 'ast>
fn source(&'a self, edge: &Edge<'a>) -> Node<'a> { self.cfg.source(edge) }
fn target(&'a self, edge: &Edge<'a>) -> Node<'a> { self.cfg.target(edge) }
}

1 change: 0 additions & 1 deletion src/librustc/middle/fast_reject.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,3 @@ pub fn simplify_type(tcx: &ty::ctxt,
ty::ty_infer(_) | ty::ty_err => None,
}
}

1 change: 0 additions & 1 deletion src/librustc/middle/infer/resolve.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,4 +112,3 @@ impl<'a, 'tcx> ty_fold::TypeFolder<'tcx> for FullTypeResolver<'a, 'tcx> {
}
}
}

1 change: 0 additions & 1 deletion src/librustc/middle/infer/sub.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,4 +153,3 @@ impl<'f, 'tcx> Combine<'tcx> for Sub<'f, 'tcx> {
self.higher_ranked_sub(a, b)
}
}

1 change: 0 additions & 1 deletion src/librustc/middle/mem_categorization.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1635,4 +1635,3 @@ impl<'tcx> UserString<'tcx> for Upvar {
format!("captured outer variable in an `{}` closure", kind)
}
}

2 changes: 0 additions & 2 deletions src/librustc/middle/traits/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -568,5 +568,3 @@ impl<'tcx> fmt::Debug for super::MismatchedProjectionTypes<'tcx> {
write!(f, "MismatchedProjectionTypes(..)")
}
}


1 change: 0 additions & 1 deletion src/librustc_back/archive.rs
Original file line number Diff line number Diff line change
Expand Up @@ -324,4 +324,3 @@ impl<'a> ArchiveBuilder<'a> {
Ok(())
}
}

1 change: 0 additions & 1 deletion src/librustc_back/target/dragonfly_base.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,3 @@ pub fn opts() -> TargetOptions {
.. Default::default()
}
}

1 change: 0 additions & 1 deletion src/librustc_back/target/freebsd_base.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,3 @@ pub fn opts() -> TargetOptions {
.. Default::default()
}
}

1 change: 0 additions & 1 deletion src/librustc_back/target/openbsd_base.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,3 @@ pub fn opts() -> TargetOptions {
.. Default::default()
}
}

1 change: 0 additions & 1 deletion src/librustc_trans/back/lto.rs
Original file line number Diff line number Diff line change
Expand Up @@ -213,4 +213,3 @@ fn read_from_le_bytes<T: Int>(bytes: &[u8], position_in_bytes: uint) -> T {

Int::from_le(data)
}

1 change: 0 additions & 1 deletion src/librustc_trans/trans/closure.rs
Original file line number Diff line number Diff line change
Expand Up @@ -259,4 +259,3 @@ pub fn trans_closure_expr<'a, 'tcx>(dest: Dest<'a, 'tcx>,

Some(bcx)
}

2 changes: 0 additions & 2 deletions src/librustc_trans/trans/llrepr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,3 @@ impl LlvmRepr for ValueRef {
ccx.tn().val_to_string(*self)
}
}


2 changes: 0 additions & 2 deletions src/librustc_typeck/check/closure.rs
Original file line number Diff line number Diff line change
Expand Up @@ -248,5 +248,3 @@ fn self_type_matches_expected_vid<'a,'tcx>(
_ => None,
}
}


2 changes: 0 additions & 2 deletions src/librustc_typeck/check/upvar.rs
Original file line number Diff line number Diff line change
Expand Up @@ -556,5 +556,3 @@ impl<'a,'tcx> euv::Delegate<'tcx> for AdjustBorrowKind<'a,'tcx> {
self.adjust_upvar_borrow_kind_for_mut(assignee_cmt);
}
}


1 change: 0 additions & 1 deletion src/librustc_typeck/check/vtable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -302,4 +302,3 @@ pub fn select_new_fcx_obligations(fcx: &FnCtxt) {
Err(errors) => { report_fulfillment_errors(fcx.infcx(), &errors); }
}
}

1 change: 0 additions & 1 deletion src/librustc_typeck/diagnostics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -181,4 +181,3 @@ register_diagnostics! {
}

__build_diagnostic_array! { DIAGNOSTICS }

1 change: 0 additions & 1 deletion src/librustc_typeck/variance.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1350,4 +1350,3 @@ fn glb(v1: ty::Variance, v2: ty::Variance) -> ty::Variance {
(x, ty::Bivariant) | (ty::Bivariant, x) => x,
}
}

1 change: 0 additions & 1 deletion src/librustdoc/html/item_type.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,4 +111,3 @@ impl fmt::Display for ItemType {
self.to_static_str().fmt(f)
}
}

1 change: 0 additions & 1 deletion src/librustdoc/html/static/playpen.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,3 @@
});
}
}());

1 change: 0 additions & 1 deletion src/libstd/bool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,3 @@

#![doc(primitive = "bool")]
#![stable(feature = "rust1", since = "1.0.0")]

1 change: 0 additions & 1 deletion src/rt/msvc/typeof.h
Original file line number Diff line number Diff line change
Expand Up @@ -94,4 +94,3 @@ namespace msvc_typeof_impl {
#endif

#endif

2 changes: 0 additions & 2 deletions src/rt/valgrind/memcheck.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

/*
----------------------------------------------------------------
Expand Down Expand Up @@ -284,4 +283,3 @@ typedef
(zznbytes), 0, 0 )

#endif

1 change: 0 additions & 1 deletion src/test/auxiliary/changing-crates-a2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,3 @@
#![crate_name = "a"]

pub fn foo<T>() { println!("hello!"); }

1 change: 0 additions & 1 deletion src/test/auxiliary/coherence-orphan-lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,3 @@
pub trait TheTrait<T> : ::std::marker::PhantomFn<T> {
fn the_fn(&self);
}

1 change: 0 additions & 1 deletion src/test/auxiliary/default_type_params_xc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,3 @@ pub struct Heap;
pub struct FakeHeap;

pub struct FakeVec<T, A = FakeHeap> { pub f: Option<(T,A)> }

1 change: 0 additions & 1 deletion src/test/auxiliary/iss.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,3 @@ fn no_op() { }
pub const D : C<fn()> = C {
k: no_op as fn()
};

1 change: 0 additions & 1 deletion src/test/auxiliary/issue-12133-dylib2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,3 @@

extern crate "issue-12133-rlib" as a;
extern crate "issue-12133-dylib" as b;

1 change: 0 additions & 1 deletion src/test/auxiliary/issue-13560-3.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,3 @@

#[macro_use] #[no_link] extern crate "issue-13560-1" as t1;
#[macro_use] extern crate "issue-13560-2" as t2;

1 change: 0 additions & 1 deletion src/test/auxiliary/issue-16725.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,3 @@
extern {
fn bar();
}

1 change: 0 additions & 1 deletion src/test/auxiliary/issue-5521.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,3 @@
use std::collections::HashMap;

pub type map = Box<HashMap<uint, uint>>;

1 change: 0 additions & 1 deletion src/test/auxiliary/issue13213aux.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,3 @@ mod private {
}

pub static A: S = S { p: private::THREE };

1 change: 0 additions & 1 deletion src/test/auxiliary/issue_3907.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,3 @@ use std::marker::MarkerTrait;
pub trait Foo : MarkerTrait {
fn bar();
}

1 change: 0 additions & 1 deletion src/test/auxiliary/issue_5844_aux.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,3 @@ extern crate libc;
extern "C" {
pub fn rand() -> libc::c_int;
}

1 change: 0 additions & 1 deletion src/test/auxiliary/issue_8401.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,3 @@ fn foo<T>(t: &T) {
let b = B;
bar(unsafe { mem::transmute(&b as &A) }, t)
}

1 change: 0 additions & 1 deletion src/test/auxiliary/issue_9123.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,3 @@ pub trait X {
}
fn dummy(&self) { }
}

1 change: 0 additions & 1 deletion src/test/auxiliary/issue_9188.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,3 @@ pub fn foo<T>() -> &'static int {
pub fn bar() -> &'static int {
foo::<int>()
}

1 change: 0 additions & 1 deletion src/test/auxiliary/kinds_in_metadata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,3 @@
#![crate_type="lib"]

pub fn f<T:Copy>() {}

2 changes: 0 additions & 2 deletions src/test/auxiliary/lang-item-public.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,3 @@ extern fn eh_personality() {}
pub trait Copy : PhantomFn<Self> {
// Empty.
}


1 change: 0 additions & 1 deletion src/test/auxiliary/namespaced_enums.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,3 @@ impl Foo {
pub fn foo() {}
pub fn bar(&self) {}
}

1 change: 0 additions & 1 deletion src/test/auxiliary/plugin_crate_outlive_expansion_phase.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,3 @@ pub fn registrar(_: &mut Registry) {
thread_local!(static FOO: RefCell<Option<Box<Any+Send>>> = RefCell::new(None));
FOO.with(|s| *s.borrow_mut() = Some(box Foo { foo: 10 } as Box<Any+Send>));
}

1 change: 0 additions & 1 deletion src/test/auxiliary/struct_variant_privacy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,3 @@
enum Bar {
Baz { a: int }
}

1 change: 0 additions & 1 deletion src/test/auxiliary/trait_bounds_on_structs_and_enums_xc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,3 @@ pub enum Bar<T:Trait> {
BBar(T),
CBar(uint),
}

1 change: 0 additions & 1 deletion src/test/auxiliary/weak-lang-items.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,3 @@ pub fn foo() {
mod std {
pub use core::{option, fmt};
}

1 change: 0 additions & 1 deletion src/test/auxiliary/where_clauses_xc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,3 @@ impl<T> Equal for T where T: Eq {
pub fn equal<T>(x: &T, y: &T) -> bool where T: Eq {
x == y
}

1 change: 0 additions & 1 deletion src/test/auxiliary/xcrate_struct_aliases.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,3 @@ pub struct S {
}

pub type S2 = S;

1 change: 0 additions & 1 deletion src/test/auxiliary/xcrate_unit_struct.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,3 @@ pub enum EnumWithVariants {
EnumVariant,
EnumVariantArg(int)
}

Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,3 @@ pub trait ToOwned {


fn main() {}

1 change: 0 additions & 1 deletion src/test/compile-fail/associated-types-issue-17359.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,3 @@ trait Trait : ::std::marker::MarkerTrait {
impl Trait for isize {} //~ ERROR missing: `Type`

fn main() {}

1 change: 0 additions & 1 deletion src/test/compile-fail/bad-crate-id2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,3 @@
extern crate "#a" as bar; //~ ERROR: invalid character `#` in crate name: `#a`

fn main() {}

1 change: 0 additions & 1 deletion src/test/compile-fail/borrowck-box-insensitivity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,4 +152,3 @@ fn main() {
borrow_after_mut_borrow_nested();
mut_borrow_after_borrow_nested();
}

1 change: 0 additions & 1 deletion src/test/compile-fail/borrowck-closures-unique-imm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,3 @@ pub fn main() {
};
r()
}

1 change: 0 additions & 1 deletion src/test/compile-fail/borrowck-field-sensitivity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,4 +124,3 @@ fn main() {
borrow_after_field_assign_after_uninit();
move_after_field_assign_after_uninit();
}

Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,3 @@ fn main() {
for &a in x.iter() { //~ ERROR cannot move out
}
}

1 change: 0 additions & 1 deletion src/test/compile-fail/borrowck-for-loop-head-linkage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,3 @@ fn main() {
vector[1] = 5; //~ ERROR cannot borrow
}
}

1 change: 0 additions & 1 deletion src/test/compile-fail/borrowck-issue-14498.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,3 @@ fn main() {
borrow_in_field_from_var();
borrow_in_field_from_field();
}

1 change: 0 additions & 1 deletion src/test/compile-fail/borrowck-let-suggestion.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,3 @@ fn f() {
fn main() {
f();
}

1 change: 0 additions & 1 deletion src/test/compile-fail/borrowck-multiple-captures.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,3 @@ fn main() {
same_var_after_borrow();
same_var_after_move();
}

Loading

0 comments on commit d51047d

Please sign in to comment.