librustc: Remove all uses of static from functions. rs=destatic

This commit is contained in:
Patrick Walton
2013-03-21 19:07:54 -07:00
parent 1616ffd0c2
commit 4634f7edae
79 changed files with 281 additions and 286 deletions

View File

@@ -51,7 +51,7 @@ pub struct Timespec { sec: i64, nsec: i32 }
* nsec: 800_000_000_i32 }`.
*/
pub impl Timespec {
static pure fn new(sec: i64, nsec: i32) -> Timespec {
pure fn new(sec: i64, nsec: i32) -> Timespec {
fail_unless!(nsec >= 0 && nsec < NSEC_PER_SEC);
Timespec { sec: sec, nsec: nsec }
}