Replace most ~exprs with 'box'. #11779
This commit is contained in:
parent
a67307e2a5
commit
a5be12ce7e
117 changed files with 630 additions and 623 deletions
|
@ -207,7 +207,7 @@ impl Timer {
|
|||
let id = unsafe { ID.fetch_add(1, atomics::Relaxed) };
|
||||
Ok(Timer {
|
||||
id: id,
|
||||
inner: Some(~Inner {
|
||||
inner: Some(box Inner {
|
||||
tx: None,
|
||||
interval: 0,
|
||||
target: 0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue