about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorFelix S. Klock II <pnkfelix@pnkfx.org>2015-02-18 14:37:05 +0100
committerFelix S. Klock II <pnkfelix@pnkfx.org>2015-02-18 14:37:05 +0100
commitf82e2310b3b35bc1d137712576d2d16b82e03fcb (patch)
tree10c64ee4955b90abb185122c5d15d369e6d09206 /src
parentdfc5c0f1e8799f47f9033bdcc8a7cd8a217620a5 (diff)
downloadrust-f82e2310b3b35bc1d137712576d2d16b82e03fcb.tar.gz
rust-f82e2310b3b35bc1d137712576d2d16b82e03fcb.zip
Audit `core::borrow` for use of `int/uint`: use `i32` in doc example.
Diffstat (limited to 'src')
-rw-r--r--src/libcore/borrow.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/borrow.rs b/src/libcore/borrow.rs
index 035443e9c3f..3131952d94d 100644
--- a/src/libcore/borrow.rs
+++ b/src/libcore/borrow.rs
@@ -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 {