Uh oh!
There was an error while loading. Please reload this page.
Commit 508cbaa
buffer: simplify code
This refactors some code for simplicity. It also removes a call
indirection used in the buffers custom inspect function.
PR-URL: #25151
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Masashi Hirano <shisama07@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>1 parent 57148f3 commit 508cbaa
1 file changed
Lines changed: 16 additions & 19 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
298 | 298 | | |
299 | 299 | | |
300 | 300 | | |
| 301 | + | |
301 | 302 | | |
302 | | - | |
| 303 | + | |
303 | 304 | | |
304 | | - | |
305 | | - | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
306 | 308 | | |
307 | 309 | | |
308 | 310 | | |
| |||
319 | 321 | | |
320 | 322 | | |
321 | 323 | | |
322 | | - | |
323 | | - | |
324 | 324 | | |
| 325 | + | |
325 | 326 | | |
326 | 327 | | |
327 | 328 | | |
| |||
639 | 640 | | |
640 | 641 | | |
641 | 642 | | |
642 | | - | |
643 | | - | |
644 | 643 | | |
645 | | - | |
| 644 | + | |
646 | 645 | | |
647 | 646 | | |
648 | 647 | | |
| 648 | + | |
| 649 | + | |
649 | 650 | | |
650 | 651 | | |
651 | 652 | | |
652 | | - | |
653 | | - | |
654 | | - | |
655 | | - | |
656 | | - | |
| 653 | + | |
| 654 | + | |
657 | 655 | | |
658 | 656 | | |
659 | 657 | | |
| |||
672 | 670 | | |
673 | 671 | | |
674 | 672 | | |
675 | | - | |
676 | | - | |
677 | | - | |
678 | | - | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
679 | 677 | | |
680 | 678 | | |
681 | 679 | | |
| |||
977 | 975 | | |
978 | 976 | | |
979 | 977 | | |
980 | | - | |
981 | | - | |
982 | 978 | | |
| 979 | + | |
983 | 980 | | |
984 | 981 | | |
985 | 982 | | |
| |||
0 commit comments