-
Notifications
You must be signed in to change notification settings - Fork 40
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
Fix FAILPOINTS variable name in docs, and lints #76
Conversation
d41d601
to
ebf6735
Compare
I don't know if there is any way to satisfy both stable and nightly Clippy here without allowing unknown lints, which seems like it might allow the old name to hang around, and it seems tangential to the core typo fix. Anyhow, let me know what you want, or if you're open to merging this. |
Rest LGTM |
Thanks, please take another look. |
Please sign off your last commit. |
Signed-off-by: Martin Pool <mbp@sourcefrog.net>
Signed-off-by: Martin Pool <mbp@sourcefrog.net>
cargo doesn't run #[test] inside doctests; see https://rust-lang.github.io/rust-clippy/master/index.html#/test_attr_in_doctest Signed-off-by: Martin Pool <mbp@sourcefrog.net>
Signed-off-by: Martin Pool <mbp@sourcefrog.net>
c782eb3
to
b0e8a05
Compare
done |
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.
Thanks
name: Fix env var name in docs
about: A bug squashed.
Related bugs:
n/a
Description of problem:
When reading the docs I was briefly confused what the correct variable name was.1
Description of solution:
Fix the docs to match the code.
Also, since rustc warns that unit tests inside docests are not run, mark it as
norun
for clarity and to address a warning.Checklist:
The CI will check all of these, but you'll need to have done them:
cargo fmt -- --check
passes.cargo +nightly clippy
has no warnings.cargo test
passes.