Skip to content

Conversation

@Derecho
Copy link
Contributor

@Derecho Derecho commented Jul 2, 2014

One of the examples in the docs on adding documentation to rust code has an error that will cause the function to run endlessly rather than return the desired result, should someone actually implement this for some reason. While the error does not hinder the explanation of documenting code, it does look better if it is corrected.

@steveklabnik
Copy link
Contributor

Looks good to me.

bors added a commit that referenced this pull request Jul 3, 2014
One of the examples in the docs on adding documentation to rust code has an error that will cause the function to run endlessly rather than return the desired result, should someone actually implement this for some reason. While the error does not hinder the explanation of documenting code, it does look better if it is corrected.
@bors bors closed this Jul 3, 2014
bors added a commit to rust-lang-ci/rust that referenced this pull request Aug 21, 2023
…kril

Support doc links that resolve to fields

Fixes rust-lang#15331

Also removes `Resolver::resolve_module_path_in_trait_assoc_items()` and reimplements it in hir with other `Resolver` methods to decouple things a bit.
flip1995 pushed a commit to flip1995/rust that referenced this pull request Jul 25, 2025
…-lang#15331)

Remove "Known problems" section for `clippy::redundant_closure` since it
was fixed by [this
PR](rust-lang/rust-clippy#4008)
We can see this by running examples from [the
issue](rust-lang/rust-clippy#1439), for ex.
[this
one](https://play.rust-lang.org/?version=stable&mode=debug&edition=2024&gist=6562527b4c3f6dcebb3c43718341af98)

changelog: none
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants