diff options
author | Valerii Hiora <valerii.hiora@gmail.com> | 2015-01-02 13:23:36 +0200 |
---|---|---|
committer | Valerii Hiora <valerii.hiora@gmail.com> | 2015-01-02 13:23:36 +0200 |
commit | c82c8cced23256ebeeea978fda67abd976280425 (patch) | |
tree | 3e3af67b97ca1240522903f2e153361e5e5919d8 /src/sched.rs | |
parent | 5bb9518aa029fc24da3fa71103d320919f2dd60c (diff) | |
download | nix-c82c8cced23256ebeeea978fda67abd976280425.zip |
Track rust master
- Updated array syntax
- task_rng -> thread_rng
Diffstat (limited to 'src/sched.rs')
-rw-r--r-- | src/sched.rs | 2 |
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 { |