diff options
| author | Scott Olson <scott@scott-olson.org> | 2015-02-21 19:43:11 -0500 |
|---|---|---|
| committer | Scott Olson <scott@scott-olson.org> | 2015-02-22 20:31:12 -0500 |
| commit | 8db6465e06569ef1434bc6c87c401020462fc351 (patch) | |
| tree | e9fc615ac3ca47d7701320de55213508855fb558 | |
| parent | dcc6ce2c772cb851ac35cbc2ddafcae9bf2fa9fd (diff) | |
| download | rust-8db6465e06569ef1434bc6c87c401020462fc351.tar.gz rust-8db6465e06569ef1434bc6c87c401020462fc351.zip | |
Change int to i32 in Cow example.
| -rw-r--r-- | src/libcollections/borrow.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcollections/borrow.rs b/src/libcollections/borrow.rs index e92f38741c9..f3c44a84ee5 100644 --- a/src/libcollections/borrow.rs +++ b/src/libcollections/borrow.rs @@ -132,7 +132,7 @@ impl<T> ToOwned for T where T: Clone { /// ```rust /// use std::borrow::Cow; /// -/// fn abs_all(input: &mut Cow<[int]>) { +/// fn abs_all(input: &mut Cow<[i32]>) { /// for i in 0..input.len() { /// let v = input[i]; /// if v < 0 { |
