mirror of
https://codeberg.org/unspeaker/tengri.git
synced 2025-12-06 11:46:42 +01:00
dsl: add ns
This commit is contained in:
parent
35a5784d23
commit
ab0dc3fae0
2 changed files with 39 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ pub const fn peek_tail (src: &str) -> DslPerhaps<&str> {
|
|||
Ok(None) => Ok(None),
|
||||
Ok(Some((start, length))) => {
|
||||
let tail = str_range(src, start + length, src.len());
|
||||
for_each!((i, c) in char_indices(tail) => if !is_space(c) { return Ok(Some(tail)) });
|
||||
for_each!((_i, c) in char_indices(tail) => if !is_space(c) { return Ok(Some(tail)) });
|
||||
Ok(None)
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue