Skip to content

Commit

Permalink
Fix readme doctest (fixup #24239)
Browse files Browse the repository at this point in the history
  • Loading branch information
Manishearth committed Apr 11, 2015
1 parent 859c5ed commit 0a2885a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/doc/trpl/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ fn main() {
let y = &x[0];
x.push(4);
x.push("foo");
}
```

Expand Down Expand Up @@ -159,7 +159,7 @@ fn main() {

let y = x[0].clone();

x.push(4);
x.push("foo");
}
```

Expand All @@ -181,7 +181,7 @@ fn main() {
let y = &x[0];
}

x.push(4);
x.push("foo");
}
```

Expand Down

0 comments on commit 0a2885a

Please sign in to comment.