summaryrefslogtreecommitdiff
path: root/src/sched.rs
diff options
context:
space:
mode:
authorValerii Hiora <valerii.hiora@gmail.com>2015-01-02 13:23:36 +0200
committerValerii Hiora <valerii.hiora@gmail.com>2015-01-02 13:23:36 +0200
commitc82c8cced23256ebeeea978fda67abd976280425 (patch)
tree3e3af67b97ca1240522903f2e153361e5e5919d8 /src/sched.rs
parent5bb9518aa029fc24da3fa71103d320919f2dd60c (diff)
downloadnix-c82c8cced23256ebeeea978fda67abd976280425.zip
Track rust master
- Updated array syntax - task_rng -> thread_rng
Diffstat (limited to 'src/sched.rs')
-rw-r--r--src/sched.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sched.rs b/src/sched.rs
index 969ab41b..1d269f98 100644
--- a/src/sched.rs
+++ b/src/sched.rs
@@ -71,7 +71,7 @@ pub type CpuMask = c_ulong;
#[repr(C)]
#[deriving(Copy)]
pub struct CpuSet {
- cpu_mask: [CpuMask, ..cpuset_attribs::CPU_SETSIZE/cpuset_attribs::CPU_MASK_BITS]
+ cpu_mask: [CpuMask; cpuset_attribs::CPU_SETSIZE/cpuset_attribs::CPU_MASK_BITS]
}
impl CpuSet {