Skip to content

Commit d9a3d75

Browse files
Allow the rustdoc::private-intra-doc-links lint
1 parent c1d6b2e commit d9a3d75

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

Cargo.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,6 @@ hashbrown = { version = "0.14.*", features = [
181181
], default-features = false }
182182

183183
[workspace.lints.rust]
184-
# remember to update RUSTFLAGS in ci.yml if you add something here
185184

186185
elided_lifetimes_in_paths = "warn"
187186
explicit_outlives_requirements = "warn"
@@ -241,3 +240,8 @@ print_stderr = "warn"
241240

242241
rc_buffer = "warn"
243242
str_to_string = "warn"
243+
244+
[workspace.lints.rustdoc]
245+
246+
# We treat the codebase as one big unit, private links are fine.
247+
private-intra-doc-links = "allow"

0 commit comments

Comments
 (0)