-
Notifications
You must be signed in to change notification settings - Fork 13.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Evaluate # fn in docs #21050
Evaluate # fn in docs #21050
Conversation
(rust_highfive has picked a reviewer for you, use r? to override) |
let (tx, rx) = channel(); | ||
# use std::sync::mpsc; | ||
# fn some_expensive_computation() -> u32 { 42 } | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I suspect this line will appear in the output; might be better to just remove it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed
I searched for times when we were hiding functions with # in the documentation, and fixed them to not use it unless neccesary. I also made random improvements whenever I changed something. For example, I changed Example to Examples, for consistency. Fixes rust-lang#13423
Evaluate # fn in docs Reviewed-by: nikomatsakis
Evaluate # fn in docs Reviewed-by: nikomatsakis
doing this manually in #21300 |
I searched for times when we were hiding functions with # in the documentation,
and fixed them to not use it unless neccesary.
I also made random improvements whenever I changed something. For example,
I changed Example to Examples, for consistency.
Fixes #13423