Don't manually inline

This commit is contained in:
mo8it
2026-04-05 17:29:24 +02:00
parent c466d01da9
commit 95b6160b54
9 changed files with 0 additions and 41 deletions
-2
View File
@@ -27,7 +27,6 @@ static EXERCISE_RUNNING: AtomicBool = AtomicBool::new(false);
pub struct InputPauseGuard(());
impl InputPauseGuard {
#[inline]
pub fn scoped_pause() -> Self {
EXERCISE_RUNNING.store(true, Relaxed);
Self(())
@@ -35,7 +34,6 @@ impl InputPauseGuard {
}
impl Drop for InputPauseGuard {
#[inline]
fn drop(&mut self) {
EXERCISE_RUNNING.store(false, Relaxed);
}