Skip to content

Commit 238723d

Browse files
committed
Change evmap DropBehavior to use new implementation.
1 parent 04208a0 commit 238723d

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

evmap/src/aliasing.rs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,8 @@ pub struct NoDrop;
1818
pub(crate) struct DoDrop;
1919

2020
impl DropBehavior for NoDrop {
21-
fn do_drop() -> bool {
22-
false
23-
}
21+
const DO_DROP: bool = false;
2422
}
2523
impl DropBehavior for DoDrop {
26-
fn do_drop() -> bool {
27-
true
28-
}
24+
const DO_DROP: bool = true;
2925
}

0 commit comments

Comments
 (0)