1
0
mirror of https://github.com/emilk/egui.git synced 2026-09-01 14:20:04 -04:00

Enforce rust_2018_idioms in all libs

This commit is contained in:
Emil Ernerfeldt
2021-01-02 12:02:26 +01:00
parent 1690db0f0c
commit d229b6fc23
5 changed files with 6 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
#![forbid(unsafe_code)]
#![cfg_attr(not(debug_assertions), deny(warnings))] // Forbid warnings in release builds
#![warn(clippy::all)]
#![warn(clippy::all, rust_2018_idioms)]
// When compiling natively:
fn main() {