Skip to content
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

getopts missing docs #12942

Merged
merged 1 commit into from
Mar 17, 2014
Merged

getopts missing docs #12942

merged 1 commit into from
Mar 17, 2014

Conversation

ArgumentMissing(~str),
/// You're using an option that you're code doesn't know about.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This second-person usage seems peculiar? (Also, the second you're should be your.)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll change the form. thanks 👍

@alan-andrade alan-andrade reopened this Mar 16, 2014
@alexcrichton
Copy link
Member

A good way to check that everything is documented is to add #[deny(missing_doc)]; to the top of the crate, but that can happen as a separate PR. Thanks for this!

@bors bors closed this Mar 17, 2014
@bors bors merged commit 6b2888a into rust-lang:master Mar 17, 2014
lnicola pushed a commit to lnicola/rust that referenced this pull request Aug 16, 2022
fix: make `concat!` work with char

Fixes rust-lang#12921

- I avoided making `unquote_str()` take char literals as well because it's depended on by another function `parse_string()` that's only supposed to take strings.
- Even with this patch, we don't output `\0` as `\u{0}` which rust-lang#12921 pointed out ~~, but we're not actually responsible for serializing it but rowan is~~. They are functionally equivalent and I don't think it'd cause any confusion, but we *could* try escaping them before serialization (for reference, `rustc -Zunpretty=expanded`, which `cargo expand` uses under the hood, [makes use of `str::escape_default()`](https://github.com/rust-lang/rust/blob/3830ecaa8db798d2727cbdfa4ddf314ff938f268/compiler/rustc_ast/src/util/literal.rs#L161).
flip1995 pushed a commit to flip1995/rust that referenced this pull request Jun 27, 2024
Add more types to `is_from_proc_macro`

I've been running through going through all the lint implementations to clean them up. I'll be separating out the changes into small PRs to make reviewing easier.

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