Skip to content

Commit 85750af

Browse files
bors[bot]m-ou-se
andauthored
Merge #390
390: Add `#[inline]` to steal(). r=therealprof a=m-ou-se Co-authored-by: Mara Bos <[email protected]>
2 parents 4deea23 + 3573b8b commit 85750af

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/generate/device.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,7 @@ pub fn render(
224224
#take
225225

226226
///Unchecked version of `Peripherals::take`
227+
#[inline]
227228
pub unsafe fn steal() -> Self {
228229
DEVICE_PERIPHERALS = true;
229230

0 commit comments

Comments
 (0)