diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-08-14 16:54:13 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-08-15 14:14:20 -0700 |
| commit | 74c69e1053188d92b86bc8b28cbf1af87d31ea2d (patch) | |
| tree | 8c07fc440e572eb59787705a9dd11fcd789430e0 /src/libcore/uint-template.rs | |
| parent | 8be0f665bcda9f5e4077d0be6ebc6aa382e72319 (diff) | |
Convert more core types to camel case
Diffstat (limited to 'src/libcore/uint-template.rs')
| -rw-r--r-- | src/libcore/uint-template.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libcore/uint-template.rs b/src/libcore/uint-template.rs index 0fc35156f3a..4f27e8cea8f 100644 --- a/src/libcore/uint-template.rs +++ b/src/libcore/uint-template.rs @@ -80,7 +80,7 @@ impl T: num::Num { static pure fn from_int(n: int) -> T { return n as T; } } -impl T: iter::times { +impl T: iter::Times { #[inline(always)] #[doc = "A convenience form for basic iteration. Given a variable `x` \ of any numeric type, the expression `for x.times { /* anything */ }` \ @@ -96,7 +96,7 @@ impl T: iter::times { } } -impl T: iter::timesi { +impl T: iter::TimesIx { #[inline(always)] /// Like `times`, but with an index, `eachi`-style. fn timesi(it: fn(uint) -> bool) { @@ -295,7 +295,7 @@ fn to_str_radix17() { #[test] fn test_times() { - import iter::times; + import iter::Times; let ten = 10 as T; let mut accum = 0; for ten.times { accum += 1; } |
