mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 05:40:03 -04:00
Add #![forbid(unsafe_code)] where unsafe isn't needed (#2773)
To be consistent with the use of the safety badge in the README.
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
//!
|
||||
|
||||
#![allow(clippy::float_cmp)]
|
||||
#![forbid(unsafe_code)]
|
||||
|
||||
use std::ops::{Add, Div, Mul, RangeInclusive, Sub};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user