aboutsummaryrefslogtreecommitdiff
path: root/nfa/src/desrec.rs
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2026-10-16 14:01:01 +0800
committerJSDurand <mmemmew@gmail.com>2026-10-16 14:02:10 +0800
commitfba9a90cfc6aca2a26cce72f55fb261789139781 (patch)
treeb4b121791ad639e745df689c0d5a8ed7a9e5dcc4 /nfa/src/desrec.rs
parent3ae0cf9898485a2ec35df7d23cd274e7dea5796d (diff)
new startHEADmaster
Now I tested and discussed with claude, and had a working version of this project. The rest is to port the claude version to my own writings. So this serves as the starting point before that attempt. In the new attempt the design is better, and a number of bugs were found and supposedly fixed, so let us see how this goes at the end.
Diffstat (limited to 'nfa/src/desrec.rs')
-rw-r--r--nfa/src/desrec.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/nfa/src/desrec.rs b/nfa/src/desrec.rs
index ac45c2d..93422a6 100644
--- a/nfa/src/desrec.rs
+++ b/nfa/src/desrec.rs
@@ -30,10 +30,10 @@ pub trait DesRec {
/// - `Err(_)`: the classification fails
///
/// - `Ok(None)`: the classification succeeds, and the parsing
- /// should stop here
+ /// should stop here
///
/// - `Ok(Some(_))`: the classification succeeds and the parsing
- /// should continue.
+ /// should continue.
type Scanner<'a, 'b>: FnMut(
&'b Self,
&'a str,