diff options
author | Titus Wormer <tituswormer@gmail.com> | 2022-07-01 11:17:13 +0200 |
---|---|---|
committer | Titus Wormer <tituswormer@gmail.com> | 2022-07-01 11:17:13 +0200 |
commit | 09fd0321daae69d52532b4bef762a202efe9a12e (patch) | |
tree | 7fb7c25b1f6e39040b0026e64b6acd0f3e2b1e18 | |
parent | 1b550fcd5123ff41efdb96be1f6e0dfe34f76de7 (diff) | |
download | markdown-rs-09fd0321daae69d52532b4bef762a202efe9a12e.tar.gz markdown-rs-09fd0321daae69d52532b4bef762a202efe9a12e.tar.bz2 markdown-rs-09fd0321daae69d52532b4bef762a202efe9a12e.zip |
Update todos
-rw-r--r-- | readme.md | 11 | ||||
-rw-r--r-- | src/compiler.rs | 1 |
2 files changed, 6 insertions, 6 deletions
@@ -46,9 +46,9 @@ cargo doc --document-private-items ### Some major obstacles -- [ ] (8) Can paragraphs (and to a lesser extent string data and text data) - operate more performantly than checking whether other flow constructs - start a line, before exiting and actually attempting flow constructs? +- [ ] (8) Can paragraphs operate more performantly than checking whether other + flow constructs start a line, before exiting and actually attempting flow + constructs? - [ ] (3) Interrupting: sometimes flow can or cannot start depending on the previous construct (paragraph, definition) - [ ] (5) Containers: this will be rather messy, and depends a lot on how @@ -59,8 +59,8 @@ cargo doc --document-private-items need to be indented - [ ] (5) There’s a lot of rust-related choosing whether to pass (mutable) references or whatever around that should be refactored -- [ ] (5) Figure out extensions - [ ] (1) Support turning off constructs +- [ ] (5) Figure out extensions ### Constructs @@ -128,8 +128,7 @@ cargo doc --document-private-items #### Refactor -- [ ] (1) Use `link_to` in more places? It’s probably better -- [ ] (1) Use `edit_map` in `subtokenize` +- [ ] (1) Use `edit_map` in `subtokenize` (needs to support links in edits) #### Parse diff --git a/src/compiler.rs b/src/compiler.rs index acba76a..1f16648 100644 --- a/src/compiler.rs +++ b/src/compiler.rs @@ -226,6 +226,7 @@ type Handle = fn(&mut CompileContext); type Map = HashMap<TokenType, Handle>; /// Context used to compile markdown. +#[allow(clippy::struct_excessive_bools)] struct CompileContext<'a> { /// Static info. pub events: &'a [Event], |