Skip to content

Commit

Permalink
add #[allow(rustdoc::broken_intra_doc_links)] to subxt-codegen (#998)
Browse files Browse the repository at this point in the history
* add `#[allow(rustdoc::broken_intra_doc_links)]` to subxt-codegen

* Add for "main" codegen path too

---------

Co-authored-by: James Wilson <james@jsdw.me>
  • Loading branch information
StackOverflowExcept1on and jsdw authored Jun 5, 2023
1 parent 98a4d32 commit 1ad9a20
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions codegen/src/api/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ impl RuntimeGenerator {
#( #item_mod_attrs )*
#[allow(dead_code, unused_imports, non_camel_case_types)]
#[allow(clippy::all)]
#[allow(rustdoc::broken_intra_doc_links)]
pub mod #mod_ident {
// Preserve any Rust items that were previously defined in the adorned module
#( #rust_items ) *
Expand Down Expand Up @@ -526,6 +527,7 @@ impl RuntimeGenerator {
#( #item_mod_attrs )*
#[allow(dead_code, unused_imports, non_camel_case_types)]
#[allow(clippy::all)]
#[allow(rustdoc::broken_intra_doc_links)]
pub mod #mod_ident {
// Preserve any Rust items that were previously defined in the adorned module.
#( #rust_items ) *
Expand Down

0 comments on commit 1ad9a20

Please sign in to comment.