Commit 695351b
bors-servo
Auto merge of #481 - BradyMcd:port-documentation, r=SimonSapin
Port documentation
Just a simple addition to the documentation. The fact that default port numbers are automatically elided makes perfect sense, but it caught me off and I found wasn't terribly well reflected in the documentation so I added a callout and an example on `port( )` and `set_port( )` function documentations.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/rust-url/481)
<!-- Reviewable:end -->1 file changed
+24
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
918 | 918 | | |
919 | 919 | | |
920 | 920 | | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
921 | 924 | | |
922 | 925 | | |
923 | 926 | | |
| |||
928 | 931 | | |
929 | 932 | | |
930 | 933 | | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
931 | 937 | | |
932 | 938 | | |
933 | 939 | | |
| |||
1427 | 1433 | | |
1428 | 1434 | | |
1429 | 1435 | | |
| 1436 | + | |
| 1437 | + | |
1430 | 1438 | | |
1431 | 1439 | | |
1432 | 1440 | | |
| |||
1449 | 1457 | | |
1450 | 1458 | | |
1451 | 1459 | | |
| 1460 | + | |
| 1461 | + | |
| 1462 | + | |
| 1463 | + | |
| 1464 | + | |
| 1465 | + | |
| 1466 | + | |
| 1467 | + | |
| 1468 | + | |
| 1469 | + | |
| 1470 | + | |
| 1471 | + | |
| 1472 | + | |
| 1473 | + | |
| 1474 | + | |
| 1475 | + | |
1452 | 1476 | | |
1453 | 1477 | | |
1454 | 1478 | | |
| |||
0 commit comments