Commit 072aa9e
committed
Apply requested API changes to
Do the following:
* Switch to `impl FnOnce` rather than a generic `F`.
* Change `update` to return nothing.
This was discussed at a libs-api meeting [1].
Tracking issue: rust-lang#50186
[1]: rust-lang#134446 (comment)cell_update
1 parent 4f0de4c commit 072aa9e
2 files changed
+6
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
544 | 544 | | |
545 | 545 | | |
546 | 546 | | |
547 | | - | |
| 547 | + | |
548 | 548 | | |
549 | 549 | | |
550 | 550 | | |
| |||
554 | 554 | | |
555 | 555 | | |
556 | 556 | | |
557 | | - | |
558 | | - | |
559 | | - | |
| 557 | + | |
560 | 558 | | |
561 | 559 | | |
562 | 560 | | |
563 | 561 | | |
564 | | - | |
565 | | - | |
566 | | - | |
567 | | - | |
| 562 | + | |
568 | 563 | | |
569 | | - | |
570 | | - | |
571 | | - | |
| 564 | + | |
572 | 565 | | |
573 | 566 | | |
574 | 567 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
0 commit comments