Skip to content

Commit

Permalink
TODO for whitespace handling
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-bourne committed Dec 1, 2023
1 parent 88f24f7 commit b3fd54c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/rust-book/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,8 @@ fn write_body(
) -> Result<()> {
let mut whitespace = String::new();
let mut in_code_block = false;
// TODO: Handle whitespace properly. Render to string, split into lines and
// remove prefix.

for node in stmts {
match &node {
Expand Down

0 comments on commit b3fd54c

Please sign in to comment.