Skip to content

Commit

Permalink
Audit core::borrow for use of int/uint: use i32 in doc example.
Browse files Browse the repository at this point in the history
  • Loading branch information
pnkfelix committed Feb 18, 2015
1 parent dfc5c0f commit f82e231
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/borrow.rs
Expand Up @@ -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 {
Expand Down

0 comments on commit f82e231

Please sign in to comment.