We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d6ea47 commit 4f72a14Copy full SHA for 4f72a14
macro/src/gen/mod.rs
@@ -236,7 +236,18 @@ fn gen_partial_mod(input: &ir::Input) -> TokenStream {
236
});
237
238
let struct_visibility = inner_visibility(&input.visibility, Span::call_site());
239
+ let module_doc = format!(
240
+ "*Generated* by `confique`: helpers to implement `Config` for [`{}`].\n\
241
+ \n\
242
+ Do not use directly! Only use via the `Config` and `Partial` traits \
243
+ and what's explained in the confique documentation.
244
+ Any other parts of this module cannot be relied on and are not part \
245
+ of the semver guarantee of `confique`.",
246
+ input.name,
247
+ );
248
+
249
quote! {
250
+ #[doc = #module_doc]
251
#visibility mod #mod_name {
252
use super::*;
253
0 commit comments