Commit c383e01
committed
Add take as alias for remove in collection methods
This partially alleviates the issues described in RFC 3034 [0] by adding
a doc alias to `take` and `take_xxx` for `remove` and `remove_xxx`.
[0]: rust-lang/rfcs#3034
r? @sfackler1 parent 5605b5d commit c383e01
File tree
5 files changed
+13
-0
lines changed- library
- alloc/src/collections
- btree
- map
- vec_deque
- std/src/collections/hash
5 files changed
+13
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
824 | 824 | | |
825 | 825 | | |
826 | 826 | | |
| 827 | + | |
827 | 828 | | |
828 | 829 | | |
829 | 830 | | |
| |||
851 | 852 | | |
852 | 853 | | |
853 | 854 | | |
| 855 | + | |
854 | 856 | | |
855 | 857 | | |
856 | 858 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
336 | 336 | | |
337 | 337 | | |
338 | 338 | | |
| 339 | + | |
339 | 340 | | |
340 | 341 | | |
341 | 342 | | |
| |||
457 | 458 | | |
458 | 459 | | |
459 | 460 | | |
| 461 | + | |
460 | 462 | | |
461 | 463 | | |
462 | 464 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
909 | 909 | | |
910 | 910 | | |
911 | 911 | | |
| 912 | + | |
912 | 913 | | |
913 | 914 | | |
914 | 915 | | |
| |||
1406 | 1407 | | |
1407 | 1408 | | |
1408 | 1409 | | |
| 1410 | + | |
1409 | 1411 | | |
1410 | 1412 | | |
1411 | 1413 | | |
| |||
1424 | 1426 | | |
1425 | 1427 | | |
1426 | 1428 | | |
| 1429 | + | |
1427 | 1430 | | |
1428 | 1431 | | |
1429 | 1432 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1783 | 1783 | | |
1784 | 1784 | | |
1785 | 1785 | | |
| 1786 | + | |
1786 | 1787 | | |
1787 | 1788 | | |
1788 | 1789 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
860 | 860 | | |
861 | 861 | | |
862 | 862 | | |
| 863 | + | |
863 | 864 | | |
864 | 865 | | |
865 | 866 | | |
| |||
889 | 890 | | |
890 | 891 | | |
891 | 892 | | |
| 893 | + | |
892 | 894 | | |
893 | 895 | | |
894 | 896 | | |
| |||
1717 | 1719 | | |
1718 | 1720 | | |
1719 | 1721 | | |
| 1722 | + | |
1720 | 1723 | | |
1721 | 1724 | | |
1722 | 1725 | | |
1723 | 1726 | | |
1724 | 1727 | | |
1725 | 1728 | | |
1726 | 1729 | | |
| 1730 | + | |
1727 | 1731 | | |
1728 | 1732 | | |
1729 | 1733 | | |
| |||
2541 | 2545 | | |
2542 | 2546 | | |
2543 | 2547 | | |
| 2548 | + | |
2544 | 2549 | | |
2545 | 2550 | | |
2546 | 2551 | | |
| |||
0 commit comments