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 1ee9a83 commit 8944a39Copy full SHA for 8944a39
src/libcore/task.rs
@@ -229,7 +229,7 @@ Returns:
229
The new child task along with the port to receive messages and the channel
230
to send messages.
231
*/
232
-fn spawn_connected<ToCh:send, FrCh:send>(f: connected_fn<ToCh, FrCh>)
+fn spawn_connected<ToCh:send, FrCh:send>(+f: connected_fn<ToCh, FrCh>)
233
-> connected_task<ToCh,FrCh> {
234
let from_child_port = comm::port::<FrCh>();
235
let from_child_chan = comm::chan(from_child_port);
0 commit comments