about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorgamazeps <gamaz3ps@gmail.com>2014-11-08 01:39:39 +0100
committergamazeps <gamaz3ps@gmail.com>2014-11-08 15:02:09 +0100
commit16c8cd931cd5ccc9c73b87cac488938556018019 (patch)
tree29d29d5791a7046e949313aa86635404869c7f24 /src/libsyntax
parent6ee56c9a5febad45865b7d41422b7ae4d996fcaa (diff)
downloadrust-16c8cd931cd5ccc9c73b87cac488938556018019.tar.gz
rust-16c8cd931cd5ccc9c73b87cac488938556018019.zip
Renamed Extendable to Extend
In order to upgrade, simply rename the Extendable trait to Extend in
your code

Part of #18424

[breaking-change]
Diffstat (limited to 'src/libsyntax')
-rw-r--r--src/libsyntax/util/small_vector.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/util/small_vector.rs b/src/libsyntax/util/small_vector.rs
index 56ee6c7b915..8aba0014e97 100644
--- a/src/libsyntax/util/small_vector.rs
+++ b/src/libsyntax/util/small_vector.rs
@@ -33,7 +33,7 @@ impl<T> FromIterator<T> for SmallVector<T> {
     }
 }
 
-impl<T> Extendable<T> for SmallVector<T> {
+impl<T> Extend<T> for SmallVector<T> {
     fn extend<I: Iterator<T>>(&mut self, mut iter: I) {
         for val in iter {
             self.push(val);