Update for rust alpha 1.0

This commit is contained in:
Pierre Krieger 2015-01-09 23:06:14 +01:00
parent 9d7dbf7eb0
commit 469d0eafd1
8 changed files with 11 additions and 15 deletions

View file

@ -419,7 +419,7 @@ pub fn new_window(builder_dimensions: Option<(uint, uint)>, builder_title: Strin
unsafe { winapi::TranslateMessage(&msg) };
unsafe { winapi::DispatchMessageW(&msg) }; // calls `callback` (see below)
}
}).detach();
});
rx.recv().unwrap()
}