diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2013-11-22 14:15:32 -0800 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2013-11-26 08:25:27 -0800 |
| commit | 151b7ed52d76a11a39888931056f1bcc9c45807a (patch) | |
| tree | 614d773bfa0bcb8c1b93d4a6c4f824780f925f5b /src/libstd/num/uint.rs | |
| parent | 749ee53c6d23ae1467568d6e0280a4f59e4e952b (diff) | |
| download | rust-151b7ed52d76a11a39888931056f1bcc9c45807a.tar.gz rust-151b7ed52d76a11a39888931056f1bcc9c45807a.zip | |
libstd: Fix Win32 and other bustage.
Diffstat (limited to 'src/libstd/num/uint.rs')
| -rw-r--r-- | src/libstd/num/uint.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/num/uint.rs b/src/libstd/num/uint.rs index cf7047bd068..cf28083bb09 100644 --- a/src/libstd/num/uint.rs +++ b/src/libstd/num/uint.rs @@ -77,13 +77,13 @@ impl num::Times for uint { #[inline] /// /// A convenience form for basic repetition. Given a uint `x`, - /// `do x.times { ... }` executes the given block x times. + /// `x.times(|| { ... })` executes the given block x times. /// /// Equivalent to `for uint::range(0, x) |_| { ... }`. /// /// Not defined on all integer types to permit unambiguous /// use with integer literals of inferred integer-type as - /// the self-value (eg. `do 100.times { ... }`). + /// the self-value (eg. `100.times(|| { ... })`). /// fn times(&self, it: ||) { let mut i = *self; |
