Skip to content

Commit 042d650

Browse files
committed
Fix compilation with nightly feature
1 parent 845b2db commit 042d650

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/local.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,7 @@ where
325325
}
326326
}
327327

328+
#[cfg(not(feature = "nightly"))]
328329
unsafe impl<A> Allocator for &mut BlinkAlloc<A>
329330
where
330331
A: Allocator,

src/sync.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,7 @@ where
391391
}
392392
}
393393

394+
#[cfg(not(feature = "nightly"))]
394395
unsafe impl<A> Allocator for &mut SyncBlinkAlloc<A>
395396
where
396397
A: Allocator,
@@ -602,6 +603,7 @@ where
602603
}
603604
}
604605

606+
#[cfg(not(feature = "nightly"))]
605607
unsafe impl<A> Allocator for &mut LocalBlinkAlloc<'_, A>
606608
where
607609
A: Allocator,

0 commit comments

Comments
 (0)