Skip to content

Commit

Permalink
Add rustdoc:: prefix to #[allow(broken_intra_doc_links)] (#148)
Browse files Browse the repository at this point in the history
  • Loading branch information
goffrie authored Oct 13, 2023
1 parent 98322e7 commit 53bf225
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pb-jelly-gen/codegen/codegen.py
Original file line number Diff line number Diff line change
Expand Up @@ -1959,7 +1959,7 @@ def crate_from_proto_filename(
#![allow(unused_imports)]
#![allow(unused_variables)]
#![allow(irrefutable_let_patterns)]
#![allow(broken_intra_doc_links)]
#![allow(rustdoc::broken_intra_doc_links)]
// Modules are generated based on the naming conventions of protobuf, which might cause "module inception"
#![allow(clippy::module_inception)]
Expand Down
2 changes: 1 addition & 1 deletion pb-test/gen/pb-jelly/proto_google/src/lib.rs.expected
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#![allow(unused_imports)]
#![allow(unused_variables)]
#![allow(irrefutable_let_patterns)]
#![allow(broken_intra_doc_links)]
#![allow(rustdoc::broken_intra_doc_links)]

// Modules are generated based on the naming conventions of protobuf, which might cause "module inception"
#![allow(clippy::module_inception)]
Expand Down
2 changes: 1 addition & 1 deletion pb-test/gen/pb-jelly/proto_nopackage/src/lib.rs.expected
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#![allow(unused_imports)]
#![allow(unused_variables)]
#![allow(irrefutable_let_patterns)]
#![allow(broken_intra_doc_links)]
#![allow(rustdoc::broken_intra_doc_links)]

// Modules are generated based on the naming conventions of protobuf, which might cause "module inception"
#![allow(clippy::module_inception)]
Expand Down
2 changes: 1 addition & 1 deletion pb-test/gen/pb-jelly/proto_pbtest/src/lib.rs.expected
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#![allow(unused_imports)]
#![allow(unused_variables)]
#![allow(irrefutable_let_patterns)]
#![allow(broken_intra_doc_links)]
#![allow(rustdoc::broken_intra_doc_links)]

// Modules are generated based on the naming conventions of protobuf, which might cause "module inception"
#![allow(clippy::module_inception)]
Expand Down

0 comments on commit 53bf225

Please sign in to comment.