diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2013-03-14 11:22:51 -0700 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2013-03-18 11:45:59 -0700 |
| commit | 299995c2b62c520708d450e4b7c6d360be0fd852 (patch) | |
| tree | 3d2fecdcc467d3dafc74fc627a4784838ec2d0a7 /src/libcore/task | |
| parent | f54adca7c984c75334d9cb73ec85bf3b5c326ed9 (diff) | |
| download | rust-299995c2b62c520708d450e4b7c6d360be0fd852.tar.gz rust-299995c2b62c520708d450e4b7c6d360be0fd852.zip | |
librustc: Convert all uses of old lifetime notation to new lifetime notation. rs=delifetiming
Diffstat (limited to 'src/libcore/task')
| -rw-r--r-- | src/libcore/task/local_data.rs | 2 | ||||
| -rw-r--r-- | src/libcore/task/spawn.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/task/local_data.rs b/src/libcore/task/local_data.rs index 690b3aedc5a..ccd91709479 100644 --- a/src/libcore/task/local_data.rs +++ b/src/libcore/task/local_data.rs @@ -44,7 +44,7 @@ use task::rt; * * These two cases aside, the interface is safe. */ -pub type LocalDataKey<T> = &self/fn(v: @T); +pub type LocalDataKey<T> = &'self fn(v: @T); /** * Remove a task-local data value from the table, returning the diff --git a/src/libcore/task/spawn.rs b/src/libcore/task/spawn.rs index a0db2525441..0fd373b803f 100644 --- a/src/libcore/task/spawn.rs +++ b/src/libcore/task/spawn.rs @@ -123,7 +123,7 @@ struct TaskGroupData { } type TaskGroupArc = unstable::Exclusive<Option<TaskGroupData>>; -type TaskGroupInner = &self/mut Option<TaskGroupData>; +type TaskGroupInner = &'self mut Option<TaskGroupData>; // A taskgroup is 'dead' when nothing can cause it to fail; only members can. pure fn taskgroup_is_dead(tg: &TaskGroupData) -> bool { |
