Skip to content

Commit 30aa213

Browse files
emilkhacknus
authored andcommitted
Remove work-around for unsafe in puffin macro (emilk#4484)
…since it is no longer in the puffin macro
1 parent 93fb88e commit 30aa213

File tree

5 files changed

+0
-10
lines changed

5 files changed

+0
-10
lines changed

crates/egui/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -371,8 +371,6 @@
371371
372372
#![allow(clippy::float_cmp)]
373373
#![allow(clippy::manual_range_contains)]
374-
#![cfg_attr(feature = "puffin", deny(unsafe_code))]
375-
#![cfg_attr(not(feature = "puffin"), forbid(unsafe_code))]
376374

377375
mod animation_manager;
378376
pub mod containers;

crates/egui_demo_lib/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
1111
#![allow(clippy::float_cmp)]
1212
#![allow(clippy::manual_range_contains)]
13-
#![cfg_attr(feature = "puffin", deny(unsafe_code))]
14-
#![cfg_attr(not(feature = "puffin"), forbid(unsafe_code))]
1513

1614
mod demo;
1715
pub mod easy_mark;

crates/egui_extras/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
99
#![allow(clippy::float_cmp)]
1010
#![allow(clippy::manual_range_contains)]
11-
#![cfg_attr(feature = "puffin", deny(unsafe_code))]
12-
#![cfg_attr(not(feature = "puffin"), forbid(unsafe_code))]
1311

1412
#[cfg(feature = "chrono")]
1513
mod datepicker;

crates/emath/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@
2020
//!
2121
2222
#![allow(clippy::float_cmp)]
23-
#![cfg_attr(feature = "puffin", deny(unsafe_code))]
24-
#![cfg_attr(not(feature = "puffin"), forbid(unsafe_code))]
2523

2624
use std::ops::{Add, Div, Mul, RangeInclusive, Sub};
2725

crates/epaint/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@
2222
2323
#![allow(clippy::float_cmp)]
2424
#![allow(clippy::manual_range_contains)]
25-
#![cfg_attr(feature = "puffin", deny(unsafe_code))]
26-
#![cfg_attr(not(feature = "puffin"), forbid(unsafe_code))]
2725

2826
mod bezier;
2927
pub mod color;

0 commit comments

Comments
 (0)