mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-06 03:36:41 +01:00
nil
it runs again
This commit is contained in:
parent
121a273788
commit
f60dd2185a
2 changed files with 5 additions and 5 deletions
|
|
@ -337,8 +337,8 @@ impl Configuration {
|
|||
pub fn from_path (path: &impl AsRef<Path>, _watch: bool) -> Usually<Self> {
|
||||
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<Arc<str>> = dsl.head()?.map(Into::into);
|
||||
let mut tail: Option<Arc<str>> = 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
|
||||
}
|
||||
|
|
|
|||
2
deps/tengri
vendored
2
deps/tengri
vendored
|
|
@ -1 +1 @@
|
|||
Subproject commit 16969aeb64a61a6c9819e7533e435ee2d693dddd
|
||||
Subproject commit 9f7d0efda5a71dfbb55c55dbff32c348b55dd870
|
||||
Loading…
Add table
Add a link
Reference in a new issue