about summary refs log tree commit diff
path: root/src/libstd/smallintmap.rs
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@mimiga.net>2013-03-21 19:07:54 -0700
committerPatrick Walton <pcwalton@mimiga.net>2013-03-22 10:27:39 -0700
commit4634f7edaefafa3e5ece93499e08992b4c8c7145 (patch)
treeaa695c6ea7ffa0d19919584e9636b3f78b1f40ab /src/libstd/smallintmap.rs
parent1616ffd0c2627502b1015b6388480ed7429ef042 (diff)
downloadrust-4634f7edaefafa3e5ece93499e08992b4c8c7145.tar.gz
rust-4634f7edaefafa3e5ece93499e08992b4c8c7145.zip
librustc: Remove all uses of `static` from functions. rs=destatic
Diffstat (limited to 'src/libstd/smallintmap.rs')
-rw-r--r--src/libstd/smallintmap.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/smallintmap.rs b/src/libstd/smallintmap.rs
index dc2688a20e7..6a6635bae90 100644
--- a/src/libstd/smallintmap.rs
+++ b/src/libstd/smallintmap.rs
@@ -135,7 +135,7 @@ impl<V> Map<uint, V> for SmallIntMap<V> {
 
 pub impl<V> SmallIntMap<V> {
     /// Create an empty SmallIntMap
-    static pure fn new() -> SmallIntMap<V> { SmallIntMap{v: ~[]} }
+    pure fn new() -> SmallIntMap<V> { SmallIntMap{v: ~[]} }
 
     pure fn get(&self, key: &uint) -> &'self V {
         self.find(key).expect("key not present")