Skip to content

Commit 6907b05

Browse files
committed
Replace feature(doc_auto_cfg) with feature(doc_cfg), part 2 (#21306)
# Objective - A few were missed in #21304 ## Solution - Change them
1 parent e51d5bf commit 6907b05

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

crates/bevy_app/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
reason = "rustdoc_internals is needed for fake_variadic"
66
)
77
)]
8-
#![cfg_attr(any(docsrs, docsrs_dep), feature(doc_auto_cfg, rustdoc_internals))]
8+
#![cfg_attr(any(docsrs, docsrs_dep), feature(doc_cfg, rustdoc_internals))]
99
#![forbid(unsafe_code)]
1010
#![doc(
1111
html_logo_url = "https://bevy.org/assets/icon.png",

crates/bevy_ecs/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
reason = "rustdoc_internals is needed for fake_variadic"
1111
)
1212
)]
13-
#![cfg_attr(any(docsrs, docsrs_dep), feature(doc_auto_cfg, rustdoc_internals))]
13+
#![cfg_attr(any(docsrs, docsrs_dep), feature(doc_cfg, rustdoc_internals))]
1414
#![expect(unsafe_code, reason = "Unsafe code is used to improve performance.")]
1515
#![doc(
1616
html_logo_url = "https://bevy.org/assets/icon.png",

crates/bevy_reflect/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
reason = "rustdoc_internals is needed for fake_variadic"
66
)
77
)]
8-
#![cfg_attr(any(docsrs, docsrs_dep), feature(doc_auto_cfg, rustdoc_internals))]
8+
#![cfg_attr(any(docsrs, docsrs_dep), feature(doc_cfg, rustdoc_internals))]
99
#![doc(
1010
html_logo_url = "https://bevy.org/assets/icon.png",
1111
html_favicon_url = "https://bevy.org/assets/icon.png"

crates/bevy_render/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
reason = "rustdoc_internals is needed for fake_variadic"
2121
)
2222
)]
23-
#![cfg_attr(any(docsrs, docsrs_dep), feature(doc_auto_cfg, rustdoc_internals))]
23+
#![cfg_attr(any(docsrs, docsrs_dep), feature(doc_cfg, rustdoc_internals))]
2424
#![doc(
2525
html_logo_url = "https://bevy.org/assets/icon.png",
2626
html_favicon_url = "https://bevy.org/assets/icon.png"

0 commit comments

Comments
 (0)