rust icon indicating copy to clipboard operation
rust copied to clipboard

link to Future::poll from the Poll docs

Open oconnor663 opened this issue 1 year ago • 4 comments

The most important thing about Poll is that Future::poll returns it, but previously the docs didn't emphasize this.

oconnor663 avatar Aug 25 '24 01:08 oconnor663

r? @cuviper

rustbot has assigned @cuviper. They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

rustbot avatar Aug 25 '24 01:08 rustbot

Updated as suggested. Upon closer inspection, it looks like the other part of the same page that's using <code> tags is getting fancy with links within the code block:

image

oconnor663 avatar Aug 25 '24 15:08 oconnor663

Interesting, rustdoc does support generics like [`Poll<std::string::String>`]. 🤷

Thanks for this fixup!

r? @tgross35 @bors r+ rollup

tgross35 avatar Aug 25 '24 19:08 tgross35

:pushpin: Commit 3153b7d7b4e2d528e13c40559e644bfca0735389 has been approved by tgross35

It is now in the queue for this repository.

bors avatar Aug 25 '24 19:08 bors