Commit 10bdd80
committed
Auto merge of #32050 - achanda:from-slice-v4, r=alexcrichton
Add an impl for From trait
Converts a u8 slice to a Ipv4Addr
More discussion on this here: rust-lang/rfcs#1498 (comment)1 file changed
+12
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
279 | 279 | | |
280 | 280 | | |
281 | 281 | | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
282 | 289 | | |
283 | 290 | | |
284 | 291 | | |
| |||
831 | 838 | | |
832 | 839 | | |
833 | 840 | | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
834 | 846 | | |
835 | 847 | | |
836 | 848 | | |
| |||
0 commit comments