Skip to content

Commit e73d055

Browse files
authored
Fix docs.rs build (#8292)
1 parent d28fb4d commit e73d055

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

wgpu-core/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
),
1818
allow(unused, clippy::let_and_return)
1919
)]
20-
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
20+
#![cfg_attr(docsrs, feature(doc_cfg))]
2121
#![allow(
2222
// It is much clearer to assert negative conditions with eq! false
2323
clippy::bool_assert_comparison,

wgpu-hal/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@
203203
//! [wiki-debug]: https://github.com/gfx-rs/wgpu/wiki/Debugging-wgpu-Applications
204204
205205
#![no_std]
206-
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
206+
#![cfg_attr(docsrs, feature(doc_cfg))]
207207
#![allow(
208208
// this happens on the GL backend, where it is both thread safe and non-thread safe in the same code.
209209
clippy::arc_with_non_send_sync,

wgpu-types/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//! This library describes the API surface of WebGPU that is agnostic of the backend.
22
//! This API is used for targeting both Web and Native.
33
4-
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
4+
#![cfg_attr(docsrs, feature(doc_cfg))]
55
#![allow(
66
// We don't use syntax sugar where it's not necessary.
77
clippy::match_like_matches_macro,

wgpu/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
//!
3333
3434
#![no_std]
35-
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
35+
#![cfg_attr(docsrs, feature(doc_cfg))]
3636
#![doc(html_logo_url = "https://raw.githubusercontent.com/gfx-rs/wgpu/trunk/logo.png")]
3737
#![warn(
3838
clippy::alloc_instead_of_core,

0 commit comments

Comments
 (0)