mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
refactor: add several clippy lints (#2296)
This commit is contained in:
12
src/lib.rs
12
src/lib.rs
@@ -215,7 +215,17 @@ tree.
|
||||
clippy::rest_pat_in_fully_bound_structs,
|
||||
clippy::match_wildcard_for_single_variants
|
||||
)]
|
||||
#![cfg_attr(not(test), deny(clippy::panic))]
|
||||
#![deny(clippy::exit)]
|
||||
#![cfg_attr(
|
||||
not(test),
|
||||
warn(
|
||||
clippy::dbg_macro,
|
||||
clippy::panic,
|
||||
clippy::print_stderr,
|
||||
clippy::print_stdout,
|
||||
clippy::todo
|
||||
)
|
||||
)]
|
||||
|
||||
mod arena;
|
||||
pub mod back;
|
||||
|
||||
Reference in New Issue
Block a user