Skip to content

Commit e4aa898

Browse files
committed
---
yaml --- r: 107763 b: refs/heads/dist-snap c: 2d60691 h: refs/heads/master i: 107761: f5665bc 107759: eeaea92 v: v3
1 parent 3722395 commit e4aa898

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ refs/heads/try: f64fdf524a434f0e5cd0bc91d09c144723f3c90d
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
9-
refs/heads/dist-snap: 0c081afabd8af8ddda708d0f2e8890d31d33d66f
9+
refs/heads/dist-snap: 2d60691eb7a7d2735837cadf05883b3abfcbc160
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
1212
refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0

branches/dist-snap/src/etc/vim/syntax/rust.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ syn keyword rustTrait SendStr SendStrOwned SendStrStatic IntoSendStr
9292
syn keyword rustTrait Str StrVector StrSlice OwnedStr
9393
syn keyword rustTrait IterBytes
9494
syn keyword rustTrait ToStr IntoStr
95-
syn keyword rustTrait CopyableTuple ImmutableTuple
95+
syn keyword rustTrait CloneableTuple ImmutableTuple
9696
syn keyword rustTrait Tuple1 Tuple2 Tuple3 Tuple4
9797
syn keyword rustTrait Tuple5 Tuple6 Tuple7 Tuple8
9898
syn keyword rustTrait Tuple9 Tuple10 Tuple11 Tuple12

branches/dist-snap/src/libstd/prelude.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ pub use send_str::{SendStr, SendStrOwned, SendStrStatic, IntoSendStr};
6868
pub use str::{Str, StrVector, StrSlice, OwnedStr};
6969
pub use to_bytes::IterBytes;
7070
pub use to_str::{ToStr, IntoStr};
71-
pub use tuple::{CopyableTuple, ImmutableTuple};
71+
pub use tuple::{CloneableTuple, ImmutableTuple};
7272
pub use tuple::{ImmutableTuple1, ImmutableTuple2, ImmutableTuple3, ImmutableTuple4};
7373
pub use tuple::{ImmutableTuple5, ImmutableTuple6, ImmutableTuple7, ImmutableTuple8};
7474
pub use tuple::{ImmutableTuple9, ImmutableTuple10, ImmutableTuple11, ImmutableTuple12};

branches/dist-snap/src/libstd/str.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ impl<'a> Iterator<&'a str> for StrSplits<'a> {
594594
// Helper functions used for Unicode normalization
595595
fn canonical_sort(comb: &mut [(char, u8)]) {
596596
use iter::range;
597-
use tuple::CopyableTuple;
597+
use tuple::CloneableTuple;
598598

599599
let len = comb.len();
600600
for i in range(0, len) {

branches/dist-snap/src/libstd/tuple.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ use clone::Clone;
1717
#[cfg(not(test))] use default::Default;
1818

1919
/// Method extensions to pairs where both types satisfy the `Clone` bound
20-
pub trait CopyableTuple<T, U> {
20+
pub trait CloneableTuple<T, U> {
2121
/// Return the first element of self
2222
fn first(&self) -> T;
2323
/// Return the second element of self
@@ -26,7 +26,7 @@ pub trait CopyableTuple<T, U> {
2626
fn swap(&self) -> (U, T);
2727
}
2828

29-
impl<T:Clone,U:Clone> CopyableTuple<T, U> for (T, U) {
29+
impl<T:Clone,U:Clone> CloneableTuple<T, U> for (T, U) {
3030
/// Return the first element of self
3131
#[inline]
3232
fn first(&self) -> T {

0 commit comments

Comments
 (0)