-
Notifications
You must be signed in to change notification settings - Fork 84
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
missing documentation for an associated function Builder #283
Comments
If you run You may need to add something like... #[derive(Builder)]
#[builder_struct_attr(allow(missing_docs))]
struct Yours {} |
That exact solution didn't work in my case. I ended up with code like this in my
This might be because I'm using A few observations:
Based on Observation #3, I put a placeholder rustdoc on TL;DR: if you're getting this warning, put |
My problem was that the structure fields were not documented, when I documented the structure fields, the warning disappeared. |
I don't know how to remove this Warning. Please tell me how to remove it.
warning: missing documentation for an associated function
--> crate\lt\src\lib.rs:30:32
|
30 | #[ derive( Debug, Deserialize, Builder, Clone, Default ) ]
| ^^^^^^^
|
note: the lint level is defined here
--> crate\lt\src\lib.rs:3:11
|
3 | #![ warn( missing_docs ) ]
| ^^^^^^^^^^^^
= note: this warning originates in the derive macro
Builder
(in Nightly builds, run with -Z macro-backtrace for more info)The text was updated successfully, but these errors were encountered: