Make clippy happy.

This commit is contained in:
Jonathan 'theJPster' Pallant 2022-01-30 16:12:43 +00:00
parent 35a10f2bc6
commit f44f5f0e09

View file

@ -279,7 +279,9 @@ where
/// Clear a locked spin-lock.
///
/// Safety: Only call this function if you hold the spin-lock.
/// # Safety
///
/// Only call this function if you hold the spin-lock.
pub unsafe fn release() {
let sio = &*pac::SIO::ptr();
// Write (any value): release the lock