We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d1a1b5 commit 23383f3Copy full SHA for 23383f3
src/task.rs
@@ -241,8 +241,7 @@ fn set_detached<T>(ptr: *const ()) -> Option<Result<T, Panic>> {
241
Ok(_) => {
242
// Read the output.
243
output = Some(
244
- ((*header).vtable.get_output(ptr) as *mut Result<T, Panic>)
245
- .read(),
+ ((*header).vtable.get_output(ptr) as *mut Result<T, Panic>).read(),
246
);
247
248
// Update the state variable because we're continuing the loop.
0 commit comments