diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2013-03-21 19:07:54 -0700 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2013-03-22 10:27:39 -0700 |
| commit | 4634f7edaefafa3e5ece93499e08992b4c8c7145 (patch) | |
| tree | aa695c6ea7ffa0d19919584e9636b3f78b1f40ab /src/libstd/time.rs | |
| parent | 1616ffd0c2627502b1015b6388480ed7429ef042 (diff) | |
| download | rust-4634f7edaefafa3e5ece93499e08992b4c8c7145.tar.gz rust-4634f7edaefafa3e5ece93499e08992b4c8c7145.zip | |
librustc: Remove all uses of `static` from functions. rs=destatic
Diffstat (limited to 'src/libstd/time.rs')
| -rw-r--r-- | src/libstd/time.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/time.rs b/src/libstd/time.rs index c72b3675c4c..faebe268564 100644 --- a/src/libstd/time.rs +++ b/src/libstd/time.rs @@ -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 } } |
