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
docs: Add doc comments for external crates #1841
docs: Add doc comments for external crates #1841
Conversation
Looks great! Thanks for doing this so quickly (and for doing it properly :P I'd have accepted a bunch of "re-export of X" type comments because why is it our job to document re-exported crates..) |
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.
ACK 639c548
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.
ACK 639c548
#[cfg(feature = "bitcoinconsensus")] | ||
/// Bitcoin's libbitcoinconsensus with Rust binding. | ||
pub extern crate bitcoinconsensus; |
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.
No need to change it but typically we put rustdocs above the attributes.
Thanks @yancyribbens! |
Merging this to fix red cross CI on master. |
Actually we have this on intentionally to catch potential nightly bugs. But ideally it shouldn't be mandatory. Maybe we should switch it to cron and just run it once every day instead. |
Maybe. There was someone asking about why their branch was failing in IRC yesterday also. I don't know if there's a way to be notified when there's a new nightly build available, but if there is, we could just manually update the nightly version then in CI? |
Nightly is called such because it's literally released at midnight. :) Manual updating would add a lot of churn, I definitely don't want that. |
FWIW I download the latest nightly every day and test PRs with that, so we have at-least local testing from my end. But personally I don't think it's too big a deal to just fix nightly failures when they crop up. Yes, we get a red X for a day or two, but it's easy to check and ignore, and it's not super frequent. |
I'm confused as to why this issue came up, we do not run clippy with nightly toolchain in CI? What am I missing? |
oooo, its from |
Yeah, and we have |
|
Personally I don't mind fixing these issues either when they crop up. It just feels like unrelated work to fix the warning that has nothing to do with the PR. A cron job or something seems like a good idea; the down side is it's more infrastructure to setup and maintain and then someone needs to watch for the issues I guess. |
A new version of rust nightly is causing a test failure for external crates that are not documented. This is currently causing a failure on my branch here: #1838
As a side note, it feels like this should be locked to a specific version of nightly in the CI tests and then updated as a choir instead of having it create a new problem in a branch that's not related.