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
-7
View File
@@ -180,37 +180,30 @@ impl AppState {
Ok((slf, state_file_status))
}
#[inline]
pub fn current_exercise_ind(&self) -> usize {
self.current_exercise_ind
}
#[inline]
pub fn exercises(&self) -> &[Exercise] {
&self.exercises
}
#[inline]
pub fn n_done(&self) -> u32 {
self.n_done
}
#[inline]
pub fn n_pending(&self) -> u32 {
self.exercises.len() as u32 - self.n_done
}
#[inline]
pub fn current_exercise(&self) -> &Exercise {
&self.exercises[self.current_exercise_ind]
}
#[inline]
pub fn cmd_runner(&self) -> &CmdRunner {
&self.cmd_runner
}
#[inline]
pub fn emit_file_links(&self) -> bool {
self.emit_file_links
}