mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-21 06:50:59 +01:00
Fix docs.rs build
This commit is contained in:
4 files changed
+4
-4
No files matched your search
@@ -17,7 +17,7 @@
|
||||
),
|
||||
allow(unused, clippy::let_and_return)
|
||||
)]
|
||||
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
|
||||
#![cfg_attr(docsrs, feature(doc_cfg))]
|
||||
#![allow(
|
||||
// It is much clearer to assert negative conditions with eq! false
|
||||
clippy::bool_assert_comparison,
|
||||
|
||||
+1
-1
@@ -203,7 +203,7 @@
|
||||
//! [wiki-debug]: https://github.com/gfx-rs/wgpu/wiki/Debugging-wgpu-Applications
|
||||
|
||||
#![no_std]
|
||||
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
|
||||
#![cfg_attr(docsrs, feature(doc_cfg))]
|
||||
#![allow(
|
||||
// this happens on the GL backend, where it is both thread safe and non-thread safe in the same code.
|
||||
clippy::arc_with_non_send_sync,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
//! This library describes the API surface of WebGPU that is agnostic of the backend.
|
||||
//! This API is used for targeting both Web and Native.
|
||||
|
||||
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
|
||||
#![cfg_attr(docsrs, feature(doc_cfg))]
|
||||
#![allow(
|
||||
// We don't use syntax sugar where it's not necessary.
|
||||
clippy::match_like_matches_macro,
|
||||
|
||||
+1
-1
@@ -32,7 +32,7 @@
|
||||
//!
|
||||
|
||||
#![no_std]
|
||||
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
|
||||
#![cfg_attr(docsrs, feature(doc_cfg))]
|
||||
#![doc(html_logo_url = "https://raw.githubusercontent.com/gfx-rs/wgpu/trunk/logo.png")]
|
||||
#![warn(
|
||||
clippy::alloc_instead_of_core,
|
||||
|
||||
Reference in new issue
Block a user