You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
uv-based I/O is bound to a specific scheduler but tasks are not. This means that when a task goes to perform I/O it needs to check whether it is on the correct scheduler and if not, send itself as a message to the correct scheduler. Types that implement rtio traits will need to contain a SchedHandle to their home scheduler.
The text was updated successfully, but these errors were encountered:
Triage 2013-08-05: grep seems to suggest that this (rtio-trait-implementors having a SchedHandle) isn't the case yet. (Although there has been a lot of work in the last 2 months, so the design plan may've changed.)
…ishearth
Compare empty blocks for equality based on tokens
fixes: rust-lang#1390
This only considers empty blocks for now, though we should also catch something like this:
```rust
match 0 {
0 => {
do_something();
trace!(0);
0
}
1 => {
do_something();
trace!(1);
1
}
x => x,
}
```
As far as I can tell there aren't any negative effects on other lints. These blocks only happen to be the same for a given compilation, not all compilations.
changelog: Fix `match_on_same_arms` and others. Only consider empty blocks equal if the tokens contained are the same.
uv-based I/O is bound to a specific scheduler but tasks are not. This means that when a task goes to perform I/O it needs to check whether it is on the correct scheduler and if not, send itself as a message to the correct scheduler. Types that implement
rtio
traits will need to contain aSchedHandle
to their home scheduler.The text was updated successfully, but these errors were encountered: