From 3bd1f32cd945fab63777b71ef76f23d758e2904c Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Fri, 7 Sep 2012 14:52:28 -0700 Subject: Convert all kind bounds to camel case. Remove send, owned keywords. --- src/libcore/at_vec.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/libcore/at_vec.rs') diff --git a/src/libcore/at_vec.rs b/src/libcore/at_vec.rs index 4cf0b8f332d..717993e78c1 100644 --- a/src/libcore/at_vec.rs +++ b/src/libcore/at_vec.rs @@ -89,7 +89,7 @@ pure fn build_sized_opt(size: Option, // Appending #[inline(always)] -pure fn append(lhs: @[T], rhs: &[const T]) -> @[T] { +pure fn append(lhs: @[T], rhs: &[const T]) -> @[T] { do build_sized(lhs.len() + rhs.len()) |push| { for vec::each(lhs) |x| { push(x); } for uint::range(0, rhs.len()) |i| { push(rhs[i]); } @@ -125,7 +125,7 @@ pure fn from_fn(n_elts: uint, op: iter::InitOp) -> @[T] { * Creates an immutable vector of size `n_elts` and initializes the elements * to the value `t`. */ -pure fn from_elem(n_elts: uint, t: T) -> @[T] { +pure fn from_elem(n_elts: uint, t: T) -> @[T] { do build_sized(n_elts) |push| { let mut i: uint = 0u; while i < n_elts { push(t); i += 1u; } @@ -133,7 +133,7 @@ pure fn from_elem(n_elts: uint, t: T) -> @[T] { } #[cfg(notest)] -impl @[T]: Add<&[const T],@[T]> { +impl @[T]: Add<&[const T],@[T]> { #[inline(always)] pure fn add(rhs: &[const T]) -> @[T] { append(self, rhs) -- cgit 1.4.1-3-g733a5