about summary refs log tree commit diff
path: root/src/libcore/rt/stack.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/libcore/rt/stack.rs
parent1616ffd0c2627502b1015b6388480ed7429ef042 (diff)
downloadrust-4634f7edaefafa3e5ece93499e08992b4c8c7145.tar.gz
rust-4634f7edaefafa3e5ece93499e08992b4c8c7145.zip
librustc: Remove all uses of `static` from functions. rs=destatic
Diffstat (limited to 'src/libcore/rt/stack.rs')
-rw-r--r--src/libcore/rt/stack.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/rt/stack.rs b/src/libcore/rt/stack.rs
index b5e7d4f3aa2..9b164eb08fa 100644
--- a/src/libcore/rt/stack.rs
+++ b/src/libcore/rt/stack.rs
@@ -15,7 +15,7 @@ pub struct StackSegment {
 }
 
 pub impl StackSegment {
-    static fn new(size: uint) -> StackSegment {
+    fn new(size: uint) -> StackSegment {
         // Crate a block of uninitialized values
         let mut stack = vec::with_capacity(size);
         unsafe {
@@ -37,7 +37,7 @@ pub impl StackSegment {
 pub struct StackPool(());
 
 impl StackPool {
-    static pub fn new() -> StackPool { StackPool(()) }
+    pub fn new() -> StackPool { StackPool(()) }
 
     fn take_segment(&self, min_size: uint) -> StackSegment {
         StackSegment::new(min_size)