From f60dd2185a9aeb9859f046a9f7c7f0c3982ff788 Mon Sep 17 00:00:00 2001 From: unspeaker Date: Tue, 29 Jul 2025 17:09:46 +0300 Subject: [PATCH] nil it runs again --- crates/app/src/model.rs | 8 ++++---- deps/tengri | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/crates/app/src/model.rs b/crates/app/src/model.rs index f360bca5..d757b431 100644 --- a/crates/app/src/model.rs +++ b/crates/app/src/model.rs @@ -337,8 +337,8 @@ impl Configuration { pub fn from_path (path: &impl AsRef, _watch: bool) -> Usually { let mut config = Self { path: path.as_ref().into(), ..Default::default() }; let mut dsl = read_and_leak(path.as_ref())?; - let mut head = dsl.head()?; - let mut tail = dsl.tail()?; + let mut head: Option> = dsl.head()?.map(Into::into); + let mut tail: Option> = dsl.tail()?.map(Into::into); loop { if let Some(exp) = head.exp()? { match exp.head()?.key()? { @@ -365,8 +365,8 @@ impl Configuration { break } if let Some(next) = tail { - head = next.head()?; - tail = next.tail()?; + head = next.head()?.map(Into::into); + tail = next.tail()?.map(Into::into); } else { break } diff --git a/deps/tengri b/deps/tengri index 16969aeb..9f7d0efd 160000 --- a/deps/tengri +++ b/deps/tengri @@ -1 +1 @@ -Subproject commit 16969aeb64a61a6c9819e7533e435ee2d693dddd +Subproject commit 9f7d0efda5a71dfbb55c55dbff32c348b55dd870