Commit ecf2322
committed
f - Gate Future::wait_timeout doc links on std
Now that `get_async_receive_offer_ready_future` and
`await_async_receive_offer` are available in no-std, their rustdoc
intra-doc links to `Future::wait_timeout` (which is itself still
std-only) break the no-std rustdoc build. Wrap the sentence and
reference definition that mention `Future::wait_timeout` in
`cfg_attr(feature = "std", doc = ...)` so the links only appear when
they can resolve.
Co-Authored-By: HAL 90001 parent 21e8600 commit ecf2322
2 files changed
Lines changed: 16 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5888 | 5888 | | |
5889 | 5889 | | |
5890 | 5890 | | |
5891 | | - | |
5892 | | - | |
| 5891 | + | |
| 5892 | + | |
| 5893 | + | |
| 5894 | + | |
| 5895 | + | |
5893 | 5896 | | |
5894 | 5897 | | |
5895 | | - | |
| 5898 | + | |
| 5899 | + | |
| 5900 | + | |
| 5901 | + | |
5896 | 5902 | | |
5897 | 5903 | | |
5898 | 5904 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1724 | 1724 | | |
1725 | 1725 | | |
1726 | 1726 | | |
1727 | | - | |
1728 | | - | |
1729 | | - | |
| 1727 | + | |
| 1728 | + | |
| 1729 | + | |
| 1730 | + | |
| 1731 | + | |
| 1732 | + | |
| 1733 | + | |
1730 | 1734 | | |
1731 | 1735 | | |
1732 | 1736 | | |
| |||
0 commit comments