Skip to content

Commit

Permalink
cfg feature auto-splitting
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexKnauth committed Apr 27, 2024
1 parent eedb9a8 commit 6831d21
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ impl Config {
&mut self,

Check failure on line 251 in src/config.rs

View workflow job for this annotation

GitHub Actions / format

Diff in /home/runner/work/livesplit-one-druid/livesplit-one-druid/src/config.rs
shared_timer: &SharedTimer,
layout_data: &mut LayoutData,
#[cfg(feature = "auto-splitting")]
auto_splitter: &livesplit_core::auto_splitting::Runtime,
path: PathBuf,
) -> Result<()> {
Expand Down
1 change: 1 addition & 0 deletions src/timer_form.rs
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,7 @@ impl<T: Widget<MainState>> Widget<MainState> for WithMenu<T> {
let result = data.config.borrow_mut().open_splits(
&data.timer,
&mut data.layout_data.borrow_mut(),
#[cfg(feature = "auto-splitting")]
&data.auto_splitter,
file_info.path().to_path_buf(),
);
Expand Down

0 comments on commit 6831d21

Please sign in to comment.