inline: take str per line instead of full inline iter
gets rid of DiscontinousChars which is large and requires cloning on peek resolves #4
This commit is contained in:
parent
8169feb1f6
commit
3a1a3996e9
7 changed files with 145 additions and 349 deletions
|
|
@ -447,7 +447,7 @@ impl<'s> TreeParser<'s> {
|
|||
.tree
|
||||
.enter(Node::Container(TableRow { head: false }), row.with_len(1));
|
||||
let rem = row.skip(1); // |
|
||||
let lex = lex::Lexer::new(rem.of(self.src).chars());
|
||||
let lex = lex::Lexer::new(rem.of(self.src));
|
||||
let mut pos = rem.start();
|
||||
let mut cell_start = pos;
|
||||
let mut separator_row = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue