Audit core::borrow for use of int/uint: use i32 in doc example.

This commit is contained in:
Felix S. Klock II 2015-02-18 14:37:05 +01:00
parent dfc5c0f1e8
commit f82e2310b3

View File

@ -124,7 +124,7 @@ impl<T> ToOwned<T> for T where T: Clone {
/// ```rust
/// use std::borrow::Cow;
///
/// fn abs_all(input: &mut Cow<Vec<int>, [int]>) {
/// fn abs_all(input: &mut Cow<Vec<i32>, [i32]>) {
/// for i in 0..input.len() {
/// let v = input[i];
/// if v < 0 {