Commit d782512
Merge #176
176: silenced a bunch of misleading Clippy warnings r=cuviper a=BartMassey
* There were a bunch of code quality Clippy warnings that didn't apply for various reasons.
* There was an ok_or() that could have been an ok_or_else() that Clippy caught. Turns out it's for a ZST, so doesn't matter, but was "fixed" anyway to silence Clippy.
This will hopefully make "cargo clippy" more useful for the next person.
Co-authored-by: Bart Massey <[email protected]>4 files changed
+18
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
349 | 349 | | |
350 | 350 | | |
351 | 351 | | |
| 352 | + | |
352 | 353 | | |
353 | 354 | | |
354 | 355 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2707 | 2707 | | |
2708 | 2708 | | |
2709 | 2709 | | |
2710 | | - | |
| 2710 | + | |
| 2711 | + | |
| 2712 | + | |
2711 | 2713 | | |
2712 | 2714 | | |
2713 | 2715 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1814 | 1814 | | |
1815 | 1815 | | |
1816 | 1816 | | |
1817 | | - | |
| 1817 | + | |
| 1818 | + | |
| 1819 | + | |
| 1820 | + | |
| 1821 | + | |
| 1822 | + | |
1818 | 1823 | | |
1819 | 1824 | | |
1820 | 1825 | | |
| |||
1827 | 1832 | | |
1828 | 1833 | | |
1829 | 1834 | | |
1830 | | - | |
| 1835 | + | |
| 1836 | + | |
| 1837 | + | |
| 1838 | + | |
1831 | 1839 | | |
1832 | 1840 | | |
1833 | 1841 | | |
| |||
1852 | 1860 | | |
1853 | 1861 | | |
1854 | 1862 | | |
| 1863 | + | |
1855 | 1864 | | |
1856 | 1865 | | |
1857 | 1866 | | |
| |||
1862 | 1871 | | |
1863 | 1872 | | |
1864 | 1873 | | |
| 1874 | + | |
1865 | 1875 | | |
1866 | 1876 | | |
1867 | 1877 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| |||
131 | 132 | | |
132 | 133 | | |
133 | 134 | | |
| 135 | + | |
134 | 136 | | |
135 | 137 | | |
136 | 138 | | |
| |||
0 commit comments