Comment

Comment by ikawe

Ok, I don't know rust at all, but often when I'm trying to understand a change, I look at how it affects the test cases.

Seeing the diff in the test cases should show how the API has changed, but I'm having a hard time reconciling the description of the changes with how the tests have changed.

There are several occurrences of changes like this:

    - spawn(move|| {
    + Thread::spawn(move|| {
         tx.send(i);
    - })
    + }).detach()
Thread methods have been namespaced under "Thread::" and now a "detach" method is appended to each call to spawn.

Can anyone shed some light?

parent ikawe 12 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton