Skip to content

Commit

Permalink
Change int to i32 in Cow example.
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Olson committed Feb 23, 2015
1 parent dcc6ce2 commit 8db6465
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcollections/borrow.rs
Expand Up @@ -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 {
Expand Down

0 comments on commit 8db6465

Please sign in to comment.