From 8db6465e06569ef1434bc6c87c401020462fc351 Mon Sep 17 00:00:00 2001 From: Scott Olson Date: Sat, 21 Feb 2015 19:43:11 -0500 Subject: [PATCH] Change int to i32 in Cow example. --- src/libcollections/borrow.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcollections/borrow.rs b/src/libcollections/borrow.rs index e92f38741c9a..f3c44a84ee50 100644 --- a/src/libcollections/borrow.rs +++ b/src/libcollections/borrow.rs @@ -132,7 +132,7 @@ impl 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 {